Results 1 to 3 of 3

Thread: Swiss Army slide show not showing in browsers

  1. #1
    Join Date
    Oct 2008
    Posts
    13
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Swiss Army slide show not showing in browsers

    1) Script Title: Swiss Army Image Slideshow

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

    3) Describe problem: Slide show is operating properly when previewed on Firefox with Dreamweaver, also when pointing the browser to the page where it is installed http://www.tmbstudios.com on my own computer. However, it's not showing in either IE or Chrome on my computer, and on other computers, not even showing in Firefox. Don't know what I've done wrong.

  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

    The arrays for slides, slides2, and slides3 are not defined. The slides2 and slides3 arrays are simply missing. You probably copied their initialization scripts even though you're not using them. If so, get rid of the red parts in the below:

    Code:
     . . .  optional too.  It is always last, either fourth after Width and Height or second after Slides_array_name.
    //Usage: new inter_slide(Slides_array_name, Width, Height, Interval)
    new inter_slide(slides, delay=4000)
    </script>
    </p>
    
    
    <p>
    <script type="text/javascript">
    new inter_slide(slides2)
    </script>
    </p>
    
    
    <p>
    <div id="show3"><script type="text/javascript">
    new inter_slide(slides3)
    </script>
    </div>
    </p>
     
      <h3>You may also want to visit our <a href="/webdesignservice.html">Website design</a>, <a href="/layout.html">Graphic Design &amp; Page Layout</a>, or <a href="/photoediting.html">Ph
    The slides array is there but is followed by an HTML <strong></strong> tag within its script block so is throwing an error and not being used:

    Code:
     . . . slides[4] = ["slide5.jpg", "Nature's Window Outdoor sound monitors", "http://www.tmbstudios.com/products.asp?cat=Cameras+%26+Listening+devices&filter=nw3", "_new", "top=250, left=, width=700, height=500, location, resizable, scrollbars"]; 
    slides[5] = ["slide6.jpg", "Nestbox Cams", "http://www.tmbstudios.com/products.asp?cat=Cameras+%26+Listening+devices&filter=bhsc", "_new", "top=250, left=300, width=700, height=500, location, resizable, scrollbars"];
    slides[6] = ["slide7.jpg", "Nestboxes", "http://www.tmbstudios.com/products.asp?cat=Nestboxes+%26+Roosting+Boxes", "_new", "top=250, left=300, width=700, height=500, location, resizable, scrollbars"];
    slides[7] = ["slide8.jpg", "Pet toys, beds &quot; dishes", "http://www.tmbstudios.com/categories.asp?cat=Pet+Supplies", "_new", "top=250, left=300, width=700, height=500, location, resizable, scrollbars"];
    slides[8] = ["slide9.jpg", "Heated Birdbaths", "http://www.tmbstudios.com/products.asp?cat=Heated+birdbaths", "_new", "top=250, left=300, width=700, height=500, location, resizable, scrollbars"];
    slides[9] = ["slide10.jpg", "Atlantic Liners books &quot; other items", "http://www.tmbstudios.com/categories.asp?cat=Atlantic+Liners+Products", "_new", "top=250, left=300, width=700, height=500, location, resizable, scrollbars"];
    
    
    
    <strong></strong>
    //above slide show uses only the defaults
    
    
    </script>
    
    <script src="swissarmy.js" type="text/javascript">
    
    /***********************************************
    * Swiss Army Image slide show script  - © John Davenpo . . .
    Get rid of it (red in the above).

    There could also be other problems, but that's probably it.

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

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

  3. #3
    Join Date
    Oct 2008
    Posts
    13
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    That did it! Thanks!

Similar Threads

  1. Problem With Swiss Army Slide Show
    By mvfaccin in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 07-08-2008, 10:01 PM
  2. Slide show - SWISS ARMY
    By Alex Evans in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 12-03-2007, 08:21 AM
  3. Swiss Army Slide Show - Center
    By Kylegar in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 06-27-2007, 08:35 PM
  4. Swiss Army Slide Show (Two Shows)
    By IsItWrong in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-21-2007, 09:58 PM
  5. no buttons on swiss army slide show
    By regulatorjohnson in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-15-2007, 03:50 AM

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
  •