Commemorate the 5,121 Anniversary page add code share

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

May 12, 2008 14:28, China's Sichuan Wenchuan encountered a eight-magnitude earthquake. More than 60,000 compatriots were killed, more than 300,000 were injured and millions of were displaced! The twinkling of an eye has passed for nearly 1 years, I hope you webmaster in the first anniversary of the disaster, with their own little action to express the blessing of the people in the disaster area. See a Netizen to share a picture of 512, I combined his picture to organize a good effect of the code, we copy the code directly to the place to show the line ~~! You can also organize the code

The code is as follows:

<script language=javascript type=text/javascript>


var time = 500;


var h = 0;


var T = 240;


var N = 273; Height


function Addcount ()


    {


if (time>0)


        {


time--;


h = h+5;


        }


else


        {


return;


        }


if (h>273)//Height


        {


return;


        }


document.getElementById ("ads"). Style.display = "";


document.getElementById ("ads"). Style.height = h "px";


settimeout ("Addcount ()", 30);


    }


   


window.onload = function showads ()


    {


Addcount ();


settimeout ("Noneads ()", 10000); The time of stay adjusts oneself appropriately


    }





function noneads ()


    {


if (t>0)


        {


T;


N = N-5;


        }


Else


        {


return;


        }


if (n<0)


        {


document.getElementById ("Ads"). Style.display = "None";


return;


        }


        


document.getElementById ("ads"). Style.height = n "px";


settimeout ("Noneads ()", 30);


    }


</SCRIPT>





<div id=ads style= "border-right: #000 1px solid; Border-top: #000 1px solid; Display:none; Margin:auto; Overflow:hidden; Border-left: #000 1px solid; width:1002px; Border-bottom: #000 1px solid; top:0px; height:0px; Background-color: #fafafa; Text-align:center "><img src=" Http://www.sypur.com/512.gif height= "270" width= "1002" alt= "sypur.com"/> </DIV>


Detailed See www.sypur.com home effect, affirmed: not for the flow ah, my station is not the official station, just a small test of the company, and for the graduation design experiment, and now no more traffic for me.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.