亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

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

 更新時間:2013年08月15日 18:02:51   作者:  
本實例結合了jquery+js中的setTimeout函數(shù)實現(xiàn)了一直浮動在頁面右下解的廣告,有需要的朋友可以參考一下
復制代碼 代碼如下:

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.documentElement.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:url(online_cn_fk.png) no-repeat;'><img src='closed_fk.jpg' style='float:right; cursor:pointer;' id='guanbi'onclick="_gaq.push(['_trackEvent', 'QQDD', 'Click', '關閉']);" /><a href='#'  target='_blank' style='display:block; margin:97px 0 0 100px; display:inline; float:left; color:#1670eb;'><img src='jieshou_fk.jpg' onclick="_gaq.push(['_trackEvent', 'QQDD', 'Click', '咨詢']);"  border='0'/></a><span style='cursor:pointer; float:right; margin:74px 35px 0 0; display:inline;' id='guanbi0'><img src='jujue_fk.jpg' onclick="_gaq.push(['_trackEvent', 'QQDD', 'Click', '關閉']);" /></span></div></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('slow');setTimeout("rattleimage()",10000);}
rattleimage();

相關文章

  • JQuery懸??刂茍D片輪播——代碼簡單

    JQuery懸??刂茍D片輪播——代碼簡單

    jquery實現(xiàn)的鼠標懸停圖片自動輪播效果,當把鼠標懸停到圖片時,圖像就會不斷循環(huán)播放,速度非???,效果非常逼真,就和在放武俠片一樣,使用了jquery實現(xiàn)
    2015-08-08
  • JQuery-tableDnD 拖拽的基本使用介紹

    JQuery-tableDnD 拖拽的基本使用介紹

    本篇文章是對JQuery-tableDnD拖拽的基本使用進行了詳細的分析介紹,需要的朋友參考下
    2013-07-07
  • jquery判斷元素內(nèi)容是否為空的方法

    jquery判斷元素內(nèi)容是否為空的方法

    今天在實現(xiàn)一段廣告的時候,需要判斷指定元素的內(nèi)容是否為空,為空則插入廣告,否則就不執(zhí)行,這里就為大家簡單介紹一下需要的朋友可以參考一下
    2018-05-05
  • jquery動感漂浮導航菜單代碼分享

    jquery動感漂浮導航菜單代碼分享

    這篇文章主要為大家詳細介紹了jquery動感漂浮導航菜單特效,菜單可以實現(xiàn)上下浮動,文中示例代碼介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們可以參考一下
    2015-08-08
  • jQuery動態(tài)生成的元素綁定事件操作實例分析

    jQuery動態(tài)生成的元素綁定事件操作實例分析

    這篇文章主要介紹了jQuery動態(tài)生成的元素綁定事件操作,結合實例形式分析了jQuery事件綁定的原理及動態(tài)生成的元素綁定事件相關操作技巧,需要的朋友可以參考下
    2019-05-05
  • Jquery在指定DIV加載HTML示例代碼

    Jquery在指定DIV加載HTML示例代碼

    這篇文章主要介紹了Jquery如何在指定DIV加載HTML,需要的朋友可以參考下
    2014-02-02
  • jquery中ajax學習筆記3

    jquery中ajax學習筆記3

    由于很多知識都已經(jīng)做了詳細介紹,本節(jié)只介紹需要修改的代碼,使用jqery封裝的ajax使用XML格式接收服務器端的數(shù)據(jù),web.xml、后臺的servet都不用改
    2011-10-10
  • jQuery基礎知識小結

    jQuery基礎知識小結

    本文主要通過jQuery基礎知識、選擇要操作的元素及處理DOM元素3個方面給我們做了下小結,非常的詳盡,推薦給有需要的小伙伴。
    2014-12-12
  • jQuery實現(xiàn)可兼容IE6的滾動監(jiān)聽功能

    jQuery實現(xiàn)可兼容IE6的滾動監(jiān)聽功能

    這篇文章主要介紹了jQuery實現(xiàn)可兼容IE6的滾動監(jiān)聽功能,結合實例形式分析了jQuery針對不同瀏覽器的事件監(jiān)聽、響應及頁面屬性動態(tài)變換相關實現(xiàn)技巧,需要的朋友可以參考下
    2017-09-09
  • jQuery簡單實現(xiàn)頁面元素置頂時懸浮效果示例

    jQuery簡單實現(xiàn)頁面元素置頂時懸浮效果示例

    這篇文章主要介紹了jQuery簡單實現(xiàn)頁面元素置頂時懸浮效果的方法,涉及jQuery針對頁面元素樣式的動態(tài)操作技巧,需要的朋友可以參考下
    2016-08-08

最新評論