For both, add this script to the head of the page:
Code:
<script type="text/javascript">
jQuery(function($){
var initialOpacity = 0.6;
$('a[rel=enlargeimage]').css({opacity: initialOpacity}).click(function(e){
e.preventDefault();
}).hover(function(){
$(this).stop(true, true).animate({opacity: 1});
}, function(){
$(this).stop(true, true).animate({opacity: initialOpacity});
});
});
</script>
Place it after the other two from Step 1 on the demo page. Configure the initial opacity in the highlighted area as shown.
Bookmarks