This is a discussion on "Having problems with a drop down menu" within the JavaScript Forum section. This forum, and the thread "Having problems with a drop down menu are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Having problems with a drop down menu
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Having problems with a drop down menu
Hi.. new here and I'm wondering if anyone can help me.....I'm building a website in my web design class at college and have come accross a problem with a javascript code I tried to create for my menu.
This is the script in my header:
Can anyone help me? |
|
|
|
||||
|
Re: Having problems with a drop down menu
Does the JS need to be done by you? Is this for a JS class?
If not, have a look at Sons of Suckerfish for the code |
|
|||
|
Re: Having problems with a drop down menu
Well, our lecturer seems quite open about us 'borrowing' code like JS... but one of the deliverables for the project is the code of our site with comments in it. I can't really add comments if I don't understand the code >.<
|
|
||||
|
Re: Having problems with a drop down menu
There's nothing wrong with that code
It works fine for me in FF and IE... Can you post your complete page? Perhaps there is an error in its setup.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
|||
|
Re: Having problems with a drop down menu
Gah... I tried incorporating the code from suckerfish in my page but it didn't work....now I can't get my original code to work how it was before. Heres my whole page...theres no content in it yet.. just trying to get the template right and not getting very far
Thanks for your help |
|
||||
|
Re: Having problems with a drop down menu
This all works for me... It is doing as you intend it to.
What is the error that you are getting in IE and do you get any errors in Firefox?
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
|||
|
Re: Having problems with a drop down menu
I haven't tried Firefox yet, since I'm not on my own computer but IE gets an error and now the tables don't show up at all.
Could it be the css or images messing it up? I have had a little difficulty with the positioning of my layout....maybe that is the cause? |
|
||||
|
Re: Having problems with a drop down menu
You have a whole extra </div> closing tag.
Remove the last one as it may be causing errors when IE is trying to access the DOM with javascript. Your CSS shouldn't be causing any errors with the javascript unless it is completely wrong.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Positioning problems with horizontal drop down menu | dreamabstract | Web Page Design | 2 | Jun 16th, 2008 12:09 |
| Drop down menu alignment problems. Div wont vertically align. | Itsumishi | Web Page Design | 7 | Mar 4th, 2008 04:57 |
| I have a normal css menu, but want ot add drop down menu to it | multichild | Web Page Design | 7 | Jan 9th, 2007 16:07 |
| Drop down menu problems | matelo | JavaScript Forum | 0 | Jan 16th, 2006 16:48 |
| help with drop menu | makemesick | JavaScript Forum | 8 | Apr 25th, 2005 21:19 |