Skip to content

Instantly share code, notes, and snippets.

@paulrgz
paulrgz / custom-slider-arrows.js
Created May 31, 2022 11:08
Webflow Custom Slider Arrows
$('#arrow-right').on('click', function() { $('.w-slider-arrow-right').click(); });
$('#arrow-left').on('click', function() { $('.w-slider-arrow-left').click(); });
@paulrgz
paulrgz / form-script.html
Last active May 31, 2022 11:09
Webflow Ajax Form
<script>
$('form').each(function(i, el) {
form = $(el);
form.submit(function(e) {
//stop the form from submitting
e.preventDefault();
form = $(e.target);
//submit the form via ajax
$.ajax({
method: "POST",
@paulrgz
paulrgz / form.php
Last active May 31, 2022 11:09
Webflow External Form
<?php
// Avoid Redirect
if ($_POST) {
// Email Variables
$origin = $_SERVER['HTTP_REFERER'];
$from = 'form';
$to = 'email@domain.com';
$cc = '';