Titre: Images défilantes
Posté par: Younderboy le le 03-12-2006 a 21:58:16
Quelqu'un sait comment on peut faire défiler des images comme sur cette page : http://www.apple.com/fr/macbook/ilife.html (http://www.apple.com/fr/macbook/ilife.html) ? D'avance merci ! |
Titre: Re:Images défilantes
Posté par: theonlydrayk le le 04-12-2006 a 07:02:08
Tu n'a qua regarder le html source pour trouver.... C'est du html avec 2 Javascript :
http://wdirect.apple.com/main/js/browserdetect.js (http://wdirect.apple.com/main/js/browserdetect.js) http://www.apple.com/euro/macbook/scripts/scrollinator_nolinks.js (http://www.apple.com/euro/macbook/scripts/scrollinator_nolinks.js)
Code:
<div id="scroller"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0120061108.jpg" alt="iLife" width="154" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0220061108.jpg" alt="iLife" width="157" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0320061108.jpg" alt="iLife" width="170" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0420061108.jpg" alt="iLife" width="141" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0520061108.jpg" alt="iLife" width="177" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0620061108.jpg" alt="iLife" width="176" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0720061108.jpg" alt="iLife" width="113" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0820061108.jpg" alt="iLife" width="167" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator0920061108.jpg" alt="iLife" width="137" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator1020061108.jpg" alt="iLife" width="155" height="220"> <img src="http://images.apple.com/fr/macbook/images/ilifescrollinator1120061108.jpg" alt="iLife" width="181" height="220"> </div> |
|
Je crois que la facon la plus simple de le faire serait un avec flash, quelque images sont uniquement esthetique et ca ne gene personne si on ne possede pas le plug-in flash et on a aucun besoin que les moteurs de recherche index un gadgets esthetique.
|
Forum-webmaster | Actionné par YaBB SE
© 2001-2003, YaBB SE Dev Team. Tous droits réservés.
|