canadianjameson
07-09-2004, 11:37 PM
when you right click on any image (atleast in I.E), you have the option to "set as background". I'd like to be able to have a slideshow, and have a button users could click that would effectively "Set the current image as background". What would the JS code be for that?
on a tangent (if this should be in a seperate thread, let me know):
---------------------------------------------------------------
I assume that i'd need to have each image appear in some sort of an image placeholder (unless i want a billion .html files... which i do not *shakes fist at Lemming*). Knowing this, how would i link the current image as the background image if they are appearing dynamically on the page?
aswell, I'm prepared to name my pictures in a way that a counter may be used to show each one without having to hardcode each image name in (ex: 1.jpg, 2.jpg, etc)... if that would make life easier.
Lastly... the image shown on the screen will be a somewhat shrunken version of the image. Does anyone know of a script i can use to take a larger image and have it show... say 4x smaller (while keeping the proportions). This would avoid me having to make a second copy of each pic, and have the "Set image as background" linking to the larger version...
Thanks... lemme know if i should chop it up into 3 seperate threads. it's one endeavor, thats why i put it all here.
Cheers
on a tangent (if this should be in a seperate thread, let me know):
---------------------------------------------------------------
I assume that i'd need to have each image appear in some sort of an image placeholder (unless i want a billion .html files... which i do not *shakes fist at Lemming*). Knowing this, how would i link the current image as the background image if they are appearing dynamically on the page?
aswell, I'm prepared to name my pictures in a way that a counter may be used to show each one without having to hardcode each image name in (ex: 1.jpg, 2.jpg, etc)... if that would make life easier.
Lastly... the image shown on the screen will be a somewhat shrunken version of the image. Does anyone know of a script i can use to take a larger image and have it show... say 4x smaller (while keeping the proportions). This would avoid me having to make a second copy of each pic, and have the "Set image as background" linking to the larger version...
Thanks... lemme know if i should chop it up into 3 seperate threads. it's one endeavor, thats why i put it all here.
Cheers