Reply to pull down menus

Your name:

Reply:


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&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</option>
<option value="&nbsp;">
&nbsp;
<option value="index.html">
Home &nbsp; &nbsp; &nbsp; &nbsp;
<option value="about.html">
About Us &nbsp; &nbsp; &nbsp; &nbsp;
<option value="designed_sites.html">
Client Websites &nbsp; &nbsp; &nbsp; &nbsp;
<option value="banners.html">
Banners &nbsp; &nbsp; &nbsp; &nbsp;
<option value="logo.html">
Logos &nbsp; &nbsp; &nbsp; &nbsp;
<option value="secure_pricing.html">
Contact Us &nbsp; &nbsp; &nbsp; &nbsp;
<option value="web_links.html">
Web Links &nbsp; &nbsp; &nbsp; &nbsp;
<option value="credits.html">
Credits &nbsp; &nbsp; &nbsp;
<option value="faq.html">
Frequently Asked Questions&nbsp; &nbsp; &nbsp; &nbsp;
</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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация