1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>D-core Création - Infographie & Webdesign</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all"/>
<link rel="stylesheet" href="css/style.css" type="text/css" media="all"/>
<link rel="stylesheet" type="text/css" href="css/jfancytile.css"/>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.jfancytile.js"></script>
<style>
h1.title{
text-indent:-9000px;
background:transparent url(images/title.png) no-repeat top left;
width:633px;
height:69px;
padding-bottom: 40px;
}
</style>
</head>
<body>
<div id="wrapper">
<div class="content">
<a href="index.html"><h1 class="title"></h1></a>
<ul id="sdt_menu" class="sdt_menu">
<li>
<a href="#">
<img src="images/seahorses.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">L'agence</span>
<span class="sdt_descr">Contact</span>
</span>
</a>
<div class="sdt_box">
<a href="#">CV</a>
<a href="#">Contact</a>
<a href="#">Prestations</a>
</div>
</li>
<li>
<a href="#">
<img src="images/dream.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Portfolio</span>
<span class="sdt_descr">Mes travaux</span>
</span>
</a>
<div class="sdt_box">
<a href="print.html">Print</a>
<a href="#">Websites</a>
<a href="#">Perso</a>
</div>
</li>
<li>
<a href="#">
<img src="images/punk.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Inspiration</span>
<span class="sdt_descr">Ou mes idées naissent</span>
</span>
</a>
</li>
<li>
<a href="#">
<img src="images/photo.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Photos</span>
<span class="sdt_descr">J'aime la photo</span>
</span>
</a>
</li>
</ul>
</div>
<div id="content2">
<div id="galerie">
<ul>
<li><img src="images/01_frog.jpg" alt="Poisonous Frog" /></li>
<li><img src="images/02_shark.jpg" alt="Dangerous Shark" /></li>
<li><img src="images/03_tiger.jpg" alt="White Tiger" /></li>
<li><img src="images/04_snake.jpg" alt="Red Spitting Cobra" /></li>
<li><img src="images/05_spider.jpg" alt="Small Spider" /></li>
</ul>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
$('#sdt_menu > li').bind('mouseenter',function(){
var $elem = $(this);
$elem.find('img')
.stop(true)
.animate({
'width':'170px',
'height':'170px',
'left':'0px'
},400,'easeOutBack')
.andSelf()
.find('.sdt_wrap')
.stop(true)
.animate({'top':'140px'},500,'easeOutBack')
.andSelf()
.find('.sdt_active')
.stop(true)
.animate({'height':'170px'},300,function(){
var $sub_menu = $elem.find('.sdt_box');
if($sub_menu.length){
var left = '170px';
if($elem.parent().children().length == $elem.index()+1)
left = '-170px';
$sub_menu.show().animate({'left':left},200);
}
});
}).bind('mouseleave',function(){
var $elem = $(this);
var $sub_menu = $elem.find('.sdt_box');
if($sub_menu.length)
$sub_menu.hide().css('left','0px');
$elem.find('.sdt_active')
.stop(true)
.animate({'height':'0px'},300)
.andSelf().find('img')
.stop(true)
.animate({
'width':'0px',
'height':'0px',
'left':'85px'},400)
.andSelf()
.find('.sdt_wrap')
.stop(true)
.animate({'top':'25px'},500);
});
$("#galerie").jfancytile({
inEasing: "easeOutBounce", // from jQuery Easing Plugin
outEasing: "easeInCirc", // from jQuery Easing Plugin
inSpeed: 2000,
outSpeed: 3500,
rowCount: 5,
columnCount: 10,
maxTileShift: 5
});
});
</script>
</div>
</body>
</html> |
Partager