Reputation: 36937
I don't mind this effect or fluke happening per say, however if it is to happen I'd like to it to not go to far off the page before it bounces back in a manor of speaking. Go to http://originalglbtexpo.com/asites/cholerose/ to see what I mean. Hit any link, watch the first thing fade away then the block that replaces it after starts off on the left and goes to far right then snaps back to its spot.
Dunno exactly how to fix this per say so I'm looking for idea's
Upvotes: 0
Views: 131
Reputation: 5227
show()
animates width and height from zero to their natural values, which may be messing with your margins. You can avoid this 'snapping' behavior by locking the width of the element in place with an !important
declaration behind your width: 730px
rule for #content_wrap
.
Upvotes: 2
Reputation: 12227
$().show
eases in exactly this manner. See the demo on the jQuery API.
Upvotes: 0