This commit is contained in:
iimtt@siliconpin.com
2026-02-20 11:44:12 +00:00
parent 46539d77fb
commit 5b72829c73
3 changed files with 51 additions and 23 deletions

View File

@@ -120,29 +120,42 @@
<a href="#" class="back-to-top"><i class="fe fe-lg fe-arrow-up"></i></a>
<div>
<!-------------------------- whatApps Widget Start-------------------->
<script>
var options = {
brandSetting: {
brandImg: "/assets/img/whatsappimg.webp",
welcomeText: `Hi there!
How can I help you?`,
messageText: `I need more information about Montessori Teachers training`,
phoneNumber: "919748356431",
},
chatButtonSetting: {
backgroundColor: "#24d366",
ctaText: 'Chat with us',
marginLeft: "0",
marginRight: "30",
marginBottom: "150",
position: "right",
},
enabled: true,
isNewChatWidget: true
}
</script>
<script type="text/javascript" onload="CreateWhatsappChatWidget(options)" src="https://msg91.com/js/waWidget.js"></script>
<style>
.wa-widget {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #25D366;
color: white;
border-radius: 50px;
padding: 12px 18px;
font-size: 16px;
font-family: Arial, sans-serif;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
display: flex;
align-items: center;
gap: 8px;
z-index: 9999;
}
.wa-widget:hover {
background-color: #1ebe5d;
}
</style>
<div class="wa-widget" onclick="openWhatsApp()">
<img src="/assets/img/whatsappimg.webp" width="25px"/> Chat on WhatsApp
</div>
<script>
function openWhatsApp() {
var phone = "919748386431"; // Replace with your number
var message = encodeURIComponent("I need more information about Montessori Teachers training"); // Your keyword
var url = "https://wa.me/" + phone + "?text=" + message;
window.open(url, "_blank");
}
</script>
<!-------------------------- whatApps Widget End-------------------->
<!-- JAVASCRIPT -->