Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


Tutorial info Visit support topic

  • Added on: Jan 08 2009 06:32 PM
  • Views: 4053
 


Dropdown Submenu Links

Posted by Michael on Jan 08 2009 06:32 PM
This simple tutorial will show you how to clean it up with IPB dropdown menu. Open your Admin CP / Look & Feel Tab / Select your skin / Edit Template HTML / All Global HTML / global_board_header

Find:
<!-- / End board header -->

Add Above:
<script type="text/javascript">
	 //<![CDATA[
   menu_build_menu(
   "subnav",
   new Array(
   img_item + " <a href='{$this->ipsclass->base_url}act=link'>Link</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=link'>Link</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=link'>Link</a>"
   ) );
	 //]]>
   </script>

Find:
<div class='ipb-top-right-link'><a href="{$this->ipsclass->base_url}act=Help">{$this->ipsclass->lang['tb_help']}</a></div>

Add Above:
<span id="subnav"><div class='ipb-top-right-link'><a href="#subnav">Links Name</a></div></span>

To finish up Save Template Bit

The most important thing with this tutorial is that it matches each bit of code.

* span id="subnav"
* href="#subnav"
* menu_build_menu("subnav",

Make sure they all match as subnav, or what ever you have chosen.

Powered by Tutorials 1.4.1 © 2012, by Michael McCune