tags:

views:

32

answers:

1

I am trying to add css dropdowns to the navigation menu. But it is not working. I would like to know what is causing the problem. Your help is highly appreciated. Here is the link:
Drop downs to navigation bar

+1  A: 

The error that I get is that ddlevelsmenu is not defined... is there some sort of initialization you have to do for the library you're using?

EDIT: Ahhh, there's the problem. I looked up this library: you need to be including ddlevelsfiles/ddlevelsmenu.js, but you are not. Include that, and re-read

http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/index.htm

to make sure you got everything in there you need, then you should be set!

Ahh! You never closed the tag. Change to and I bet you it will work. Those little typos can be the nastiest =

EdgarVerona
I have linked the JS file. But I don't see the dropdowns working on hover
shivanand reddy
Ahh! You never closed the tag. Change<script type="text/javascript" src="css/ddlevelsmenu.js">to<script type="text/javascript" src="css/ddlevelsmenu.js" />and I bet you it will work. Those little typos can be the nastiest =(
EdgarVerona
Indeed. And Edgar, it's better to edit your answer, the OP will be notified of this. Now you're using a comment without @shivanand, which doesn't notify him (her?).
Marcel Korpel
Ahhh! I didn't realize this! Good to know!
EdgarVerona