Skip to main content

Hey guys I’m new at unbounce, and I don’t understand a lot of scripts and I’m urgently in need of some code for my page …


List of codes that I did not find in the tutorials here:


Jquery Script (the latest)

Anchor links (smooth) for many buttons

Whatsapp form


Can someone help me or indicate where I can find it? Appreciate!

Hi @Lucas_Fernandes,


I can help you a bit, Lucas.


🔹 Jquery Script


 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

🔹 Anchor Links - Smooth Scroll


<script>
jQuery(function($) {

// The speed of the scroll in milliseconds
var speed = 1000;

// Find links that are #anchors and scroll to them
$('a[href^=#]')
.not('.lp-pom-form .lp-pom-button')
.unbind('click.smoothScroll')
.bind('click.smoothScroll', function(event) {
event.preventDefault();
$('html, body').animate({ scrollTop: $( $(this).attr('href') ).offset().top }, speed);
});
});
</script>

🔹 Whatsapp Form

I have not personally used this before. Perhaps they provided you with a snippet of code to embed in on your page? In that case you would to drop a custom HTML element on your page from the builder and copy the code over.


If you are still needing help, feel free to wonder to the Job Board!


Best of luck!


@Caroline Thank you very much for your help!! Help me a lot !! And i will se about the whatsapp form i think is a form of gravity forms… Thank you again!!!


Reply