Oct 29, 2008 #1 S smdion Limp Gawd Joined May 30, 2003 Messages 447 Working on a small project here to update our Classroom support page, and we are wondering if there is a way in HTML to have a pool of say 8 images and for each new session, they get one of those random images.
Working on a small project here to update our Classroom support page, and we are wondering if there is a way in HTML to have a pool of say 8 images and for each new session, they get one of those random images.
Oct 29, 2008 #2 M maxedoutcc Gawd Joined Jan 26, 2001 Messages 1,001 this can very easily be done in javascript, there are many examples on the web
Oct 29, 2008 #3 A ameoba Supreme [H]ardness Joined Jan 9, 2001 Messages 6,412 With javascript? Sure. With a serverside generated dynamic page? Sure. In static HTML? No.
Oct 29, 2008 #4 P pcbird n00b Joined Jul 12, 2006 Messages 58 You can do it in static HTML, your img link just isn't to a static location but rather a CGI pgm that returns the image. static image: <img src=some URL for the image> dynamic image: <img src="some url to a cgi pgm that returns the image data"> Same way some "pageviewcount" images are built and CAPCHAs for that matter.
You can do it in static HTML, your img link just isn't to a static location but rather a CGI pgm that returns the image. static image: <img src=some URL for the image> dynamic image: <img src="some url to a cgi pgm that returns the image data"> Same way some "pageviewcount" images are built and CAPCHAs for that matter.