Loading Please Wait...

Logo Lynxsia IT Solutions

jQuery Effects

JQ Effects

jQuery has methods for various effects such as Hide, Show, Toggle, Slide, Fade, and Animate, etc.

The hide() Methods

The hide() method is used to hide elements.

					 
        
          $("#hide").click(function(){
            $("p").hide();
          });
        
      
The show() Methods

The show() method is used to show elements.

					 
        
          $("#show").click(function(){
            $("p").show();
          });
        
      
The toggle() Methods

The toggle() method toggle between the hide() and show() methods.

					 
        
          $("#toggle").click(function(){
            $("p").toggle();
          });
        
      
The fadeIn() Methods

The fadeIn() method is used to fade in a hidden element.

					 
        
          $("#fadeIn").click(function(){
            $("p").fadeIn();
          });
        
      
The fadeOut() Methods

The fadeOut() method is used to fade out a visible element.

					 
        
          $("#fadeOut").click(function(){
            $("p").fadeOut();
          });
        
      
The fadeToggle() Methods

The fadeToggle() method toggles between the fadeIn() and fadeOut() methods.

					 
        
          $("#fadeToggle").click(function(){
            $("p").fadeToggle();
          });
        
      
The fadeTo() Methods

The fadeTo() method allows fading to a given opacity (value between 0 and 1).

					 
        
          $("#fadeTo").click(function(){
            $("p").fadeTo("slow", 0.15);
          });
        
      
The slideDown() Methods

The slideDown() method is used to slide down an element.

					 
        
          $("#slideDown").click(function(){
            $("p").slideDown();
          });
        
      
The slideUp() Methods

The slideUp() method is used to slide up an element.

					 
        
          $("#slideUp").click(function(){
            $("p").slideUp();
          });
        
      
The slideToggle() Methods

The slideToggle() method toggles between the slideDown() and slideUp() methods.

					 
        
          $("#slideToggle").click(function(){
            $("p").slideToggle();
          });
        
      
The animate() Methods

The animate() method is used to create custom animations.

					 
        
          $("#animate").click(function(){
            $("p").animate({left: '250px'});
          });
        
      

How you feel about this blog:

Share this blog on:

Report Us

If you find any error in the turtorials, or want to share your suggestion/feedback, feel free to send us email at: info@lynxsia.com

Contact Us
Ads
Logo
Lynxsia IT Solutions

We are concern with various development process like website design & development, E-commerce development, Software development, Application development, SMS & Bulk SMS Provider, PWA Development, and many more..

Kotwali Road, Chhiptehri, Banda, 210001, UP, India

Copyright © 2022, Lynxsia IT Solutions, All rights reserved