Javascript/fancybox Error?
On my page I have 6 boxes below a main image that uses JS to have a nice fade in effect. On this page I also have Fancybox Load at the start of the page (using onload) to show an i
Solution 1:
If you want fancybox to run first, use the fancybox onComplete callback:
$j(document).ready(function(){
$j('#start').fancybox({
'onComplete': function () {
Engine.Initialize();
}
});
});
otherwise, put the fancybox code in after calling your custom init function:
$j(document).ready(function(){
Engine.Initialize();
$j("#start").fancybox({
'padding' : 0
});
});
Post a Comment for "Javascript/fancybox Error?"