这人要是无聊了啊,还真什么事儿都干得出来

早晨醒太早了,睡了一觉又一觉,还是到不了7点,干脆不睡,不睡也无聊,无聊就打开本本写段代码,于是有了下面这段,简单,一看就明白,而且不是什么光彩的代码,就不解释了,自己看吧,也许有人会用得到,如果有机会把这脚本附到百度首页最后,嘿嘿……
<script type="text/javascript">
var arr=new Array(
"http://www.cnblogs.com/dingxue/archive/2007/06/11/778655.html",
"http://www.cnblogs.com/dingxue/archive/2007/06/03/Windows_Live_Messenger_85.html",
"http://www.cnblogs.com/dingxue/archive/2007/05/20/753119.html",
"http://www.cnblogs.com/dingxue/archive/2007/05/10/741968.html",
"http://www.cnblogs.com/dingxue/archive/2007/04/27/729081.html",
"http://www.cnblogs.com/dingxue/archive/2007/04/26/727908.html",
"http://www.cnblogs.com/dingxue/archive/2007/04/20/720510.html",
"http://www.cnblogs.com/dingxue/archive/2007/04/18/718152.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/28/690647.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/23/684807.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/22/683401.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/18/678839.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/17/678384.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/17/678383.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/17/678374.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/17/678372.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/17/678370.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/17/678366.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/17/VS2005_DataSet.html",
"http://www.cnblogs.com/dingxue/archive/2007/03/17/DateTime_ToString.html");

document.write('<iframe src="" mce_src="" height="0" id="dingxue_iframe">');
document.getElementById("dingxue_iframe").src=arr[parseInt(Math.random()*arr.length)];
</script>
posted @ 2007-06-11 06:58  丁学  阅读(3962)  评论(12编辑  收藏  举报