jQuery/CSS related problem
Posted
by MrAwesome
on Stack Overflow
See other posts from Stack Overflow
or by MrAwesome
Published on 2010-06-12T08:23:41Z
Indexed on
2010/06/12
8:32 UTC
Read the original article
Hit count: 158
Hi
I am new to jQuery, and this is the page I'm currently developing.
http://90.230.237.71/gandhi.html (Hope that works now :P)
When I hit "Show/hide gallery" all the images are first opened vertically, and later they are corrected to their horizontal placement, that's the problem. They should be horizontal right away! I don't know if this is due to jQuerys slideDown or entirely CSS-related, but the code is all there for you.
Initally, the images are set to display: none, perhaps they then are invisibly stored vertically. Then slideDown is performed and last, the CSS-attributes are changed to "display: inline". Perhaps I need to change execution order of slideDown and setting the CSS-attributes... but how?
I NEED HELP... for many reasons, but I only want you to help me with this one ;)
And also, please actually look at the code before making any assumptions. It's all there in the code.
© Stack Overflow or respective owner