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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>news2.0</title>
<?php
$nbfeuille=8;
$nomfeuille[]="exemple.css";
$nomfeuille[]="exemple1.css";
$nomfeuille[]="exemple2.css";
$nomfeuille[]="exemple3.css";
$nomfeuille[]="exemple4.css";
$nomfeuille[]="exemple5.css";
$nomfeuille[]="exemple6.css";
$nomfeuille[]="exemple7.css";
$nomfeuille[]="exemple8.css";
$feuille=rand(0,$nbfeuille);
?>
<link href="<?php echo $nomfeuille[$feuille] ?>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/prototype.js"></
script>
<script type="text/javascript" src="js/scriptaculous.js"></script>
<script type="text/javascript">
function PulsateEffect(element){
new Effect.Pulsate(element, {duration:5, pulses:50});
}
function ShakeEffect(element){
new Effect.Shake(element, {duration:5, pulses:50});
}
</script>
</head>
<body>
<p>
<a href="#" onclick="new Effect.BlindDown('flux1', 1)">BlindDown</a> |
<a href="#" onclick="new Effect.BlindUp('flux1', 1)">BlindUp</a> |
<a href="#" onclick="new Effect.Highlight('flux1', 1)">Highlight</a> |
<a href="#" onclick="new Effect.Grow('flux1', 1)">Grow</a> |
<a href="#" onclick="new Effect.Shrink('flux1', 1)">Shrink</a> |
<a href="#" onclick="new Effect.Squish('flux1ext', 1)">Squish</a> |
<a href="#" onclick="new Effect.SwitchOff('flux1', 1)">SwitchOff</a> |
<a href="#" onclick="ShakeEffect('flux1')">Shake</a> |
<a href="#" onclick="PulsateEffect('flux1','mytext2')">Pulsate</a> |
<a href="#" onclick="new Effect.Fold('flux1', 1)">Fold</a> |
<a href="#" onclick="new Effect.DropOut('flux1', 1)">DropOut</a> |
<input type="button" value="Reset" onclick="new Effect.Appear('flux1', 1)" />
</p>
<div id="flux1">
mon texte ici
</div>
</body>
</html> |
Partager