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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -