首頁 >web前端 >js教程 >Jquery右下角抖動、浮動 實例碼(相容ie6、FF)_jquery

Jquery右下角抖動、浮動 實例碼(相容ie6、FF)_jquery

WBOY
WBOY原創
2016-05-16 17:25:311170瀏覽
複製程式碼程式碼如下:

setTimeout("document.getElementById('qqq; ='block'; ",5000);
// JavaScript 文件
$(function(){
    if($.browser.msie&&$.browser.version=="6.0"&&$(" html")[0].scrollHeight>$("html").height())
        $("html").css("overflowY","scroll");
     .css("overflowX","隱藏");
});
function right_down(){
document.writeln("
='close_fk.jpg' style='float:right;' id='guanbi'onclick ="_gaq.push(['_trackEvent', 'QQDD', '點擊', '關閉']);" />Jquery右下角抖動、浮動 實例碼(相容ie6、FF)_jqueryJquery右下角抖動、浮動 實例碼(相容ie6、FF)_jquery
")
}
right_down();
$("#guanbi").click(function(){
$("#my_img").hide();
} );
$("#guanbi0").click(function(){
$("#my_img").hide() ;
});
functionrattleimage(){$(" #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({上:'-=3'},50);$("#my_img" ).animate({left:'-=3'},50);$("#my_img").animate({頂部:' = 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("慢");$('#my_img').fadeIn('慢');setTimeout("rattleimage( )",10000);}
rattleimage();
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn