Tabber fails if prototype.js or Lightbox installed

Tabbed Product and Fragment Descriptions.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Tabber fails if prototype.js or Lightbox installed

Post by norman »

If you are using the prototype.js library (which is a part of my Lightbox add-on) then Tabber may fail with JavaScript errors. This will happen if Tabber is version 2.05 or below (look in the Tabber Zipfile name or the ReadMe for the version number).

The fix is as follows:

Edit tabbeddescriptions.js (in your Site folder).

Look for the line (about line 24)

Code: Select all

        pane.style.display = "none"
change it to

Code: Select all

        if ( pane.style && pane.style.display ) pane.style.display = "none";
Save the file.

Tabber should now work OK.
Post Reply