aragonne
01-11-2010, 10:49 AM
1) Script Title: Step Carousel Viewer v1.8
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
This script works great but when using the persist:true option, IE does seem to be able to read the cookies correctly (the script works as expected in FF, Safari, and Chrome).
Working example at: http://stage.labtestsonline.org/
(The page currently pops up an alert box indicating the cookie values for debugging)
The carousel is being used to slide in the flags near the top of the page.
Steps to reproduce the problem on IE:
1. click on one of the red arrows on either side of the flags so that either the Australian (AU) flag is on the far left or the United Kingdom (UK) is on the far right.
2. click on any other links in the page. The state of the previous flag position does not persist. For example, if in step 1 above, you click the arrow so that UK is on the far right, then click on a link, the behavior is supposed to be so that the next page also displays UK on the far right. But instead the AU flag is displayed.
I checked the cookies stored for this domain and found the following:
1. undefined = 0
2. mygallerypersist = 3
3. flag_cookie = 1
Not sure where the undefined cookie is set but I suspect the stepcarousel script is setting it. The other two cookies are correct. Problem arises when the script tries to read the cookies. In IE, only the flag_cookie is found via the getCookie method of stepcarousel so the persistence (influenced by the mygallerypersist cookie) does not work.
I suspect there is an issue with the getCookie method in stepcarousel.js.
thanks,
Steve
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
This script works great but when using the persist:true option, IE does seem to be able to read the cookies correctly (the script works as expected in FF, Safari, and Chrome).
Working example at: http://stage.labtestsonline.org/
(The page currently pops up an alert box indicating the cookie values for debugging)
The carousel is being used to slide in the flags near the top of the page.
Steps to reproduce the problem on IE:
1. click on one of the red arrows on either side of the flags so that either the Australian (AU) flag is on the far left or the United Kingdom (UK) is on the far right.
2. click on any other links in the page. The state of the previous flag position does not persist. For example, if in step 1 above, you click the arrow so that UK is on the far right, then click on a link, the behavior is supposed to be so that the next page also displays UK on the far right. But instead the AU flag is displayed.
I checked the cookies stored for this domain and found the following:
1. undefined = 0
2. mygallerypersist = 3
3. flag_cookie = 1
Not sure where the undefined cookie is set but I suspect the stepcarousel script is setting it. The other two cookies are correct. Problem arises when the script tries to read the cookies. In IE, only the flag_cookie is found via the getCookie method of stepcarousel so the persistence (influenced by the mygallerypersist cookie) does not work.
I suspect there is an issue with the getCookie method in stepcarousel.js.
thanks,
Steve