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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Projet ISEP</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />
<script src="lib/jquery.js" type="text/javascript"></script>
<script type="text/javascript" src="lib/jquery.selectbox-0.5.js"></script>
<script type="text/javascript" src="lib/jquery.qtip-1.0.0-rc3.js"></script>
<script src="custom.js" type="text/javascript"></script>
</head>
<body>
<div id="en_tete">
<!-- Ici on mettra la bannière -->
</div>
<div id="menu">
<!-- Ici on mettra le menu -->
</div>
<div id="corps">
<!-- Ici on mettra le contenu principal de la page (tout le texte quoi) -->
<img id="fond" src="fond/paris.jpg" alt="l'image de fond" title="" />
</div>
<div id="pied_de_page">
<!-- Enfin, on mettra en bas de la page le nom de l'auteur, un copyright... -->
</div>
<div id="conteneur">
<button class="prev"><<</button>
<button class="next">>></button>
</div>
<div class="anyClass">
<ul>
<li><img src="images/hawaii.jpg" alt="" width="100" height="100"
title="A must have tool for designing better layouts and more intuitive user-interfaces."></li>
<li><img src="images/hawaii.jpg" alt="" width="100" height="100" ></li>
<li><img src="images/hawaii.jpg" alt="" width="100" height="100" ></li>
<li><img src="images/hawaii.jpg" alt="" width="100" height="100" ></li>
<li><img src="images/hawaii.jpg" alt="" width="100" height="100" ></li>
</ul>
</div>
<div class="option">
<select name="Items" id="Items">
<option value="option1">option1</option>
<option value="option2">option2</option>
<option value="option3">option3</option>
<option value="option4">option4</option>
</select>
</div>
<div class="categ">
<form method="post" action="traitement.php">
<p>
Catégories :<br />
<input type="checkbox" name="frites" id="frites" /> <label for="frites">Frites</label><br />
<input type="checkbox" name="steak" id="steak" /> <label for="steak">Steak haché</label><br />
<input type="checkbox" name="epinards" id="epinards" /> <label for="epinards">Epinards</label><br />
<input type="checkbox" name="huitres" id="huitres" /> <label for="huitres">Huitres</label>
</p>
</form>
</div>
<script>
$(".anyClass img[title]").tooltip({effect: 'bouncy'});
</script>
<script>
// create custom animation algorithm for jQuery called "bouncy"
$.easing.bouncy = function (x, t, b, c, d) {
var s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
}
// create custom tooltip effect for jQuery Tooltip
$.tools.tooltip.addEffect("bouncy",
// opening animation
function(done) {
this.getTip().animate({top: '+=15'}, 500, 'bouncy', done).show();
},
// closing animation
function(done) {
this.getTip().animate({top: '-=15'}, 500, 'bouncy', function() {
$(this).hide();
done.call();
});
}
);
$(".anyClass img[title]").tooltip({effect: 'bouncy'});
</script>
</body>
</html> |
Partager