PDA

View Full Version : DD Tab Menu - ERROR problem



gabbagabba
07-02-2008, 04:13 PM
1) Script Title: DD Tab Menu (5 styles)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm

3) Describe problem:
Error: ddtabmenu is not defined
Source File: http://www.pcc-sf.com/solutions.html
Line: 37

Hello, any help with this would be awesome. It appears to me that I have in fact defined the menu, but i continually get this error message in Firefox anda well as IE. The menu does seem to function correctly, but I must get rid of the error.

It occurs on all pages:
http://www.pcc-sf.com/solutions.html

thanks,
GG

techietim
07-02-2008, 04:18 PM
This:


<script type="text/javascript">
ddtabmenu.definemenu("ddtabs4", 2) //initialize Tab Menu #4 with 3rd tab selected
</script>

<script type="text/javascript" src="ddtabmenufiles/ddtabmenu.js">

/***********************************************
* DD Tab Menu script- 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>


Should be:


<script type="text/javascript" src="ddtabmenufiles/ddtabmenu.js">

/***********************************************
* DD Tab Menu script- 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>

<script type="text/javascript">
ddtabmenu.definemenu("ddtabs4", 2) //initialize Tab Menu #4 with 3rd tab selected
</script>

gabbagabba
07-02-2008, 04:38 PM
THANK YOU THANK YOU - totally worked
Apparently sometimes I miss the obvious!

Cheers,
GG