Results 1 to 6 of 6

Thread: Multiframe slide show - how to avoid restart on new page

  1. #1
    Join Date
    Jun 2012
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Multiframe slide show - how to avoid restart on new page

    1) Script Title: multiframe slide show


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

    3) Describe problem:
    I am using slide show in my website header and it starts over from beginning every time page changes. I would like it to be continuous for entire website visit.


    web site url: jamaica-travel.com

    Thank you in advance

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    .

    I've already changed it in your post. But in the future, please don't hot link to your site, use the address without the http:// and www. parts.

    That said, there is no MultiFrame Image Slideshow script on that page. I mean, it is there, but due to a typo it isn't being used.

    Here, from the source code:

    Code:
    <body>
    <table class="XSP_OUTLINE" align="center" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td colspan="2" class="XSP_HEADER_PANEL">/***********************************************
    * MultiFrame Image Slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code.
    * free script provided by "http://www.dynamicdrive.com">Dynamic Drive 
    ***********************************************/
    
    var seqslides=new Array()
    //Set Path to Image plus optional URL ("" for no URL):
    seqslides[0]=["http://www.jamaica-travel.com/h . . .
    That needs to be:

    Code:
    <body>
    <table class="XSP_OUTLINE" align="center" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td colspan="2" class="XSP_HEADER_PANEL">
    <script type="text/javascript">
    
    /***********************************************
    * MultiFrame Image Slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code.
    * free script provided by "http://www.dynamicdrive.com">Dynamic Drive 
    ***********************************************/
    
    var seqslides=new Array()
    //Set Path to Image plus optional URL ("" for no URL):
    seqslides[0]=["http://www.jamaica-travel.com/h . . .
    There could also be other problems.

    The browser cache may need to be cleared and/or the page refreshed to see changes.

    As for having it not restart at the beginning, that would require a cookie, and would be more efficient if we made the slideshow external. Let's get it working first though.
    Last edited by jscheuer1; 10-04-2012 at 10:15 PM. Reason: encoding
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2012
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi John,
    Thank you for help. I made changes and is working on website. I would like to replace multiframe slide show with conveyor belt slide show

    http://www.dynamicdrive.com/dynamici...rightslide.htm

    Have installed on test site at: jamaica-travel.com/testscript

    I would like the conveyor belt to be in same place as multiframe slide show is at: jamaica-travel.com

    The conveyor belt slide show does strange things to website layout - seems to override everything
    Thank you again

  4. #4
    Join Date
    Jun 2012
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi John,
    Conveyor Belt Slide Show
    url: http://www.dynamicdrive.com/dynamici...rightslide.htm

    Looks like I may have it working. Would still like to find a way to keep it from re-starting when ever a new page is visited.
    jamaica-travel.com

    Thank you again

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That can probably be worked out. I was playing around with the multislide script though. I had more or less forgotten about it until you reminded me of it. I had always liked it. Looking at it now though it looked a lot 'flatter' than I remembered it. Anyways, I jazzed it up a little with jQuery, added a cookie, and made it external. It's sort of a 'frankenscript' at the moment. I may formalize, clean it up, and make it modular. For now though you might be interested in seeing it as applied to your images/page:

    http://home.comcast.net/~jscheuer1/s...jamacian-h.htm

    When I have something on a cookie for Conveyor, I'll let you know. There's another script:

    http://www.dynamicdrive.com/dynamici...wler/index.htm

    It can be configured to look and act like Conveyor. It's more modern though so might be a better choice for this. And some of its other options might be a good fit for your project as well.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, here's a demo with conveyor and a cookie:

    http://home.comcast.net/~jscheuer1/s...macian-2-h.htm

    Because it's a mock up, you cannot navigate to other pages to see the cookie at work. You can refresh the page to see that the conveyor is reloading from the place it left off from.

    To use this script, download it (right click and 'Save As'):

    http://home.comcast.net/~jscheuer1/s...eyor-cookie.js

    Place it in the same folder as your page. Then on your page(s), where you have:

    Code:
    <script type="text/javascript">
    
    /***********************************************
    * Conveyor belt slideshow script-© Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    
    //Specify the slider's width (in pixels)
    var sliderwidth="800px"
    //Specify the slider's height
    var sliderheight="150px"
    //Specify the slider's slide spe . . .
    
    
     . . . yer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
    write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
    write('</ilayer>')
    }
    document.write('</td></table>')
    }
    }
    
    </script>
    Replace all that with this external script tag:

    Code:
    <script type="text/javascript" src="conveyor-cookie.js">
    
    /***********************************************
    * Conveyor belt slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    </script>
    If you like you can put the script in another folder. If so, you can reference it by its absolute or relative path.

    It can go on as many pages as you like. But for the cookie effect to work properly page to page, the conveyor must be the same width on each page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. multiframe slide show add alt & title tag to image
    By mylcorp in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 10-04-2012, 10:46 PM
  2. Multiframe Slide Show with Random Images
    By demel in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-23-2006, 04:52 AM
  3. My Multiframe Slide show isn't right in IE
    By garyG in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 05-10-2005, 03:19 PM
  4. MultiFrame slide show IE
    By junky013 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 03-18-2005, 03:51 AM
  5. MultiFrame slide show HELP
    By dokkendude in forum JavaScript
    Replies: 2
    Last Post: 01-13-2005, 11:08 PM

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
  •