Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Nov 2007
    Thanked 0 Times in 0 Posts

    How to Return to Original Image

    Needless to say, I am no coder! I dabble with it only when I have to.
    I have images/text linked to buttons that fade in “onclick” from “original” images/text .
    I’ve gotten this to work great with text or image but… I would like the images/text to fade out and return to “original” images/text after a time limit and or no mouse use.
    Here’s the code I have so far:

    $('.image1).click(function() {
    		$('#original_image).fadeOut(300, function() {
    		var  the_image = $('#image1).html();
    Last edited by cbr549; 02-22-2011 at 06:03 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts