MYFLOATINGBG This plugin can help you add a removable background background to your Web page. You can use it for the background of the entire file, or for a few banner. It supports simple animation effects, and you don't have to make a flash file or animated GIF image. by jquery and pictures alone, you can make different effects. Because we separate the animation effect from the content, we can change the text and so on at any time without affecting its operation. This effect is very atmospheric, I think it can be used in fine restaurants, jewelry show and so on for display.
1 <!DOCTYPE HTML>2 <HTMLLang= "en">3 <Head>4 <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" />5 <title></title>6 <Scripttype= "Text/javascript"src= "Js/jquery.js"></Script>7 <Scripttype= "Text/javascript"src= "Js/jquery." Myfloatingbg.js "></Script>8 <Scripttype= "Text/javascript">9 $ (document). Ready (function(){Ten One $("#demoDiv1"). MYFLOATINGBG ({direction:-1}); A - }); - </Script> the - <styletype= "Text/css"> - Body{margin:0px; } - . M{Height:740px; + text-align:Center; - font-family:Microsoft ya Black, Arial, Helvetica, Sans-serif; + Font-weight:Bold; A font-size:36px; at Line-height:740px; - } - </style> - </Head> - - <Body> in - to <DivID= "DemoDiv1"BG= "Img/fw2.png"class= "M"> + <Divstyle= "Color:rgba (222,222,222,0.4)!important;"> - Welcome to visit! the </Div> * </Div> $ </Body>Panax Notoginseng </HTML>
JS code Download