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
views:
32answers:
1
+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
2010-06-01 11:33:44
I have linked the JS file. But I don't see the dropdowns working on hover
shivanand reddy
2010-06-01 11:53:51
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
2010-06-01 12:23:05
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
2010-06-01 12:52:47
Ahhh! I didn't realize this! Good to know!
EdgarVerona
2010-06-02 15:11:58