jquery opacity with another image
- by user1828505
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();
});
});