ggbusta wrote:
To repeat my goal - fade a photo in, it stays there, then a customer clicks on the photo to close it.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script>
$(document).ready(function() {
$('.myImage img').hide();
$('load',function(){
$('.myImage img').fadeIn(2000);
$('.myImage').click(function()
{
$(this).fadeOut(2000);
});
});
});
</script>
</head>
<body>
<div class="myImage"><img src="imageName.jpg" alt=""></div>
</body>
</html>