Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2005
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Blink opacity instead of hover

    Hi all,

    Wondering how to change this code from hover to constant blink of opacity:

    Code:
    function fade_hover() {
    	jQuery('.fade_hover').hover(
    		function() {
    				jQuery(this).stop().animate({opacity:0.4},400);
    			},
    			function() {
    				jQuery(this).stop().animate({opacity:1},400);
    		});
    
    }
    Any help is appreciated
    Last edited by Kor; 12-23-2011 at 09:38 AM. Reason: setting the prefix to JQuery

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Wrong Forum. I'll move the Thread to the proper one.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    New Coder
    Join Date
    Apr 2005
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks.

    Anyone any suggestions?


  •  

    Posting Permissions

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