[WEB4LIB] Help! with JavaScript

Michael Squires (michael) michael at sequent.com
Mon Aug 24 17:02:20 EDT 1998


Why not do this a cgi-bin? That way you don't care what the browser is?

I've seen this done:

	- on your html page (e.g., "index.html") put your image tag as
follows:
	<img src="/cgi-bin/rotating-image" ....>
	- write your script to pick a random image and return it



Michael Lee Squires
Digital Library Champion



> -----Original Message-----
> From: Walter Minkel [mailto:walterm at nethost.multnomah.lib.or.us]
> Sent: Monday, August 24, 1998 1:54 PM
> To: Multiple recipients of list
> Subject: [WEB4LIB] Help! with JavaScript
> 
> 
> Oh, all-wise folks-- Multnomah County Library is working on a 
> new website
> design. As part of the design, we wanted to include a JavaScript that
> would select a .jpg file at random from a folder of photos 
> and place it on
> the page. We found one JavaScript example in a book, but it 
> only seems to
> work in 4.0x browsers. Is there a way to get it to work in 3.0x
> Java-capable browsers? The page is located at
> <http://www.multnomah.lib.or.us/~walterm/iface/>. Any help/advice that
> anyone can give us is welcome. 10-Q, W
> 
> Walter Minkel, School Corps Technology Trainer
> Multnomah County Library, 205 NE Russell St., Portland, OR 97212
> Voice (503)736-6002; fax (503)248-5441; 
> walterm at nethost.multnomah.lib.or.us
> ==============
> Look! A Toyota! Kool! --Palindrome of the Month 
> 


More information about the Web4lib mailing list