Advertisement
ASP_Volume3 Menus #49961

A Simple Pull-down Menu

You can make it easier on your visitors to find their way around your site. I highly suggest using the extremely popular and extremely useful menu list. It seems every good site has one.... So, put one on your site!

AI

KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Quellcode
original-source
<HTML>
<HEAD>
<TITLE>Simple Menu</TITLE>
<META NAME="description" CONTENT="You can make it easier on your visitors to find their way around your site with the menu list. It seems every good site has one.... So, put one on your site! If you use this script, please leave a link to our site in the pulldown menu!">
<SCRIPT LANGUAGE="JavaScript">
<!--Alex Tu boudha1@hotmail.com -->
<!-- Web Site: http://www.geocities.com/MadisonAvenue/4368 -->
<!-- This script and many more are available online from -->
<!-- The JavaScript Source!! http://javascriptsource.com -->
<!-- Begin
function formHandler(){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
// End -->
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR=aqua>
<FONT FACE=ARIAL COLOR=navy>
<CENTER><H1>Simple Menu</H1></CENTER>
<p>
<!--Intro text-->
(From <A HREF="http://www.javascriptsource.com">The JavaScript Source</A>)<P>
You can make it easier on your visitors to find their way around your site. I highly suggest using the extremely popular and extremely useful menu list. It seems every good site has one.... So, put one on your site! If you use this script, please leave a link to the JavaScript Source in the pulldown menu!
</FONT>
<HR><P>
<!--script-->
<!-- Demonstration --><CENTER>
<FORM name = "form">
<SELECT NAME="site" SIZE=1 onChange ="formHandler()">
<OPTION VALUE="">Go to....
<OPTION VALUE="http://www.yahoo.com">Yahoo
<OPTION VALUE="http://www.altavista.digital.com">Altavista
<OPTION VALUE="http://www.hotbot.com">HotBot
<OPTION VALUE="http://www.lycos.com">Lycos
<OPTION VALUE="http://www.javascriptsource.com">The JavaScript Source
</SELECT></FORM>
</CENTER>
<HR>
<CENTER>
<FONT FACE=ARIAL COLOR=navy SIZE=4>
<A HREF="home.htm">Return to JavaScript Page</A>
<H5>John Oyston, (oyston@oyston.com), July 1998</H5></FONT></CENTER>
<P>
<P>
<BR>
<P></center></body></html>
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine