不是没有运行,你写错了
<script>
function imageloaded()
{
document.bgColor="00ffff"
window.status=document.images[0].src+"have been loaded"
}
function imageabouted()
{
alert("hey,you just aborted the loading of the last image")
}
</script>
我写了这段程序,在下面调用不行阿。为什么
<img src="http://lucky.myrice.com/back.jpg" onLoad="imageloaded()" onAbort="imageabouted()">
<script>
function imageloaded()
{
document.bgColor="00ffff"
window.status=document.images[0].src+"have been loaded"
}
function imageabouted()
{
alert("hey,you just aborted the loading of the last image")
}
</script>
我写了这段程序,在下面调用不行阿。为什么
<img src="http://lucky.myrice.com/back.jpg" onLoad="imageloaded()" onAbort="imageabouted()">
太厉害了!这是为什么呢?
我试了一下你的代码,挺不错的。鼓励一下!