SHARE
TWEET

Wordpress custom login jQuery script

prasannasp Dec 9th, 2011 144 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- Custom Login/Register/Password Code @ http://digwp.com/2010/12/login-register-password-code/ -->
  2. <!-- jQuery -->
  3.  
  4. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  5. <script type="text/javascript" charset="utf-8">
  6.         jQuery(document).ready(function() {
  7.      jQuery(".tab_content_login").hide();
  8.      jQuery("ul.tabs_login li:first").addClass("active_login").show();
  9.      jQuery(".tab_content_login:first").show();
  10.      jQuery("ul.tabs_login li").click(function() {
  11.           jQuery("ul.tabs_login li").removeClass("active_login");
  12.           jQuery(this).addClass("active_login");
  13.           jQuery(".tab_content_login").hide();
  14.           var activeTab = jQuery(this).find("a").attr("href");
  15.           if (jQuery.browser.msie) {jQuery(activeTab).show();}
  16.           else {jQuery(activeTab).show();}
  17.           return false;
  18.      });
  19. });
  20. </script>
  21.  
  22. <!-- Custom Login/Register/Password Code @ http://digwp.com/2010/12/login-register-password-code/ -->
  23.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top