CGI for Slide show

Stephen Barncard stephenREVOLUTION at barncard.com
Thu Oct 12 10:27:33 CDT 2006


>The script still has to be adjusted for Non MSIE browsers, current version
works on MSIE.


Which is exactly why I went to pure HTML at the time (7 years ago). 
Browser compatibility was even worse then.


>  There is an alternative with javascript using properties of image tag. It
>can (re)load images without reloading the whole page, so it also saves some
>bandwith for you. Here is the recipe provided all images are in same format
>(let'say jpg) and with names made using a phrase and a number - e.g. im1.jpg
>  im2.jpg, im3.jpg, etc...
>
>This is how your image tag might look like for a slideshow of 15 images:
>img src="im1.jpg"
>name="thisIm"
>alt="Click to change image"
>galleryimg="no"
>onclick="if (i<=15) {i++}; else {i=1}; thisIm.src='im'+i+'.jpg';"
>
>The script still has to be adjusted for Non MSIE browsers, current version
>works on MSIE.
>
>Viktoras
>

-- 
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



More information about the use-livecode mailing list