Jump to content

Adding a Drop Down Menu to Navbar


xMasTeR

Recommended Posts

In global template find :


<li id='nav_app_{$data['app_dir']}' class="left {parse variable="appActive"}"><a href='{parse url="app={$data['app_dir']}" seotitle="false" base="public"}' title='{$this->lang->words['go_to_prefix']}{IPSLib::getAppTitle( $data['app_dir'] )}'>{IPSLib::getAppTitle( $data['app_dir'] )}</a></li>

                                                                </if>

                                                        </foreach>

                                                </if>

                                        </ul>

                                </div>

Add below :


<div align="center">

<head>

  <title>Main Menu</title>

</head>

<body>

<form ACTION=URI>

<select style="font-size:12px;color:#ffffff;font-family:verdana;background-color:#032468;" name=scroll onchange="location.href=(form.scroll.options[form.scroll.selectedIndex].value)">

<option value=''>Main Menu</option>

<option value="http://www.yoursite.com/index.php?/index">Forums</option>

<option value="http://www.yoursite.com/index.php?app=members&section=view&module=list">Members</option>

<option value="http://www.yoursite.com/index.php?/calendar/">Calendar</option>

<option value="http://www.yoursite.com/index.php?app=client">Client Downloads</option>

<option value="http://www.yoursite.com/index.php?/tutorials/">Tutorials</option>

<option value="http://www.yoursite.com/index.php?app=shop">Products</option>

<option value="http://www.yoursite.com/index.php?app=commerce">Skin Shop</option>

</select>

</form>

</body>

</html>

</div>



You can add in the color,font,background etc to suit your own needs and edit the menu to yours too :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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