golden hour
/home/doctorbruno/public_html/taeionline.com/wp-content/themes/blesk/assets/js
⬆️ Go Up
Upload
File/Folder
Size
Actions
customizer_live.js
10.14 KB
Del
OK
html5shiv.js
10.09 KB
Del
OK
owl.carousel.js
51.56 KB
Del
OK
owl.carousel.min.js
23.38 KB
Del
OK
scripts.js
1.96 KB
Del
OK
Edit: scripts.js
jQuery( document ).ready( function($) { $(".featured-articles").owlCarousel({ items: 4, itemsDesktop : false, itemsDesktopSmall : [1024,2], itemsTablet : false, itemsMobile : [560,1], autoPlay : 3000, pagination : false, }); var windowWidth = $( window ).width(); var breakPoint = 1025; // Open menu function blesk_openMenu() { $( ".bottom-header .open-menu .open" ).click( function() { $( ".bottom-header .menunav" ).addClass( "show-menu" ); $( this ).hide(); $( ".bottom-header .open-menu .close" ).show(); }); $( ".bottom-header .open-menu .close" ).click( function() { $( ".bottom-header .menunav" ).removeClass( "show-menu" ); $( this ).hide(); $( ".bottom-header .open-menu .open" ).show(); }); }; function blesk_openSearchBar() { $( ".open-search" ).click( function() { $( this ).hide(); $( this ).parent().find( ".close-search" ).show(); $( this ).parent().find( ".search-input" ).addClass( "show" ); }); $( ".close-search" ).click( function() { $( this ).hide(); $( this ).parent().find( ".open-search" ).show(); $( this ).parent().find( ".search-input" ).removeClass( "show" ); }); }; // Color pink article-preview's title function blesk_hoverTitle( a, b ) { $( a ).each( function() { $( this ).on({ mouseenter: function () { $( this ).parent().find( b ).addClass( "hover-state" ); }, mouseleave: function () { $( this ).parent().find( b ).removeClass( "hover-state" ); } }); }) } blesk_openMenu(); blesk_openSearchBar(); blesk_hoverTitle( ".main-content .post .entry-image", ".entry-content .entry-title a" ); blesk_hoverTitle( ".main-content .sidebar .widget .post .entry-image", ".read-more" ); blesk_hoverTitle( ".other-articles .post .entry-image", ".entry-title a" ); blesk_hoverTitle( ".bottom-header .search .search-input input[type='submit']", ".search-btn" ); });
Save