PDA

View Full Version : change BG image



phoenix
02-03-2006, 02:44 PM
hello
what i need is the coading so that i can change the image background for html coding. i would like some buttons so that i can do that for my page.
can anyone help

Twey
02-03-2006, 03:57 PM
<input type="button" value="Leaves" onclick="document.body.style.backgroundImage = 'url(leaves.jpg)';"/>