View Full Version : Dodge and Burn Technique


videosean
02-25-2007, 06:22 PM
Dodge and Burn, a visual reference/walkthrough of the basic idea using Photoshop 7 and above. [details (http://www.retouchpro.com/tutorials/?m=show&id=272)]

Doug Nelson
04-20-2007, 07:36 AM
The mouseover thing is a great touch. I didn't even know it was possible with our tutorial system. How'd you do it?

videosean
05-25-2007, 11:02 AM
The mouseover thing is a great touch. I didn't even know it was possible with our tutorial system. How'd you do it?
It's just a few lines of javascript. Just replace the http://site.com/image.jpg parts with the URL for the images you want to use. I didn't make up the script, I probably found it via Google :)
<script language="JavaScript">
img1 = new Image();
img1.src = "http://site.com/image1.jpg";
img2 = new Image();
img2.src = "http://site.com/image2.jpg";
function domSwap(){
theImg=document.getElementById("myImage");
theImg.setAttribute("src","http://site.com/image2.jpg");
}
function domSwapBack(){
theImg=document.getElementById("myImage");
theImg.setAttribute("src","http://site.com/image1.jpg");
}
</script>
<a href="#" onmouseover="domSwap()" onmouseout="domSwapBack()"><img src="http://site.com/image1.jpg" id="myImage" border="0"></a>