[code=javascript]<!-- Google maps has a tendency to wreck things. Load it LAST! It can interfere with other stuff loading -->
<script src="http://maps.google.com/maps?file=api&a mp;v=2&key= ABQIAAAArSHIvK5 GjeMNDX4RccZ9Mh QrmFaz44GnQXOo2 7J3f2GHeKYI9xTi 9qFD_LdIDqtpRDv M4YWE8kto-A" type="text/javascript"></script>
<script type='text/javascript'>
function setImage() {
document.getEle mentById('event LogoDiv').inner HTML='<a href="http://www.doughxpress .com/staging"><img src="http://www.doughxpress .com/staging/imgs/headerLOGO.jpg" alt="HIX Corporation"></img></a>';
}
</script>
</head>
<body onload='setImag e()' onunload='GUnlo ad()'>
[/code]
ok so there is the code... however the function in the onunload position wont work whenever i have onload in the body tag with it... can anyone explain to me why this is so? and maybe if you could help me with a work around would be great i tried throwing the onload in a frameset tag and an image tag and.. well the image tag worked kind of but i read in some places that onload in an image tag is not reliable.
<script src="http://maps.google.com/maps?file=api&a mp;v=2&key= ABQIAAAArSHIvK5 GjeMNDX4RccZ9Mh QrmFaz44GnQXOo2 7J3f2GHeKYI9xTi 9qFD_LdIDqtpRDv M4YWE8kto-A" type="text/javascript"></script>
<script type='text/javascript'>
function setImage() {
document.getEle mentById('event LogoDiv').inner HTML='<a href="http://www.doughxpress .com/staging"><img src="http://www.doughxpress .com/staging/imgs/headerLOGO.jpg" alt="HIX Corporation"></img></a>';
}
</script>
</head>
<body onload='setImag e()' onunload='GUnlo ad()'>
[/code]
ok so there is the code... however the function in the onunload position wont work whenever i have onload in the body tag with it... can anyone explain to me why this is so? and maybe if you could help me with a work around would be great i tried throwing the onload in a frameset tag and an image tag and.. well the image tag worked kind of but i read in some places that onload in an image tag is not reliable.
Comment