Page 1 of 1

tabber

Posted: Wed Feb 13, 2008 1:37 pm
by jenny
every time I add Tabber to a site upgrade I get a script error at line 71: Object expected

<BODY onload="setallpanes(); <actinic:variable value="PreloadImages" name="OnLoadScript" />" marginwidth="5" marginheight="5" >

If I remove setallpanes() the error vanishes.

test site at http://www.hwd-qa.co.uk/acatalog/index.html

any ideas?
thanks
Jenny

Re: tabber

Posted: Wed Feb 13, 2008 7:32 pm
by norman
Make sure that the other bit of code that tabber requires is just above the </head> tag in your Overalll Layout. Make sure you've not erronously put it above the <head> tag at the top of your Layout.

Also make sure the files tabbeddescriptions.js is in your Site folder.

Relevant bit from Readme below:

Code: Select all

Select a product section in the Content Tree and then go to Design mode and open your Overall Layout.
Look for the line starting

</head>

Above that line insert the following:

<script language="JavaScript1.3" type="text/javascript" src="tabbeddescriptions.js"></script>
<link rel="stylesheet" type="text/css" href="<actinic:variable name="TabberStyle" />" />

Re: tabber

Posted: Wed Feb 13, 2008 10:40 pm
by jenny
Also make sure the files tabbeddescriptions.js is in your Site folder.
the file hadn't been added correctly.
all happy now!
Thanks

Jenny