Is this what you are trying to do?

$(document).ready(function(){

   // This is the border code
   $("img, li.img-corner").hover(
        function(){
             $(this).next("li.event").css({borderBottom: "1px solid
#000000"});
         },
         function(){
             $(this).next("li.event").css({borderBottom: "0"});
         }
    );

   // This is the image code
   $("a, li.event").hover(
        function(){
             $(this).prev("li").find("img").attr("src","PICTURE2.jpg")
         },
         function(){
             $(this).prev("li").find("img").attr("src","assets/img/
woi_luncheonseries.jpg");
         }
    );
});

Reply via email to