OZONE Asylum
Forums
Stupid Basic HTML
I gotta html question, and im stuck, can anyone answer it?
This page's ID:
9721
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
i just got into java and html and im readin through a java book and this is a exercise, i just cant get it working it looks good but wont load the other pictures, can anyone help? here is the link [url=http://home.earthlink.net/~mr_vercetti/Precaching%20Images.htm]http://home.earthlink.net/~mr_vercetti/Precaching%20Images.htm[/url] its set up on my ftp <HTML> <HEAD> <TITLE>Image Object</TITLE> <script language="JavaScript"> <!-- function SymError() { return true; } window.onerror = SymError; //--> </script> <SCRIPT LANGUAGE="JavaScript"> // pre-cache four images image1 = new image(120,90) image1.src = "http://home.earthlink.net/~mr_vercetti/chick.bmp" image2 = new image(120,90) image2.src = "http://home.earthlink.net/~mr_vercetti/jenna.jpg" image3 = new image(120,90) image3.src = "http://home.earthlink.net/~mr_vercetti/Mechina/Mechina-Banner.gif" image4 = new image(120,90) image4.src = "http://home.earthlink.net/~mr_vercetti/Mechina/a.jpg" // load an image chosen from select list function loadCached(list) { var img = list.options[list.selectedIndex].value document.thumbnail.src = eval(imag + ".src") } </SCRIPT> </HEAD> <BODY> <H2>Image Object</H2> <IMG SRC="chick.bmp" NAME="thumbnail" HEIGHT=90 WIDTH=120> <FORM> <SELECT NAME="cached" onChange=loadCached(this)"> <OPTION VALUE="image1">Funny <OPTION VALUE="image2">Funny as Hell!! <OPTION VALUE="image3">haha <OPTION VALUE="image4">yea right </SELECT> </FORM> </BODY> </HTML> haha
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »