摘要: <script type="text/javascript">onerror=handleErrvar txt=""function handleErr(msg,url,l){txt="本页中存在错误。\n\n"txt+="错误:" + msg + "\n"txt+="URL: " + url + "\n"txt+="行:" + l + "\n\n"txt+="点击“确定”继续。\n\n&quo 阅读全文
posted @ 2011-12-24 16:01 kpbiao 阅读(560) 评论(0) 推荐(0) 编辑
摘要: var urls;function animate(pos){ /*只现实一次gif图 if(pos==urls.length){ return false; } */ pos %=urls.length; document.images["animate"].src=urls[pos]; setTimeout("animate("+(pos+1)+");",1000);}window.onload=function(){ urls=new Array("http://img.t.sinajs.cn/t4/s... 阅读全文
posted @ 2011-12-24 15:31 kpbiao 阅读(319) 评论(0) 推荐(0) 编辑