What do you think about this?

J

Joe Patrick

Im thinking of using this on my website (currently on a test page)
<HEAD>
<TITLE>TESTING PAGE</TITLE>
<SCRIPT Language="JavaScript">
function ChangeImage(){
document.img1.src =
"http://www.photobucket.com/albums/0803/railwaysonline/c60b2d14.jpg"
document.form1.tree.value
= "Images Copyright Joe Patrick"
} // EoFn
</script>
</HEAD>
<BODY>
<IMG name="img1"
SRC="http://www.photobucket.com/albums/0803/railwaysonline/th_c60b2d14.jpg">
<FORM method=" " action=" " name="form1">
<Font size=-2>
<input type=button NAME="tree"
VALUE="Click to view full sized Image"
onClick = "ChangeImage()">
</font>
</BODY>

I know that this wont work for non-javascript users but I have made a
provision for them.
When the page loads, all thumbnails are displayed and on clicking the
button, it views the full sized image. Do both the images load, or does the
full sized image only load on clicking of the button?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top