duan1226 2011-04-26 10:49 采纳率: 100%
浏览 25
已采纳

如何在jquery(jcarousel)中保留图像集

i am using jcarousel to show image as slides. 5 images are shown at a time and next button slides one image to right, there are a total of 9 images. Each image is a link to its detailed page. but now if click the last image to go to its detailed page and then come back to the page(using browser back button) the image slide shows the 1st 5 images. But i have to retain the set of images that was present when i clicked the image. What must be done to do this Thanks in advance

  • 写回答

1条回答 默认 最新

  • douniao8687 2011-04-26 13:43
    关注

    You can set the start position.. See this example.. Carousel with custom start position

    While clicking on the image, store the position to a cookie, and on return get the value from cookie and assign to the start option

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?