guip Posted September 9, 2010 Share Posted September 9, 2010 Bonjour à tous.je travaille actuellement sur un thème pour Prestashop pour un client, donc je découvre Prestashop au fur et à mesure.et je tombe sur le bloc drapeaux et je comprends pas pourquoi utiliser du JS pour faire un rollover faisable facilement et plus proprement en CSS (me semble t-il) ?merci de m'éclairer. <!-- /Block user information module HEADER --> <!-- Block languages module --> [removed] $('ul#first-languages li:not(.selected_language)').css('opacity', 0.3); $('ul#first-languages li:not(.selected_language)').hover(function(){ $(this).css('opacity', 1); }, function(){ $(this).css('opacity', 0.3); }); [removed] <!-- /Block languages module --> 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