jquery opacity with another image

Posted by user1828505 on Stack Overflow See other posts from Stack Overflow or by user1828505
Published on 2012-11-17T04:54:25Z Indexed on 2012/11/17 4:59 UTC
Read the original article Hit count: 596

i am trying to attatin the opacity of my image with book mark and cross image on it how to attain it

i am providing my screenshot below docs.google.com/file/d/0B3IBJKENGE7RS1lwZzhYbTNRbkk/edit?pli=1

here is my js code jsfiddle.net/mwPeb/18

          $(document).ready(function(){
                  $(".specialHoverOne").hover(function(){
    //  alert("i am here");
                    $(".ctaSpecialOne").css("visibility","visible");


                    },
                    function(){
                        $(".ctaSpecialOne").css("visibility","hidden");
                  }
                  );

     $(".ctaSpecialOne").click(function(e){
                        e.preventDefault();

                        $(this).parent().prev().prev().css({'opacity':.5});
$(this).remove();     

                 }); 


                });

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui