Posted by gleekzorp on 12/09/95 11:26
Hi Group...
I'm using this /old/ method of pulldown menus,
is there another (better) way of doing it? Something
that looks better.
<script language="JavaScript">
function fetch(){
var newtemp;
var tempurl;
var x=document.gotoForm.gotoMenu.selectedIndex;
newtemp=document.gotoForm.gotoMenu.options[x].value;
if (newtemp != null) {
location=newtemp;
}
document.gotoForm.gotoMenu.selectedIndex=0;
}
</script>
<form method="post" action="" name="gotoForm">
<select name="gotoMenu" onChange="fetch()">
<option selected>
Site Index
</option>
<option value=" ">
<option value="index.html">
Home
<option value="about.html">
About Us
<option value="designed_sites.html">
Client Websites
<option value="banners.html">
Banners
<option value="logo.html">
Logos
<option value="secure_pricing.html">
Contact Us
<option value="web_links.html">
Web Links
<option value="credits.html">
Credits
<option value="faq.html">
Frequently Asked Questions
</select>
</form>
---------------------
Another programer suggested...
quote:
> I can tell you what you should look for. If it's for a site
> wide navbar type of thing look for something that uses a
> list of ~<= 7 main category links. Sub links to the main
> categories should be listed on the main category pages,
> again using an unordered list with links.
> This provides you with a good quality basic site navigation
> that unlike some other solutions doesn't place a large
> number of navigation links on each page. It will work for
> those who don't use javascript, this includes SE bots.
> Then you can use javascript to dynamically add the sub links
> to the main category nav links, for example in the form of
> drop down menus.
-----------------------------------
Gufus
mailto:info@gypsy-designs.com
http://www.gypsy-designs.com
.... Nature sides with the hidden flaw.
--- Squish/386 v1.11
* Origin: Gypsy BBS -- Gypsy Designs CDN (403) 242-3221 (1:134/2)
[Back to original message]
|