vmehta
01-04-2010, 07:16 PM
1) Script Title: DD Tab Menu (5 styles)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm
3) Describe problem: I have tried to implement this on my website, but I get an error in the .js script file, and as a result, I get a message "ddtabmenu not defined". The page I am working with is
http://store.indianfoodsco.com/grocery/ProdDesc2.cfm?ItemId=AJID020
From my (very) limited Javascript skills, using the debugger (and in ColdFusion Studio, I see the line
[CODE]currentpageurl: window.location.href.replace("http://"+window.location.hostname, "").replace(/^\//, ""), //get current page url (minus hostname, ie: http://www.dynamicdrive.com/)[CODE]
become green (signifying a comment) after the "//" in [ICODE].replace(/^\//,[ICODE]. I do not know if this is what is causing the problem....
Please help!
Vinay Mehta.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm
3) Describe problem: I have tried to implement this on my website, but I get an error in the .js script file, and as a result, I get a message "ddtabmenu not defined". The page I am working with is
http://store.indianfoodsco.com/grocery/ProdDesc2.cfm?ItemId=AJID020
From my (very) limited Javascript skills, using the debugger (and in ColdFusion Studio, I see the line
[CODE]currentpageurl: window.location.href.replace("http://"+window.location.hostname, "").replace(/^\//, ""), //get current page url (minus hostname, ie: http://www.dynamicdrive.com/)[CODE]
become green (signifying a comment) after the "//" in [ICODE].replace(/^\//,[ICODE]. I do not know if this is what is causing the problem....
Please help!
Vinay Mehta.