View Full Version : web pictures
02-02-2007, 07:29 PM
I have visited www.benderchaffey.com (Gallery page) and they have an AWESOME example of how their pictures pop up in a new window (where a picture was already) and it just changes the images when you hover over the corresponding link to the left. I WANT THIS! But I don't know how to code it or to set it up through Frontpage for my own site. If anybody could help I would be SO grateful. Thanks!
02-02-2007, 08:31 PM
document.getElementById("image").src = "images/image"+num+".jpg"
The basic HTML for that is:
<a href="#" onmouseover="switchPic(1); return false;">link</a>
<a href="#" onmouseover="switchPic(2); return false;">link</a>
<img id="image" src="images/mainimage.jpg" alt="" />
Might sound a little complicated or confusing for someone that is not familiar with coding so try it out with that basic code on an empty page at first and get back if you have more questions.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.