彩蝶 的个人资料彩蝶Butterfly Valley照片日志列表 工具 帮助

日志


JS自動翻頁相冊

<head><script type="text/javascript">
 var Book_Image_Width=235; //&#27492;&#22788;&#20026;&#22270;&#29255;&#30340;&#23485;&#24230;&#65292;&#40664;&#35748;&#20026;140&#65292;&#21487;&#20462;&#25913;&#20026;&#20320;&#38656;&#35201;&#30340;&#25968;&#20540;
 var Book_Image_Height=400; //&#27492;&#22788;&#20026;&#22270;&#29255;&#30340;&#39640;&#24230;&#65292;&#40664;&#35748;&#20026;225&#65292;&#21487;&#20462;&#25913;&#20026;&#20320;&#38656;&#35201;&#30340;&#25968;&#20540;
 var Book_Border=true;
 var Book_Border_Color="gray";
 var Book_Speed=15;
 var Book_NextPage_Delay=1500; //1 second=1000 //&#27492;&#22788;&#20026;&#22270;&#29255;&#32763;&#36716;&#30340;&#30456;&#38548;&#26102;&#38388;&#65292;&#21487;&#20462;&#25913;&#20026;&#20320;&#38656;&#35201;&#30340;&#25968;&#20540;
 var Book_Vertical_Turn=0; 
 Book_Image_Sources=new Array(
//&#19979;&#38754;&#22235;&#34892;&#26159;&#32763;&#36716;&#22270;&#29255;&#21644;&#22270;&#29255;&#38142;&#25509;&#30340;&#20195;&#30721;&#65292;&#27599;&#34892;&#20026;&#19968;&#20010;&#22270;&#29255;&#21450;&#38142;&#25509;&#65292;&#22686;&#21152;&#25110;&#20943;&#23569;&#22270;&#29255;&#21482;&#38656;&#25353;&#19979;&#38754;&#30340;&#26679;&#24335;&#22686;&#21152;&#25110;&#20943;&#23569;&#19968;&#34892;&#20195;&#30721;&#21363;&#21487;&#65292;&#22270;&#29255;&#39034;&#24207;&#21487;&#33258;&#30001;&#35843;&#25972;&#65292;&#27880;&#24847;&#38500;&#26368;&#21518;&#20854;&#20313;&#27599;&#34892;&#23614;&#37096;&#37117;&#38656;&#35201;&#26377;&#19968;&#20010;,&#21495;
//&#19979;&#38754;&#24038;&#36793;&#24341;&#21495;&#20013;&#20026;&#22270;&#29255;&#30340;&#22320;&#22336;&#65292;&#21491;&#36793;&#24341;&#21495;&#20013;&#20026;&#38142;&#25509;&#22320;&#22336;&#65292;&#22914;&#19981;&#38656;&#35201;&#38142;&#25509;&#21487;&#23558;&#21491;&#36793;&#24341;&#21495;&#20013;&#30340;&#38142;&#25509;&#21435;&#25481;&#65292;&#20294;&#35201;&#20445;&#30041;&#24341;&#21495;
  "http://wansanglee.googlepages.com/20071124007.jpg","http://",
  "http://img520.imageshack.us/img520/5645/x1pglip38xxbl31n7bmbvtlrj1.jpg","http://",
  "http://wansanglee.googlepages.com/200711240193.jpg","http://",
  "http://wansanglee.googlepages.com/20071124027.jpg","http://",
  "http://wansanglee.googlepages.com/20071124028.jpg","http://"
 );
 var B_LI,B_MI,B_RI,B_TI,B_Angle=0,B_CrImg=6,B_MaxW,B_Direction=1;
 var B_MSz,B_Stppd=false;B_Pre_Img=new Array(Book_Image_Sources.length);
 function ImageBook(){
  if(document.getElementById){
   for(i=0;i<Book_Image_Sources.length;i+=2){
    B_Pre_Img[i]=new Image();B_Pre_Img[i].src=Book_Image_Sources[i]}
   Book_Div=document.getElementById("Book");
   B_LI=document.createElement("img");Book_Div.appendChild(B_LI); 
   B_RI=document.createElement("img");Book_Div.appendChild(B_RI);
   B_MI=document.createElement("img");Book_Div.appendChild(B_MI); 
   B_LI.style.position=B_MI.style.position=B_RI.style.position="absolute";
   B_LI.style.zIndex=B_RI.style.zIndex=0;B_MI.style.zIndex=1;
   B_LI.style.top=(Book_Vertical_Turn?Book_Image_Height+1:0)+"px";
   B_LI.style.left=0+"px";
   B_MI.style.top=0+"px";
   B_MI.style.left=(Book_Vertical_Turn?0:Book_Image_Width+1)+"px";
   B_RI.style.top=0+"px";
   B_RI.style.left=(Book_Vertical_Turn?0:Book_Image_Width+1)+"px";
   B_LI.style.height=Book_Image_Height+"px";
   B_MI.style.height=Book_Image_Height+"px";
   B_RI.style.height=Book_Image_Height+"px";
   B_LI.style.width=Book_Image_Width+"px";
   B_MI.style.width=Book_Image_Width+"px";
   B_RI.style.width=Book_Image_Width+"px";
   if(Book_Border){
    B_LI.style.borderStyle=B_MI.style.borderStyle=B_RI.style.borderStyle="solid";
    B_LI.style.borderWidth=1+"px";
    B_MI.style.borderWidth=1+"px";
    B_RI.style.borderWidth=1+"px";
    B_LI.style.borderColor=B_MI.style.borderColor=B_RI.style.borderColor=Book_Border_Color}
   B_LI.src=B_Pre_Img[0].src;
   B_LI.lnk=Book_Image_Sources[1];
   B_MI.src=B_Pre_Img[2].src;
   B_MI.lnk=Book_Image_Sources[3];
   B_RI.src=B_Pre_Img[4].src;
   B_RI.lnk=Book_Image_Sources[5];
   B_LI.onclick=B_MI.onclick=B_RI.onclick=B_LdLnk;
   B_LI.onmouseover=B_MI.onmouseover=B_RI.onmouseover=B_Stp;
   B_LI.onmouseout=B_MI.onmouseout=B_RI.onmouseout=B_Rstrt;
   BookImages()}}
 function BookImages(){
  if(!B_Stppd){
   if(Book_Vertical_Turn){
    B_MSz=Math.abs(Math.round(Math.cos(B_Angle)*Book_Image_Height));
    MidOffset=!B_Direction?Book_Image_Height+1:Book_Image_Height-B_MSz;
    B_MI.style.top=MidOffset+"px";
    B_MI.style.height=B_MSz+"px"}
   else{ B_MSz=Math.abs(Math.round(Math.cos(B_Angle)*Book_Image_Width));
    MidOffset=B_Direction?Book_Image_Width+1:Book_Image_Width-B_MSz;
    B_MI.style.left=MidOffset+"px";
    B_MI.style.width=B_MSz+"px"}
   B_Angle+=Book_Speed/720*Math.PI;
   if(B_Angle>=Math.PI/2&&B_Direction){
    B_Direction=0;
    if(B_CrImg==Book_Image_Sources.length)B_CrImg=0;
    B_MI.src=B_Pre_Img[B_CrImg].src;
    B_MI.lnk=Book_Image_Sources[B_CrImg+1];
    B_CrImg+=2}
   if(B_Angle>=Math.PI){
    B_Direction=1;
    B_TI=B_LI;
    B_LI=B_MI;
    B_MI=B_TI;
    if(Book_Vertical_Turn)B_MI.style.top=0+"px";
    else B_MI.style.left=Book_Image_Width+1+"px";   
    B_MI.src=B_RI.src;
    B_MI.lnk=B_RI.lnk;
    setTimeout("Book_Next_Delay()",Book_NextPage_Delay)}
   else setTimeout("BookImages()",50)}
  else setTimeout("BookImages()",50)}
 function Book_Next_Delay(){
   if(B_CrImg==Book_Image_Sources.length)B_CrImg=0;
   B_RI.src=B_Pre_Img[B_CrImg].src;
   B_RI.lnk=Book_Image_Sources[B_CrImg+1];
   B_MI.style.zIndex=2;
   B_LI.style.zIndex=1;
   B_Angle=0;
   B_CrImg+=2;
  setTimeout("BookImages()",50)}
 function B_LdLnk(){if(this.lnk)window.location.href=this.lnk}
 function B_Stp(){B_Stppd=true;this.style.cursor=this.lnk?"pointer":"default"}
 function B_Rstrt(){B_Stppd=false}
</script>
</head>
<body onload="ImageBook()">
<div id="Book" style="position:relative">
<img src="butong_net.jpg" width="230" height="400">
</body>
</html>


评论 (3)

请稍候...
很抱歉,您输入的评论太长。请缩短您的评论。
您没有输入任何内容,请重试。
很抱歉,我们当前无法添加您的评论。请稍后重试。
若要添加评论,需要您的家长授予您相应权限。请求权限
您的家长禁用了评论功能。
很抱歉,我们当前无法删除您的评论。请稍后重试。
您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
完成下面的安全检查,您提供评论的过程才能完成。
您在安全检查中键入的字符必须与图片或音频中的字符一致。

若要添加评论,请使用您的 Windows Live ID 登录(如果您使用过 Hotmail、Messenger 或 Xbox LIVE,您就拥有 Windows Live ID)。登录


还没有 Windows Live ID 吗?请注册

没有名字发表:

Hi,Do you need advertising displays, advertisement screens, LCD digital signage and LCD signages? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.

amberdigital Contact Us

website:www.amberdigital.com.hk
alibaba:amberdigital.en.alibaba.com[fddfbcjcagieg]

9 月 26 日
8 月 10 日
8 月 2 日

引用通告

此日志的引用通告 URL 是:
http://y1118s1115.spaces.live.com/blog/cns!90FDECCBA8C96E98!1288.trak
引用此项的网络日志