This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
src: "https://codepen.io/zazizuw/pen/WNQNrpr/" | |
this is only simplification from many animation heading style | |
*/ | |
jQuery(document).ready(function($){ | |
//set animation timing | |
var animationDelay = 6000; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const element = document.querySelector('.bottomMenu'); | |
const styleJs = { | |
display: 'none', | |
position: 'fixed', | |
opacity: '0.95', | |
left: '0', | |
bottom: '0', | |
width: '100%', | |
height: '120px', | |
zIndex: '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var seat = 43; | |
document.getElementById('countdown').innerHTML = seat; | |
const myInterval = setInterval(decre, 15000); | |
function showChange(){ | |
seat = seat - 2 | |
document.getElementById('countdown').innerHTML = seat; | |
} | |
function decre(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
var testim = document.getElementById("testim"), | |
testimDots = Array.prototype.slice.call(document.getElementById("testim-dots").children), | |
testimContent = Array.prototype.slice.call(document.getElementById("testim-content").children), | |
testimLeftArrow = document.getElementById("left-arrow"), | |
testimRightArrow = document.getElementById("right-arrow"), | |
testimSpeed = 9000, | |
currentSlide = 0, | |
currentActive = 0, | |
testimTimer, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $ = jQuery; | |
$(document).ready(function(){ | |
//default | |
$('.text-details').hide(); | |
$('.text-details.active').show(); | |
//after click | |
$(".tabmenu").on("click", function(){ | |
var dataId = $(this).attr("data-tab"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function() { | |
var the_timer = setInterval( function() { | |
if( typeof Swiper && typeof jQuery ) { | |
runTheCode(); | |
clearInterval( the_timer ); | |
} | |
}, 100 ); | |
} )(); | |
function runTheCode() { | |
// add 'swiper-container' class to .elementor-container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const headerSticky = document.querySelector('#stickyheaders'); | |
const headerUP = document.querySelector('.headerup'); | |
const styles = { | |
sticky: { | |
transition : 'transform 0.34s ease' | |
}, | |
up: { | |
transform: 'translateY(-80px)' | |
}, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($) { | |
$("#myInput").on("keyup", function() { | |
var value = $(this).val().toLowerCase(); | |
//Select all article and show | |
$("article > div").show().filter(function() { | |
//Find h3 and p also check if the value is substring of the text. Return true if not found. | |
return $(this).find('h3,p').text().toLowerCase().indexOf(value) === -1; | |
}).hide(); | |
//Hide all h3 and p that that the value is not the substring of text | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
selector .box-container:hover .box-img:after{ | |
content: "COMING SOON"; | |
opacity: 1; | |
font-size: 24px; | |
color: var(--e-global-color-710bfa0); | |
text-shadow: 0px 1px 0px 0px rgba(0.0.0.0,5); | |
letter-spacing: 1,5em; | |
position: absolute; | |
font-weight: bold; | |
top: 50%; |
OlderNewer