Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 3. JavaScript for Navigation > Project I: JavaScript and Pull-Down Menu...

Project I: JavaScript and Pull-Down Menus

The first thing we need to do to the homepage is insert the HTML code that will give us our pull-down menu and Go button. Here is the code that we will be using:

<SELECT NAME="PullDown">
     <OPTION VALUE="default">Get There Quick
     <OPTION VALUE="whatsnew.html">What's New
     <OPTION VALUE="products/featured.html">Feature Product
     <OPTION VALUE="news/press.html">Press Releases
     <OPTION VALUE="store/index.html">Company Store
</SELECT>

<INPUT TYPE="Button" NAME="Go" VALUE="Go">


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial