jQuery slideToggle jumps around -


i'm using jquery slidetoggle function on site reveal 'more information' something. when trigger slide, content gradually revealed, located right 100 pixels until end of animation when jumps correct position. going other way, content jumps right same amount before starts 'hide' animation, gradually hidden.

occurs on ie7/8, ff, chrome.

any ideas on how fix this?

thanks in advance.

i have found workaround, i'm still not sure of details. seemed when 'overflow: hidden' style added jquery, effect nearby floated element had changed. workaround place permanent 'overflow: hidden' on slidetoggle'd div, , negative margin-left counterbalance effect.

i surprised changing overflow value has such effect on layout, there have it...


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -