1 <script type="text/javascript"> 2 $(function() { 3 var conAry = $("[name=h_light]"); 4 conAry.each(function(){ 5 var $this = $(this); 6 var els = $("a", $this); 7 els.each(function(){ 8 var el = $(this); 9 el.mouseover(function() { 10 els.css({ "opacity": 0.2}); 11 el.animate({ "opacity": 0.9 }); 12 }); 13 }); 14 $this.mouseout(function() { 15 els.css("opacity", 1); 16 }); 17 }); 18 }); 19 20 21 22 </script>