Help - Search - Members - Calendar
Full Version: Dropdown box with text
HTMLHelp Forums > Programming > Client-side Scripting
deep
Hi,
Please Visit,
http://timesofindia.indiatimes.com/ and press the classifieds button. You can see popdown box.
i want to create the same effect in my page menu. i think it is possible in java. can anybody please help me?

Thanks

Deep smile.gif
Frederiek
I suppose you mean JavaScript. Java is a completely different thing.
Dropdown menu's can be done with CSS or JavaScript.

See for CSS ones:
http://www.cssplay.co.uk/menus/dd_valid.html
http://meyerweb.com/eric/css/edge/menus/demo.html

or for JavaScript ones:
http://www.stunicholls.com/menu/simple.html
deep
Yeah iam mistaken, its java script. But i want a jscript inserted in my page directly, so that it wont change the link color it should be something like this

<script type="javascript">
...........................
services</script>.

the script should not change the link color it should look like the others, just the drop down should work.

Have u visited the page http://timesofindia.indiatimes.com/

Deep,
pandy
Yes, I have. Have you visted the sites Frederiek links to? They have examples. smile.gif

I may add this one. You do need a little JS to make a dropdown work in IE (prior to 7?).
http://htmldog.com/articles/suckerfish/dropdowns/
deep
Ok,
it worked for me, Thank you pandy and frederiek.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.