<!DOCTYPE html>
<html>
<head>

<style>

/*首页右侧快速导航栏*/
.rightNav{position:fixed; width:140px; right:0; top:180px; _position:absolute; text-align:left; cursor:pointer; background-image:url(about:blank);}
.rightNav a{display:block; position:relative; height:30px; line-height:30px; margin-bottom:2px; background:#fff; padding-right:10px; width:130px; overflow:hidden; cursor:pointer; right:-110px;}
.rightNav a:hover{text-decoration:none; color:#39A4DC;}
.rightNav a:hover em{background:#00b700}
.rightNav a em{display:block; float:left; width:30px;height: 30px; line-height: 30px;margin-top: 0; background:#39A4DC; color:#fff; font-size:16px; text-align:center; margin-right:10px;}
.rightNav a.new em{background:#f60;}
.demoBox .iframeWrap{width:452px;}
.demoBox .iframeWrap iframe{width:452px; height:232px; background:url(../images/loading.gif) center center no-repeat;}
/*当前位置*/
.position{height:23px;font:normal 12px/23px 'Microsoft Yahei';background:#fff url(../images/index_sprite.png) no-repeat left -515px;border-bottom:1px solid #eee;padding-bottom:5px;color:#333;text-indent:25px; width: 941px; margin-bottom: 5px;}
.position a{color:#333;}
.position a:hover{color:#014da3;}
#elevator_item{width: 60px;height: 100px;position: fixed;right: 30px;bottom: 40px;-webkit-transition: opacity .4s ease-in-out;-moz-transition: opacity .4s ease-in-out;-o-transition: opacity .4s ease-in-out;opacity: 1;z-index: 100020;display: none;}
#elevator_item.off{opacity: 0;visibility: hidden}
#elevator{display: block;width: 60px;height: 50px;background: url(../images/icon_top.png) center center no-repeat;background-color: #444;background-color: rgba(0,0,0,.6);border-radius: 2px;box-shadow: 0 1px 3px rgba(0,0,0,.2);cursor: pointer;margin-bottom: 10px}
#elevator:hover{background-color: rgba(0,0,0,.7)}
#elevator:active{background-color: rgba(0,0,0,.75)}

</style>

<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="css/reset.css"/>
<link rel="stylesheet" type="text/css" href="css/rightnav.css"/>
</head>
<body>
<div class="rightNav">
<a href="#top"><em>^</em>回到顶部</a>
<a href="#Banner"><em>1</em>焦点幻灯</a>
<a href="#Nav"><em>2</em>菜单导航</a>
<a href="#Tab"><em>3</em>选项卡</a>
<a href="#Service"><em>4</em>在线客服</a>
<a href="#Picture"><em>5</em>图片特效</a>
<a href="#Album"><em>6</em>相册特效</a>
<a href="#Form"><em>7</em>表单按钮</a>
<a href="#Scorlling"><em>8</em>广告/滚动</a>
<a href="#Other"><em>9</em>其他特效</a>
</div>
</body>
<script src="Data/js/jquery.js"></script>
<script>
//右侧导航
var btb=$(".rightNav");
var tempS;
$(".rightNav").hover(function(){
var thisObj = $(this);
tempS = setTimeout(function(){
thisObj.find("a").each(function(i){
var tA=$(this);
setTimeout(function(){ tA.animate({right:"0"},200);},50*i);
});
},200);
},function(){
if(tempS){ clearTimeout(tempS); }
$(this).find("a").each(function(i){
var tA=$(this);
setTimeout(function(){ tA.animate({right:"-110"},200,function(){
});},50*i);
});
});
var isIE6 = !!window.ActiveXObject&&!window.XMLHttpRequest;
//滚动加载
var scrollLoad =function(){
$("#content iframe[_src]").each(function(){
var t = $(this);
if( t.offset().top<= $(document).scrollTop() + $(window).height() )
{
t.attr( "src",t.attr("_src") ).removeAttr("_src");
}
});//each E
}
scrollLoad();
$(window).scroll(function(){
if(isIE6){ btb.css("top", $(document).scrollTop()+30) }
scrollLoad();
});
</script>
</html>

posted on 2016-05-24 17:43  再美的梦。  阅读(181)  评论(0编辑  收藏  举报