木质风格鼠标经过弹出下拉的jquery导航菜单

 

木质风格鼠标经过弹出下拉的jquery导航菜单,点击可以查看大图
需      要: 0.0 金币
折      扣: 100 (% 折)
 
下载次数: 11
支持一下(1)
100.00%
踩一下(0)
0.00%
  • 下载等级:
  • 编  号: 20120601172706
  • 浏览器兼容IE6.0及以前,IE7.0,IE8.0,IE9.0,Firefox9.0及以前,Firefox10.0,Chrome17.0及以前,Chrome18.0,Opera
  • 更新日期: 2012-06-01
  • 大  小: 701.46K
  • 浏览次量: 3292
  • 开发者链接: 官网  演示
  • 相  关: 违规举报
  • 收  藏:( 0 人收藏) 加入收藏
  • 此内容校验人员: sinacomcn
分享到:   
pengbin  
 中尉 上传于/2012-06-01 17:29:57
VIP会员   
   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>木质风格鼠标经过弹出下拉的jquery导航菜单 by 25175</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="style.css" type="text/css" media="screen"/>
</head>
<body>
<div id="header"></div>
<div id="content">
  <div id="home" class="text">
    <h1>Amazing grungy slide out stuff</h1>
    <p>This is an example of some text!</p>
    <p>If anybody looks at a picture by Claude Monet from the point of view of
      a Raphael, he will see nothing but a meaningless jargon of wild
      paint-strokes. And if anybody looks at a Raphael from the point of view
      of a Claude Monet, he will, no doubt...</p>
  </div>
  <div id="about" class="text" style="display:none;">
    <h1>Some amazing about section</h1>
    <p>This is an example of some text!</p>
    <p>In tone drawing there is not only the shape of the masses to be
      considered, but their values--that is, their position in an imagined
      scale from dark to light. The relation of the different tones in this
      way--the values, as it is called--is an extremely important matter in
      painting.</p>
  </div>
  <div id="search" class="text" style="display:none;">
    <h1>Search the world!</h1>
    <p>This is an example of some text!</p>
    <p>
      <label for="searchinput">Search for:</label>
      <input type="text"/>
    </p>
  </div>
  <div id="photos" class="text" style="display:none;">
    <h1>Some awesome photos</h1>
    <p>This is an example of some text!</p>
    <p> <img alt="img" src="img1.png" width="170" height="120"/> <img alt="img" src="img1.png" width="170" height="120"/> <img alt="img" src="img1.png" width="170" height="120"/> </p>
  </div>
  <div id="contact" class="text" style="display:none;">
    <h1>Get in touch</h1>
    <p>This is an example of some text!</p>
    <p>Some contact details...</p>
  </div>
</div>
<ul id="navigation">
  <li class="home"><a title="Home">Home</a></li>
  <li class="about"><a title="About">About</a></li>
  <li class="search"><a title="Search">Search</a></li>
  <li class="photos"><a title="Photos">Photos</a></li>
  <li class="contact"><a title="Contact">Contact</a></li>
</ul>
<div class="info"> <a class="back" href="">back to Codrops</a> </div>


<div style="width:550px;margin:20px auto;">
<p><strong><a href="http://www.25175.com" target="_blank">25175</a></strong> </p>
</div>

<!-- The JavaScript -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript">
            $(function() {
                var d=300;
                $('#navigation a').each(function(){
                    var $this = $(this);
                    var r=Math.floor(Math.random()*41)-20;
                    $this.css({'-moz-transform':'rotate('+r+'deg)','-webkit-transform':'rotate('+r+'deg)','transform':'rotate('+r+'deg)'});
                    $('#content').css({'-moz-transform':'rotate('+r+'deg)','-webkit-transform':'rotate('+r+'deg)','transform':'rotate('+r+'deg)'});
                    $this.stop().animate({
                        'marginTop':'-70px'                       
                    },d+=150);
                });
                $('#navigation > li').hover(
                    function () {
                        var $this = $(this);
                        $('a',$this).stop().animate({
                            'marginTop':'-40px'
                        },200);
                    },
                    function () {
                        var $this = $(this);
                        $('a',$this).stop().animate({
                            'marginTop':'-70px'
                        },200);
                    }
                ).click(function(){
                    var $this = $(this);
                    var name = this.className;
                    $('#content').animate({marginTop:-600}, 300,function(){
                        var $this = $(this);
                        var r=Math.floor(Math.random()*41)-20;
                        $this.css({'-moz-transform':'rotate('+r+'deg)','-webkit-transform':'rotate('+r+'deg)','transform':'rotate('+r+'deg)'});
                        $('#content div').hide();
                        $('#'+name).show();    
                        $this.animate({marginTop:-200}, 300);
                    })        
                });
            });
        </script>
</body>
</html>

 购买记录
cnzsq
新兵
miladhamzelo
新兵
a3963969
新兵
a5227230
新兵
cping1210
新兵
chrisyun
新兵
刘涛_90
新兵
xuyuan
新兵
hfd129981
新兵
taiyu6005
新兵
tyt827
新兵
会员评论:  

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

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

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