PDA

View Full Version : frame background changing



cursor_joe
02-01-2005, 03:07 AM
ok i have the basic two frame layout(one on the left is the menu, and one on the right is win-main)

is there a way to change the background of the menu frame to be whatever the background of win-main is without knowing what the background of win-main is?

_Aerospace_Eng_
02-01-2005, 04:40 AM
well u could use

<script type="text/javascript">
function changebg(image){
document.body.background='yourbackground.gif';
}
</script>
but i dunno if u could do it without actually knowing the background or if u meant it was going to be randomly chosen onload then draw what the randomly chosen background would be to the menu frame, im not sure how to do that