Jquery焦点图特效

 

Jquery焦点图特效,点击可以查看大图
需      要: 0.0 金币
折      扣: 100 (% 折)
 
相关搜索: Jquery 焦点图 
下载次数: 12
支持一下(1)
100.00%
踩一下(0)
0.00%
  • 下载等级:
  • 编  号: 20120601161915
  • 浏览器兼容IE6.0及以前,IE7.0,IE8.0,IE9.0,Firefox9.0及以前,Firefox10.0,Chrome17.0及以前,Chrome18.0
  • 更新日期: 2012-06-01
  • 大  小: 221.85K
  • 浏览次量: 2042
  • 开发者链接: 官网  演示
  • 相  关: 违规举报
  • 收  藏:( 0 人收藏) 加入收藏
  • 此内容校验人员: sinacomcn
分享到:   
pengbinhai  
 上士 上传于/2012-06-01 16:21:36
零星会员   
   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>jquery焦点图特效by 25175</title>

<link href="http://img.51udf.com/ui/favicon.ico" rel="shortcut icon">
<link type="text/css" rel="stylesheet" href="scroll-commom_files/common.css">
<script type="text/javascript" src="scroll-commom_files/jquery.js"></script>
</head>
<body>
<h2><a href="http://www.25175.com/" tittle="jquery插件">25175</a></h2>

<h1>jQuery焦点图</h1>

<style type="text/css">
.demo{ width:640px; height:200px; position:relative; overflow:hidden; border:#ddd 1px solid;padding:5px;}
.num{ position:absolute;right:10px; top:10px; z-index:10;}
.num a{ width:16px; height:16px; display:inline-block; text-align:center; margin:0 3px; cursor:pointer;}
.num a.cur{ background:#ff6700;color:#fff;}
.demo ul{ position:relative; z-index:5;}
.demo ul li{ position:absolute; display:none;}
</style>

<div class="demo">
    <div class="num"><a class="cur">1</a><a>2</a><a>3</a></div>
    <ul>
        <li style="display:block;"><a href="http://www.25175.com/" target="_blank">
        <img src="scroll-commom_files/ipad.png"></a></li>
        <li><a href="http://www.25175.com/" target="_blank"><img src="scroll-commom_files/html5.jpg"></a></li>
        <li><a href="http://www.25175.com/" target="_blank"><img src="scroll-commom_files/css.jpg"></a></li>
    </ul>
</div>

<script type="text/javascript">
$(function(){
    var sw = 0;
    $(".demo .num a").mouseover(function(){
        sw = $(".num a").index(this);
        myShow(sw);
    });
    function myShow(i){
        $(".demo .num a").eq(i).addClass("cur").siblings("a").removeClass("cur");
        $(".demo ul li").eq(i).stop(true,true).fadeIn(600).siblings("li").fadeOut(600);
    }
    //滑入停止动画,滑出开始动画
    $(".demo").hover(function(){
        if(myTime){
           clearInterval(myTime);
        }
    },function(){
        myTime = setInterval(function(){
          myShow(sw)
          sw++;
          if(sw==3){sw=0;}
        } , 3000);
    });
    //自动开始
    var myTime = setInterval(function(){
       myShow(sw)
       sw++;
       if(sw==3){sw=0;}
    } , 3000);
})
</script>

<a href="http://www.25175.com/" tittle="jquery插件">25175</a>

</body></html>

 购买记录
ztdhtong
新兵
miladhamzelo
新兵
jiao_er44314
新兵
cping1210
新兵
刘涛_90
新兵
tianzy
新兵
xuxu007008
新兵
wzcmzr
新兵
as8726
新兵
hfd129981
新兵
yangdandan
新兵
sungolaw
新兵
会员评论:  

一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!

二、互相尊重,对自己的言论和行为负责。

  验证码:
 
反馈请帮助我们提高!意见反馈