test
test

Reputation: 2466

jQuery animate once when page load and show animated destination on rest of pages

http://jsfiddle.net/zTTxu/

How can I animate once when page1 load example: animate 'a' to 'b' destination and save 'b' destination and when goes to next page2 animation will not going to start again it should show the animated 'b' destination? Please show me some sample on fiddle thx.

Upvotes: 0

Views: 158

Answers (1)

Dylan
Dylan

Reputation: 505

I think the simplest way would be to load new css on page 2, 3 etc. (the final css properties of the previous page) and create a new click event for each page.

Upvotes: 1

Related Questions