/** * This file should contain frontend JavaScript that * will be applied to individual module instances. * * You have access to three variables in this file: * * $module An instance of your module class. * $id The module's ID. * $settings The module's settings. * * Example: */ /* jQuery(document).ready(function(){ interactive_banner2(); jQuery(window).load(function(){ interactive_banner2(); }); jQuery(window).resize(function(){ interactive_banner2(); }); function interactive_banner2() { jQuery(".uabb-new-ib").each(function(index, element) { jQuery(this).hover( function(){ jQuery(this).find(".uabb-new-ib-img").css("opacity", jQuery(this).data('hover-opacity') ); }, function(){ jQuery(this).find(".uabb-new-ib-img").css("opacity", jQuery(this).data('opacity') ); } ); }); } }); */