Adjusting position of jQuery Facebox before triggering -
i wish adjust height of dialog box.
i way, there weird abrupt shift, esp if pc slow.
$.facebox($("#step1facebox").html()); $("#facebox").css("top","175px");
is there way of doing such position pre-adjusted before showing up?
you set default css style #facebox
#facebox { display:none; }
then fade in box...
$.facebox($("#step1facebox").html()); $("#facebox").css("top","175px").fadein();
or, try - depends whether facebox returns in constructor:
$.facebox($("#step1facebox").html()).hide(); $("#facebox").css("top","175px").fadein();
Comments
Post a Comment