最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

JQUERY實(shí)現(xiàn)左側(cè)TIPS滑進(jìn)滑出效果示例

 更新時(shí)間:2013年06月27日 18:04:31   作者:  
左側(cè)提示滑進(jìn)滑出的平滑效果使用jQuery實(shí)現(xiàn),具體代碼及截圖如下,感興趣的朋友可以參考下哈,希望對(duì)大家學(xué)習(xí)jquery有所幫助
左側(cè)提示 滑進(jìn)滑出 平滑效果,各位童鞋如果遇到類似效果可以應(yīng)用:
 
JQUERY代碼:
復(fù)制代碼 代碼如下:

//左側(cè)浮動(dòng)
$(".reading").hover( function(){
$(this).animate({left:"50"});
$(".read").animate({left:"0"},600);
});
$(".read_close").click( function(){
$(".read").animate({left:"-287"},600);
$(".reading").animate({left:"0"},800);
});

HTML:
復(fù)制代碼 代碼如下:

<!--左側(cè)浮動(dòng)-->
<div class="reading">
<a target="_blank"><img src="../css.87504.cn/images/business/read01.gif" /></a>
</div>
<div class="read">
<a target="_blank" class="read_close"><img src="../css.87504.cn/images/business/icon_close.gif" /></a>
<p >您可以訂閱生意街商機(jī)話題,您會(huì)通過郵箱收到欄目最新內(nèi)容。</p>
<p class="read_btn"><a href="#" target="_blank" ><img src="../css.87504.cn/images/business/read02.gif" /></a></p>
</div>

CSS:
復(fù)制代碼 代碼如下:

.reading{position:fixed;left:0px;bottom:30px;cursor:pointer;width:25px;height:75px;
_position:absolute;//兼容IE6
_top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,30)||0)));<PRE class=css name="code">//兼容IE6,距離底部30</PRE>}.read{ border:1px solid #d0d0d0;width:285px;height:100px; -moz-box-shadow:0px 1px 2px #ccc; -webkit-box-shadow:0px 1px 2px #ccc; box-shadow:0px 1px 2px #ccc;//陰影效果,CSS3background:#fff;position:fixed;left:-287px;bottom:30px;z-index:10;_position:absolute;_top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,30)||0)));}.read
p{font-size:14px;line-height:22px;padding:15px 0 0 16px;width:240px;}.read p.read_btn{text-align:right;padding-top:5px}.read_close{float:right;padding:2px;cursor:pointer;}<P></P>
<PRE></PRE>
<BR>
<BR>
<P></P>
<P><BR>
</P>

相關(guān)文章

最新評(píng)論

陵川县| 勐海县| 宝坻区| 孝昌县| 高陵县| 太原市| 泸溪县| 鸡东县| 定陶县| 海盐县| 鹿邑县| 年辖:市辖区| 镶黄旗| 洪江市| 佳木斯市| 鄂托克前旗| 天全县| 新郑市| 龙陵县| 年辖:市辖区| 浙江省| 白水县| 灌阳县| 思茅市| 新密市| 鄂托克前旗| 应城市| 淄博市| 亳州市| 美姑县| 肇庆市| 蒙自县| 商丘市| 临潭县| 眉山市| 郯城县| 东乡族自治县| 淮安市| 大荔县| 西平县| 绥中县|