PDA

View Full Version : Remove wipe effect from Image Thumbnail Viewer II



ChasDevlin
03-02-2005, 03:39 PM
Image Thumbnail Viewer II (http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm)

Is there a way to eliminate the fade/wipe effect? Can it be excluded from the script? I'm p,aying around a bit to remove it.

Or is there an alternate script (anywhere) that does the same thing -- minus the wipe effect, yet still allows the larger images to be different sizes (which is very useful)?

Thanks.

ddadmin
03-02-2005, 06:49 PM
Sure. To remove the wipe effect, simply find the following lines and comment them out, as shown below:


//if (imgobj.filters && window.createPopup){
//imgobj.style.filter=filterstring
//imgobj.filters[0].Apply()
//}

//if (imgobj.filters && window.createPopup)
//imgobj.filters[0].Play()

So there are 5 lines in total that need to be commented out. Or you can simply remove them from the script as well.