Reputation: 3
I'm having an issue with JQuery and it's slideUp and SlideDown functions. Basically, i have two navigation bars that slide out and in depending on which button the user clicks. However as a result of this the functions are knocking the content down a pixel or two (depending on which browser you are using although it's normally 1px down).
You can see a working example of the issue here: http://www.brianwritescode.com/index.php/blog/
Upvotes: 0
Views: 122
Reputation: 5563
I see the problem.
What you want to do is take these 2 nav elements out of the flow of the document so that they have no bearing on the content below. You could wrap these 2 navs inside a div and set that div to position absolute.
Upvotes: 1