The contents of this page were generated completely by Dreamweaver's GUI. No HTML or JavaScript was actually user-written.

change background 01
change background 02
clear background
close window

JavaScript

Rollover
Image
duke_beans.gif
<a href="#" onMouseOut="restoreImage('Image1','assets/duke_beans.gif')" onMouseOver="swapImage('Image1','assets/getacro.gif')"><img name="Image1" border="0" src="assets/duke_beans.gif" width="100" height="100"></a>
function swapImage(activeElement, newSource) {
var imageActive = document.getElementById(activeElement);
imageActive.src = newSource;
}
function restoreImage(activeElement, newSource) {
var imageActive = document.getElementById(activeElement);
imageActive.src = newSource;
}
function preloadImages() {
var imageOn = new Image();
imageOn.src = 'assets/getacro.gif';
}
 
   
   
Home Page