PDA

View Full Version : tabdropdown is undefined



kapoth45
09-16-2009, 06:19 PM
Script URL: http://www.dynamicdrive.com/dynamicindex1/dropdowntabsdemo.htm (Example 2)

I'm trying to implement the bluemenu drop down menu, using Dreamweaver and I keep getting the "tabdropdown is undefined error" in both Firefox and IE7.

I added Dynamic Drive's CSS code to the site's existing style sheet, but I don't know why that would be the problem. The CSS and XHTML doc both validated.

Here's a link: http://test.adarchitects.com/Pages/Global%20Nav%20Test.htm

I'm new to this, so any help would be hugely appreciated! Thanks in advance.

ddadmin
09-16-2009, 08:59 PM
The reference to the .js file of the menu is broken on your page:


<script type="text/javascript" language="javascript" src="JS Files/dropdowntabs2.js">

/***********************************************
* Drop Down Tabs Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

kapoth45
09-16-2009, 09:19 PM
Thanks - I fixed the broken reference (I think), but nothing drops down and I still get the error. Anything else it might be?

kapoth45
09-16-2009, 09:40 PM
I figured it out - I needed to modify/clarify the path for the .js file further. Thanks for your help!