View Full Version : dhtml slideshow in safari

09-25-2006, 09:06 PM
1) Script Title: DHTML Slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/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?

09-25-2006, 09:42 PM
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:

<!-- 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:

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


function ploadimages(){
var preloadedimages=new Array()
for (var i=0;i<photos.length;i++){
preloadedimages[i]=new Image()

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.