Thursday, December 30, 2010

Slimbox hiding animation/flash and not unhiding it

I am actually using Clientcide libraries lightbox (mootools vers 1.2), which is slimbox made into a class, but should all be the same.

Slimbox is suppose to auto hide flash and animation, but show it once you close the lightbox. Unfortunately it didn't work, and flash was hidden forever unless you refreshed the page.

Here is how I fixed the issue.

Search for
var vis = (open ? 'hidden' : el.retrieve('lbBackupStyle') || 'visible');


and just remove el.retrieve('lbBackupStyle') ||
var vis = (open ? 'hidden' : 'visible');

No comments:

Post a Comment