check

 avatar
unknown
html
2 years ago
1.4 kB
3
Indexable
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
var $ = jQuery
$(document).ready(function(){
$('.elementor-section[link], .elementor-column[link] > .elementor-widget-wrap').on('click', function(){
var $this = $(this).hasClass('elementor-widget-wrap') ? $(this).parent() : $(this),
link = $this.attr('link'),
link2 = $this.attr(''),
newtab = $this.attr('newtab'),
newtab2 = $this.attr('newtab'),
openIn = typeof newtab !== 'undefined' && newtab !== false ? '_blank' : '_self'
openIn2 = typeof newtab2 !== 'undefined' && newtab2 !== false ? '_blank' : '_self'
window.open(link, openIn)
window.open(link2, openIn2)
})
})
</script>
<style>
.elementor-section[link], .elementor-column[link] > .elementor-widget-wrap {
cursor: pointer;
}
</style>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> var $ = jQuery $(document).ready(function(){ $('.elementor-section[link], .elementor-column[link] > .elementor-widget-wrap').on('click', function(){ var $this = $(this).hasClass('elementor-widget-wrap') ? $(this).parent() : $(this), link = $this.attr('link'), newtab = $this.attr('newtab'), openIn = typeof newtab !== 'undefined' && newtab !== false ? '_blank' : '_self' window.open(link, openIn) }) }) </script>
<style> .elementor-section[link], .elementor-column[link] > .elementor-widget-wrap { cursor: pointer; }
</style>