Horje
how to jump one page to another on specific tab elementor Code Example
how to jump one page to another on specific tab elementor
<script>

document.addEventListener('DOMContentLoaded', function() {
setTimeout(function() {

jQuery(function($){

let desktoptitles = $('.elementor-tab-desktop-title');
let mobiletitles = $('.elementor-tab-mobile-title');

let strings = ['?hello',
'?heythere',
'?bonjour'
];

strings.forEach( (string,i) => {
if (window.location.href.indexOf(string) > -1) {
desktoptitles.eq(i).click();
mobiletitles.eq(i).click();
$('html, body').animate({
scrollTop: desktoptitles.eq(i).offset().top - 100
},'slow');
} } );
}); }, 1200); });
</script>
Source: element.how




Javascript

Related
retore react app Code Example retore react app Code Example
js startswitch Code Example js startswitch Code Example
mongoose return full object after inserting data to db Code Example mongoose return full object after inserting data to db Code Example
how-to-show-a-confirm-message-before-delete Code Example how-to-show-a-confirm-message-before-delete Code Example
state hook is not updating react Code Example state hook is not updating react Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7