Jump to content

Bloc drapeaux, rollover et js


guip

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...