lmritech
10-28-2008, 09:47 PM
Script: Switch Content Script
http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
When I use the switch content script on a web page I am working on (), the second section continues to be expanded even after deleting cookies, restarting the browser, and the problem also persists on different computers.
However, when I take the "instance.setPersist(true)" line out of my code, the problem stops. But I would like to keep the persist setting to true. This problem does not recur on any other pages where I use the script in the same way. Does anyone have any hints as to what might be going on?
Any and all help is very much appreciated.
Thanks.
Edit: I have also noticed that this problem does not occur when the url is typed directly into the address bar. e.g., the problem on my site only happens when going to http://www.lmri.ucsb.edu/events, clicking on "UC LMRI Annual Conference," and then clicking on "May 1-2, 2009 Conference."
http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
When I use the switch content script on a web page I am working on (), the second section continues to be expanded even after deleting cookies, restarting the browser, and the problem also persists on different computers.
However, when I take the "instance.setPersist(true)" line out of my code, the problem stops. But I would like to keep the persist setting to true. This problem does not recur on any other pages where I use the script in the same way. Does anyone have any hints as to what might be going on?
Any and all help is very much appreciated.
Thanks.
Edit: I have also noticed that this problem does not occur when the url is typed directly into the address bar. e.g., the problem on my site only happens when going to http://www.lmri.ucsb.edu/events, clicking on "UC LMRI Annual Conference," and then clicking on "May 1-2, 2009 Conference."