Results 1 to 2 of 2

Thread: dhtml slideshow in safari

  1. #1
    Join Date
    Feb 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation dhtml slideshow in safari

    1) Script Title: DHTML Slideshow

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

    3) Describe problem: In safari after about the third click on the next button in the slideshow, the image size gets fixed somehow and the images get all pixelated. I've reverted to older versions of the page and removed my css styles, and nothing seems to help.

    www.shanecampbellgallery.com/current.html (click on installation images)

    Any clues?

  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

    If you've tried it with no styles at all, just as a test, and it still does this - it could be a problem with server-side added scripts conflicting. To test that, try a local copy of the page in Safari without the:

    Code:
    <!-- text below generated by server. PLEASE REMOVE --><!-- Counter/Statistics data collection code --><script language="JavaScript" src="http://hostingprod.com/js_source/geov2.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?us1159219493" alt="setstats" border="0" width="1" height="1"></noscript>
    <IMG SRC="http://geo.yahoo.com/serv?s=76001405&t=1159219493&f=p9w18" ALT=1 WIDTH=1 HEIGHT=1>
    codes at the bottom. If that fixes it, then it would be worth changing this in the slide script:

    Code:
    var preloadedimages=new Array()
    for (i=0;i<photos.length;i++){
    preloadedimages[i]=new Image()
    preloadedimages[i].src=photos[i]
    }
    to:

    Code:
    function ploadimages(){
    var preloadedimages=new Array()
    for (var i=0;i<photos.length;i++){
    preloadedimages[i]=new Image()
    preloadedimages[i].src=photos[i]
    }
    }
    ploadimages();
    I have no Mac to test on but, that is the most likely source and resolution of a conflict, if that is in fact the cause.
    - John
    ________________________

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

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
  •