MarketingROI's picture
Can you please help me to create a sales funnel for our business, our business Name is MarketingROI.Ai our services offer is LeadPro 365 below about our business , and here's the font color were using
2106848 verified
Raw History Blame Contribute Delete
1.96 kB
// FAQ Toggle Functionality
document.addEventListener('DOMContentLoaded', function() {
const faqToggles = document.querySelectorAll('.faq-toggle');
faqToggles.forEach(toggle => {
toggle.addEventListener('click', function() {
const content = this.nextElementSibling;
const icon = this.querySelector('i');
this.classList.toggle('active');
content.classList.toggle('show');
if (content.classList.contains('show')) {
content.style.display = 'block';
icon.style.transform = 'rotate(180deg)';
} else {
content.style.display = 'none';
icon.style.transform = 'rotate(0deg)';
}
});
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const targetElement = document.querySelector(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
}
});
});
// Mailchimp Form Submission (example)
const demoForm = document.querySelector('#demo form');
if (demoForm) {
demoForm.addEventListener('submit', function(e) {
e.preventDefault();
const formData = new FormData(this);
// Here you would typically send the form data to your backend
// For demo purposes, we'll just show a success message
alert('Thank you for your interest! We will contact you shortly to schedule your demo.');
this.reset();
});
}
});