Jump to content
xisto Community
Sign in to follow this  
holyium

need help with drop down menus!!

Recommended Posts

Do you want a drop down menue that is just a drop down menu, or do you want to click te options to go to different pages or sites? If you want to be able to click them, Ill give you the code how, it's got css style with it, lol. Put the following code insite the <head></head> tags...


<script language="JavaScript">[/br]<!--[br]function MM_jumpMenu(targ,selObj,restore){ //v3.0[/br]  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");[br]  if (restore) selObj.selectedIndex=0;[/br]}[br]//-->[/br]</script>

Next, just put this code where ever you want your menu to appear...


[/br]<select name=select id="select" style="BACKGROUND-COLOR: #000000; COLOR: #FFFFFF; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10px" onChange="MM_jumpMenu('parent',this,0)">[br]        <option value="home.html">HOME</option>[/br]        <option value="links.html">LINKS</option>[br]        <option value="#"></option>[/br]        <option value="#">--OTHER SITES--</option>[br]        <option value="http://forums.xisto.com/ Web Hosting</option>[/br]</select>

If you are going to link to other sites, you have to put in ther 'http//' That is where alot of people go wrong, so on the site, the link will go to 'yoursite.com/www.linkedsite.com' instead of 'linkedsite.com/ I hope this helps you...


Share this post


Link to post
Share on other sites

ohhh,indeed u said is drop menu.i used it in my homepage too.what above list were almost html code and you must add them by <sytle> like css.if you wanna be easy to carry out,you can use the best webpage designing software Dreamweaver mx.in details,you select the behavour from the tool menu.then u will find the fuction offer drop menu,very easily!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.