Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- $(this).click(function(event){
- var myTarget = event.target;
- if (myTarget.is('.pic') {
- $(myTarget).animate({
- width: "75%"
- }, 650 );
- }
- });
- <div class=myImages id=group001>
- <img class=pic id=img001 src="../images/img001.jpg">
- <div class=text id=des001>
- mobile sequence
- </div>
- </div>
- $(this).click(function(event){
- var myTarget = $(event.target);
- if (myTarget.hasClass('pic') {
- myTarget.animate({width: "75%"}, 650 );
- }
- });
Add Comment
Please, Sign In to add comment