Copy codeThe Code is as follows:
SetTimeout ("document. getElementById ('qq _ dd'). style. display = 'block';", 5000 );
// JavaScript Document
$ (Function (){
If ($. browser. msie & $. browser. version = "6.0" & $ ("html") [0]. scrollHeight> $ ("html "). height ())
$ ("Html" ).css ("overflowY", "scroll ");
$ ("Html" ).css ("overflowX", "hidden ");
});
Function right_down (){
Document. writeln ("<div id = 'qq _ dd' class = 'foot _ scroll 'style = 'display: none; position: fixed; margin: 3px; bottom: 3px; right: 5px; z-index: 1000; _ position: absolute; _ top: expression(eval(document.documentelement.scrolltop#document.doc umentElement. clientHeight-this.offsetHeight-(parseInt (this. currentStyle. marginTop, 10) | 0)-(parseInt (this. currentStyle. marginBottom, 10) | 0); _ bottom: auto; '> <div id = 'my _ img' style = 'position: relative; * left: 550px; width: 214px; height: 124px; font-size: 12px; color: # 1670eb; background: Large) no-repeat; '> <a href = '# 'target =' _ blank 'style = 'display: block; margin: 97px 0 0 100px; display: inline; float: left; color: # 1670eb; '> </a> <span style = 'cursor: pointer; float: right; margin: 74px 35px 0 0 0; display: inline; 'id = 'guanbi0'> </span> </div> ")
}
Right_down ();
$ ("# Guanbi"). click (function (){
$ ("# My_img"). hide ();
});
$ ("# Guanbi0"). click (function (){
$ ("# My_img"). hide ();
});
Function rattleimage () {$ ("# my_img "). animate ({top: '+ = 3'}, 50); $ ("# my_img "). animate ({left: '+ = 3'}, 50); $ ("# my_img "). animate ({top: '-= 3'}, 50); $ ("# my_img "). animate ({left: '-= 3'}, 50); $ ("# my_img "). animate ({top: '+ = 3'}, 50); $ ("# my_img "). animate ({left: '+ = 3'}, 50); $ ("# my_img "). animate ({top: '-= 3'}, 50); $ ("# my_img "). animate ({left: '-= 3'}, 50); $ ("# my_img "). animate ({top: '+ = 3'}, 50); $ ("# my_img "). animate ({left: '+ = 3'}, 50); $ ("# my_img "). animate ({top: '-= 3'}, 50); $ ("# my_img "). animate ({left: '-= 3'}, 50); $ ("# my_img "). animate ({top: '+ = 3'}, 50); $ ("# my_img "). animate ({left: '+ = 3'}, 50); $ ("# my_img "). animate ({top: '-= 3'}, 50); $ ("# my_img "). animate ({left: '-= 3'}, 50); $ ("# my_img "). animate ({top: '+ = 3'}, 50); $ ("# my_img "). animate ({left: '+ = 3'}, 50); $ ("# my_img "). animate ({top: '-= 3'}, 50); $ ("# my_img "). animate ({left: '-= 3'}, 50); $ ("# my_img "). fadeOut ("slow"); $ ('# my_img '). fadeIn ('low'); setTimeout ("rattleimage ()", 10000 );}
Rattleimage ();