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,27 @@
var $j = jQuery.noConflict();
$j( document ).ready( function() {
"use strict";
// Woo reviews scroll
oceanwpWooReviewsScroll();
} );
/* ==============================================
WOOCOMMERCE REVIEWS SCROLL
============================================== */
function oceanwpWooReviewsScroll() {
"use strict"
$j( '.woocommerce div.product .woocommerce-review-link' ).click( function( event ) {
$j( '.woocommerce-tabs .description_tab' ).removeClass( 'active' );
$j( '.woocommerce-tabs .reviews_tab' ).addClass( 'active' );
$j( '.woocommerce-tabs #tab-description' ).css( 'display', 'none' );
$j( '.woocommerce-tabs #tab-reviews' ).css( 'display', 'block' );
$j( 'html, body' ).stop(true,true).animate( {
scrollTop: $j( this.hash ).offset().top -120
}, 'normal' );
return false;
} );
}