Jump to content

Script Pentru Creare Meniu Drop-Down?


Recommended Posts

Posted

 <if test="$this->settings['navDropdown']=='yes'">
                    <li class='left'><a href="#" class='ipbmenu' id='primary_extra'>Extra links <img src='{$this->settings['img_url']}/useropts_arrow.png' /></a></li>
                    </if>
                    <if test="$this->settings['defaultMoreDropdown']=='yes'">
                    <li id='nav_other_apps' style='display: none'>
                        <a href='#' class='ipbmenu' id='more_apps'>{$this->lang->words['more_apps']} <img src='{$this->settings['img_url']}/useropts_arrow.png' /></a>
                    </li>
                    </if>
                </ul>
                <if test="$this->settings['defaultMoreDropdown']=='yes'">
			<script type='text/javascript'>
				if( $('primary_nav') ){ ipb.global.activateMainMenu(); }
			</script>
                </if>
			</div>
            
			<if test="$this->settings['navDropdown']=='yes'">
			<ul id='primary_extra_menucontent' class='ipbmenu_content' style='display: none'>
				<li><a href='#'>Extra Link</a></li>
				<li><a href='#'>Extra Link</a></li>
				<li><a href='#'>Extra Link</a></li>
			</ul>
			<script type='text/javascript'>
				new ipb.Menu($('primary_extra'),$('primary_extra_menucontent'));
			</script>
			</if>
            </div>
            </div>
			
            <div class='wrapper'>
            

 

Acesta cred ca este codul corect :)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.