odin22
02-05-2004, 03:20 PM
Well, this is my first post here, and it is kind off an embassing prob. so here goes. I'm just wondering how you would put an image into the custom javascript error box in the following code (taken from Javascript kit). - Is it possible??
<script>
/*
Custom javascript error box
By JavaScript Kit (http://javascriptkit.com)
Over 200+ free scripts here!
*/
function errorbox(){
errorwindow=window.open("","","width=250,height=125")
errorwindow.document.write('<title>Error Window</title><center><b>A JavaScript error(s) has occurred on this page</b><Br><form><input type="button" value="Close window" onClick="window.close()"></form></center>')
errorwindow.document.close()
errorwindow.document.bgColor="white"
return true
}
window.onerror=errorbox
</script>
:confused:
<script>
/*
Custom javascript error box
By JavaScript Kit (http://javascriptkit.com)
Over 200+ free scripts here!
*/
function errorbox(){
errorwindow=window.open("","","width=250,height=125")
errorwindow.document.write('<title>Error Window</title><center><b>A JavaScript error(s) has occurred on this page</b><Br><form><input type="button" value="Close window" onClick="window.close()"></form></center>')
errorwindow.document.close()
errorwindow.document.bgColor="white"
return true
}
window.onerror=errorbox
</script>
:confused: