Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97645

Re: DW CC 2014 Behaviors - Effects - Fade

$
0
0

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>


Viewing all articles
Browse latest Browse all 97645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>