Print Page | Close Window

Javascript Error - Any help appreciated!

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=12855
Printed Date: 28 March 2026 at 6:02am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Javascript Error - Any help appreciated!
Posted By: kasl_33
Subject: Javascript Error - Any help appreciated!
Date Posted: 06 December 2004 at 2:31pm
I'm trying to impliment a dropdown navigation menu for those
who visit my site and can't make use of my Flash banner navigation
menu.  I'm not sure if I've lost my mind or what, but the thing just
will not work.  IE gives me an error about document.navForm.navLinks
is null or not an object.  If anyone sees the problem, I would much
appreciate the input.  Code snipped pasted below, and thanks again...

<td> 
       <form style="paddingleft: 40px; margin: 0px; name=navForm">
       
             <div align="left">
                <select name="navLinks">
                <option value="http://carpet-sharks.kaslwebs.com/index.html" selected="selected">Quick Navigation</option>
                <option>--------------------</option>
                  <option value="http://carpet-sharks.kaslwebs.com/html/OurFerrets.html">Our Fuzzies</option>
                <option>--------------------</option>
                <option value="http://carpet-sharks.kaslwebs.com/html/FerretInfo.html">Fuzzy Info</option>
                <option>--------------------</option>
                <option value="/http://carpet-sharks.kaslwebs.com/html/FerretTest.html">Fuzzy Test</option>
                <option>--------------------</option>
                  <option value="http://carpet-sharks.kaslwebs.com/html/Links.html">Links</option>
                <option>--------------------</option>
                <option value="http://carpet-sharks.kaslwebs.com/html/Shelters.html">Shelters</option>
                                               </select>                
                <input type="button" name="Submit" value=
"Go"
                
style=
"border: 1px solid #666, background-color: #fff;"
                
onClick="window.location=document.navForm.navLinks.options[document.navForm.navLinks.selectedIndex].value" />
          <!-- InstanceBeginEditable name="Title Bar" -->Carpet Sharks-- The Ferrets First Site! <!-- InstanceEndEditable --></div>
       </form>

        </td>


-------------
http://www.kasl.info - www.kasl.info

The PHP/MySql Web Development site



Replies:
Posted By: dj air
Date Posted: 13 December 2004 at 6:12pm
isn't the first line ment to be

 <form style="paddingleft: 40px; margin: 0px;" name=navForm>





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net