Drop Down Menu.. - NBS






 

 

Drop Down Menu.. - NBS

View Full Version : Drop Down Menu..


nightfox_pc_asst
04-Oct-2004, 01:11 AM
If you do this correctly, you can have a drop down box located anywhere on your site...

For me I want it next to the skin drop down box, so here is how I do that:


1) Goto ACP Panel
2) Skin and Templates
3) Skin Manager
4) Choose the Edit Root Template HTML
5) Choose the Global Skin Chooser Template Bit

Now that your there, copy and paste this code above the code already there.

<script LANGUAGE="JavaScript">
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>

<left>
<form name="form">
<select name="site" size=1 onChange="javascript:formHandler()">
<option value="">Visit My...

<!-- Option 1 -- To have the pull down menu go to your own pages, change the URL within the quotation marks and the link name. -->
<!-- Option 2 -- You may remove or add entire lines to increase or decrease the number of links. -->
<option value="www.nightfoxpcforums.net">PC Galleries
<option value="http://geocities.yahoo.com/hpc_2003/index.htm/">PC Site #2

</select>
</form>
</left>
-------------------------------------------------------------
In the first underlined section place the html link to the site you want visitors to goto and second one, choose a name for them to see.

In the bold text, choose where to place it, center, right or left, it's up to you.

Enjoy!

Nightfox PC Asst