first commit

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 12:19:53 -04:00
commit 7c8c8b1c76
4586 changed files with 2050693 additions and 0 deletions
@@ -0,0 +1,52 @@
var $j = jQuery.noConflict();
$j( document ).ready( function() {
"use strict";
// Woo account Login/Register links
oceanwpWooAccountLinks();
} );
/* ==============================================
WOOCOMMERCE ACCOUNT LOGIN/REGISTER LINKS
============================================== */
function oceanwpWooAccountLinks() {
"use strict"
// Return if registration disabled
if ( $j( '.owp-account-links' ).hasClass( 'registration-disabled' ) ) {
return;
}
// Vars
var $login = $j( '.owp-account-links .login a' ),
$register = $j( '.owp-account-links .register a' ),
$col_1 = $j( '#customer_login .col-1' ),
$col_2 = $j( '#customer_login .col-2' );
// Display login form
$login.on( 'click', function() {
$j( this ).addClass( 'current' );
$register.removeClass( 'current' );
$col_1.siblings().stop().fadeOut( function() {
$col_1.fadeIn();
} );
return false;
} );
// Display register form
$register.on( 'click', function() {
$j( this ).addClass( 'current' );
$login.removeClass( 'current' );
$col_2.siblings().stop().fadeOut( function() {
$col_2.fadeIn();
} );
return false;
} );
}