tabber

Tabbed Product and Fragment Descriptions.
Post Reply
jenny
Posts: 19
Joined: Wed Feb 13, 2008 11:59 am

tabber

Post 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
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: tabber

Post 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" />" />
Norman
jenny
Posts: 19
Joined: Wed Feb 13, 2008 11:59 am

Re: tabber

Post 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
Post Reply