Is the background code of a mobile webpage very beautiful? The background of the webpage is very beautiful

Source: Internet
Author: User

Is the background code of a mobile webpage very beautiful? The background of the webpage is very beautiful
<Html>
<Head>
<Title> mobile background </title>
</Head>
<Body background = "bgdemo3.jpg">
<Script language = "JavaScript">
<! -- Begin
Var backgroundOffset = 0; // the offset of the background image.
Var bgObject = eval ('document. body'); // obtain the object of the document.
Function scrollBG (maxSize) {// This function is the core of the rolling background
BackgroundOffset = backgroundOffset + 1; // Add 1 point to the background offset.
If (backgroundOffset> maxSize) backgroundOffset = 0; // if the offset exceeds the maximum value, the return value is zero.
BgObject. style. backgroundPosition = "0" + backgroundOffset; // set the background offset to take effect.
}
Var ScrollTimer = window. setInterval ("scrollBG (307)", 64); // you can specify the interval between different backgrounds.
// End -->
</Script>
<Div style = "position: absolute; top: 200; left: 300;">
<Table border = "0" width = "100%" cellspacing = "0" cellpadding = "0">
<Tr>
<Td width = "100%"> <B> is the background of the flow very beautiful? </B> </td>
</Tr>
</Table>
</Div>
<Div> <A href = "http://www.999jiujiu.com/"> http://www.999jiujiu.com/</A> </div>
</Body>
</Html>

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.