OK, here is the relevant part of the code:
Code:
var slideshow_width='140px' //SET IMAGE WIDTH
var slideshow_height='225px' //SET IMAGE HEIGHT
var pause=3000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)
var fadeimages=new Array()
//SET 1) IMAGE PATHS, 2) optional link, 3), optional link target:
fadeimages[0]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/bong002.jpg", "", ""] //plain image syntax
fadeimages[1]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/5d8f759a.jpg", "http://www.google.com", ""] //image with link syntax
fadeimages[2]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/bong016.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
To get rid of the links:
Code:
var slideshow_width='140px' //SET IMAGE WIDTH
var slideshow_height='225px' //SET IMAGE HEIGHT
var pause=3000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)
var fadeimages=new Array()
//SET 1) IMAGE PATHS, 2) optional link, 3), optional link target:
fadeimages[0]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/bong002.jpg", "", ""] //plain image syntax
fadeimages[1]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/5d8f759a.jpg", "", ""] //plain image syntax
fadeimages[2]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/bong016.jpg", "", ""] //plain image syntax
To display the whole image(s) without resizing, we need to adjust the 'slideshow_width' and 'slideshow_height' variables, this will make the slideshow take up a great deal more space on the page but, only because bong002.jpg is so huge (1184x918 pixels). If we instead resize it to be in line with the size of the other two images, it will be 256x198 pixels. We will now have three images:
bong002.jpg 256x198
5d8f759a.jpg 256x228
bong016.jpg 256x192
Not ideal for a slideshow but workable, giving us this for our code:
Code:
var slideshow_width='256px' //SET IMAGE WIDTH
var slideshow_height='228px' //SET IMAGE HEIGHT
var pause=3000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)
var fadeimages=new Array()
//SET 1) IMAGE PATHS, 2) optional link, 3), optional link target:
fadeimages[0]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/bong002.jpg", "", ""] //plain image syntax
fadeimages[1]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/5d8f759a.jpg", "", ""] //plain image syntax
fadeimages[2]=["http://i6.photobucket.com/albums/y226/linda_tjo4/me/bong016.jpg", "", ""] //plain image syntax
Bookmarks