[thelist] javascript non-random images

Hershel Robinson hershelr at netvision.net.il
Thu Nov 24 13:19:07 CST 2005


> I have looked, but I just can't find a sequential javascript. Anybody have the answer?

Seems to me you would need to store in a cookie which image you show, 
then when the page refreshes, you must read the cookie to see what was 
shown last time. You can then increment that, store it in the cookie and 
show that image.

Using available functions for cookie reading and writing via JS, the 
rest of the job is on the order of 10 lines of JS code maximum.

Hershel

PS: Nice web site at i-create.web.com. I am from Ann Arbor. :)



More information about the thelist mailing list