var imgwidth=640 <!--特别注意:一定要修改,这里的640 和 480 两个数字就是你的图片大小像素,
var imgheight=480
var pos_left=0
var pos_top=0
var imgname=new Array()
imgname[0]=\"http://www.readfree.net/bbs/p_w_upload/Mon_1203/51_50525_18d6fbcc14fc5f5.jpg\"
imgname[1]=\"http://www.readfree.net/bbs/p_w_upload/Mon_1203/51_50525_0ef43a4c804d455.jpg\"
imgname[2]=\"http://www.readfree.net/bbs/p_w_upload/Mon_1203/51_50525_ceb1cc73666ecd9.jpg\"
imgname[3]=\"http://www.readfree.net/bbs/p_w_upload/Mon_1203/51_50525_ba39aeafdb40e27.jpg\"
imgname[4]=\"http://www.readfree.net/bbs/p_w_upload/Mon_1203/51_50525_fce47fb36e39442.jpg\"
imgname[5]=\"http://www.readfree.net/bbs/p_w_upload/Mon_1203/51_50525_7493e7a3738b516.jpg\"
<!--如果图片很多就继续自己添加类似代码,注意修改数字: imgname[6]=\"\"
var imgpreload=new Array()
for (i=0;i<=imgname.length-1;i++) {
imgpreload=new Image()
imgpreload.src=imgname
}
var pause=2000
var speed=20
var step=10
var i_loop=0
var i_p_w_picpath1=0
var i_p_w_picpath2=1
function stretchp_w_picpath() {
if (i_loop<=imgwidth) {
if (document.all) {
imgcontainer1.innerHTML=\"<img width='\"+i_loop+\"' height='\"+imgheight+\"' src='\"+imgname[i_p_w_picpath1]+\"' border='0'>\"
document.all.imgcontainer2.style.posLeft=document.all.imgcontainer1.style.posLeft+i_loop
}
function changep_w_picpath() {
i_loop=0
i_p_w_picpath1++
if (i_p_w_picpath1>imgname.length-1) {i_p_w_picpath1=0}
i_p_w_picpath2=i_p_w_picpath1-1
if (i_p_w_picpath2>imgname.length-1) {i_p_w_picpath2=0}
if (i_p_w_picpath2<0) {i_p_w_picpath2=imgname.length-1}
document.all.imgcontainer2.style.posLeft=document.all.imgcontainer1.style.posLeft
var timer=setTimeout(\"stretchp_w_picpath()\",pause)
}
function initiate() {
if (document.all) {
document.all.imgcontainer1.style.posLeft=pos_left
document.all.imgcontainer2.style.posLeft=pos_left
document.all.imgcontainer1.style.posTop=pos_top
document.all.imgcontainer2.style.posTop=pos_top
changep_w_picpath()
}
if (document.layers) {
document.imgcontainer1.left=pos_left
document.imgcontainer2.left=pos_left
document.imgcontainer1.top=pos_top
document.imgcontainer2.top=pos_top
rotatenetscape()
}
}
// - End of JavaScript - -->
</SCRIPT>
<SCRIPT language=JavaScript><!--
msg=\"【网 上 读 书 园 地 论 坛】* * * 网页左下角你想写的飘动文字,也可以不改\";timeID=10;stcnt=16;wmsg=new Array(33);wmsg[0]=msg;blnk=\" \";for(i=1;i<32;i++){b=blnk.substring(0,i);wmsg=\"\";for(j=0;j<msg.length;j++)wmsg=wmsg+msg.charAt(j)+b;}function wiper(){if(stcnt>-1)str=wmsg[stcnt];else str=wmsg[0];if(stcnt--<-40)stcnt=31;status=str;clearTimeout(timeID);timeID=setTimeout(\"wiper()\",100);}wiper()
//--></SCRIPT>
<script language=\"JavaScript\">
<!--
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick; // for all others
//-->
</script>