jquery slider breaks on page refrsh
Posted
by Nik
on Stack Overflow
See other posts from Stack Overflow
or by Nik
Published on 2010-04-24T19:18:17Z
Indexed on
2010/04/24
19:23 UTC
Read the original article
Hit count: 414
jQuery
|browser-refresh
I have a jquery content slider on a site I'm developing. I am having a strange problem that seems to be across all browsers and that is the slider slides the wrong distance if the page is refreshed via the refresh button.
To re-create the problem please follow these steps -
click this link http://www.aus-media.com/dev/site_BYS/index.html
then click on the 'About Bikram Yoga' menu item at the bottom. Click on the 'more' and 'back' tabs on this page and you will notice it works fine. Then refresh the page by clicking the refresh button and try the more and back buttons again. I'm a bit of a javascript newby so I'm lost to why it's doing this. Any help would be great.
Thanks Nik
© Stack Overflow or respective owner