Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Javascript Error - Any help appreciated!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedJavascript Error - Any help appreciated!

 Post Reply Post Reply
Author
kasl_33 View Drop Down
Groupie
Groupie
Avatar

Joined: 15 June 2003
Location: United States
Status: Offline
Points: 86
Direct Link To This Post Topic: Javascript Error - Any help appreciated!
    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>


Edited by kasl_33 - 06 December 2004 at 2:41pm
www.kasl.info

The PHP/MySql Web Development site
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Direct Link To This Post Posted: 13 December 2004 at 6:12pm
isn't the first line ment to be

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




Edited by dj air - 13 December 2004 at 6:12pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.