Trolet Posted September 3, 2009 Share Posted September 3, 2009 Bonjour à tous,je suis tombé (aïe) sur ce site ici et je me demande comment est réalisée l'animation au niveau du menu. en effet quand on survole une catégorie, l'image de derrière bouge. d'après fireburg, c'est le background-position qui est modifié mais comment est-ce possible ?ça se passe dans le fichier css ou php ? en gros il faudrait une variable qui change selon qu'on est sur telle ou telle catégorie mais je vois pas comment faire merci d'avance ! Link to comment Share on other sites More sharing options...
Atch Posted September 3, 2009 Share Posted September 3, 2009 Salut trolet,C'est un script (mootools) qui génère ce menu.L'équivalent (jquery) connu est lavalamp :En françaishttp://www.guillaumebizet.fr/post/2008/02/13/LavaLamp-un-menu-anime-via-jQueryEn anglais:http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/V++Atch Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now