WordPress Elementor Card slider, creative WordPress elementor image click effect using jquery slidetoggle function
Features
🔸Fully customizable
🔸Responsive
🔸Click Effects
🔸Code
Tutorial link:
☑️Support me on Patreon
☑️Elementor file download link click here
Code
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).ready(function(){
var x = document.getElementsByClassName("imgbutton");
var buttonsCount = x.length;
for (var i = 0; i < buttonsCount; i += 1){
x[i].onclick = function(e) {
$("#card" + this.id).slideToggle("slow");
};
}
});
</script>
Comments
Post a Comment