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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -