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?
<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?