Results 1 to 2 of 2

Thread: Step Carousel Persist:True not working

  1. #1
    Join Date
    May 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Step Carousel Persist:True not working

    1) Script Title: Step Carousel

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem: I have an online store that scrolls through items using the step carousel and when a user clicks for more information the page reloads with the information at the top and carousel at the bottom. I would like for it to stay on the same panel that it was on so the shopper doesn't have to scroll back through to where they were. I have persist:true set but still the issue. Any suggestions on what could be causing the persist not to stay. Not just my browser either does it in firefox IE on my computer and firefox on my friends atleast...not sure about anyone else. Any suggestions on what could be causing the persist to be interfered with if that is the problem? URL below:

    URL: http://www.timelessbylesa.com/produc...ection=Vintage

    Thanks,
    Ed

    EDIT: Seems to have found the cause for it being messed up. My page also has the lightbox code on it (url: http://www.dynamicdrive.com/dynamici...box2/index.htm) and calling to this javascript file:
    <script type="text/javascript" src="js/prototype.js"></script>

    Seems to be the issue. Now I just need to figure out how I can let them both exist I guess.....hmmm anyone have any ideas let me know.

    If anyone knows a reason why prototype.js file and the stepcarousel.js file are causing the persist not to work let me know, thanks. Both seem to work fine other than the persist.
    Last edited by GR00316; 05-20-2010 at 06:19 PM. Reason: Making progress towards finding the error.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm the issue might simply have to do with the cookie used by Step Carousel Viewer not being side wide. To make it so, try adding the code in red to the following line inside the .js file:

    Code:
    document.cookie = name+"="+value+";path=/"
    Hopefully that solves the problem, as this script should work harmoniously in general with Prototype. If there is a conflict, it might be hard to spot due to the complexities of both libraries.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •