VDS Dropdowns
How do I make an vds dropdowns?
What is a vds dropdowns? How do you make a vds dropdowns? This script and codes were developed by UpBuild on 22 July 2022, Friday.
VDS Dropdowns - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>VDS Dropdowns</title>
</head>
<body> <script src="js/index.js"></script>
</body>
</html>
VDS Dropdowns - Script Codes JS Codes
// Specify which element(s) and for each one, run a function
// (and pass in the element's index for use later)
$(".submenu a").each(function(index) { // As .each() iterates over each found element in succession, // attach a click handler to them with a function. $(this).click(function() { // When the element is clicked, push data into the dataLayer (and use nested variables). dataLayer.push({ // Using 'event' here allows GTM to listen for, in this case, 'KPI Event' 'event': 'KPI Event', // These are your GA values. They can be static, like 'nav', or... 'event.category': 'top nav', 'event.action': $(".submenu a").eq(index).text().trim() + " click under " + $(".submenu a").eq(index).parents("li.sub").children("a").text().trim(), // dynamic, powered by jQuery and the "index" we passed in previously. 'event.label': $(".submenu a").eq(index).attr("href") }); });
});
Developer | UpBuild |
Username | upbuild |
Uploaded | July 22, 2022 |
Rating | 3 |
Size | 1,787 Kb |
Views | 68,816 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Talent Management System Template Page | 1,671 Kb |
Blog Post 3 | 1,292 Kb |
HTML Sitemap | 6,135 Kb |
Simple Reviews JSON | 1,476 Kb |
RedirectReferrer.js | 2,909 Kb |
Simple - Organization Homepage Markup | 2,612 Kb |
Simple Reviews In-Line | 1,525 Kb |
Alex - Blog Post JSON-LD | 1,413 Kb |
VDS Homepage Columns | 1,774 Kb |
Simple JSON Blog Post | 1,620 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Next Word Predictor | Rfalor | 2,776 Kb |
Two joint circles - One element | Berdejitendra | 1,704 Kb |
A Pen by Moeid Saleem | Moeidsaleem | 1,862 Kb |
Responsive Table-less Shopping Cart | Alex_rodrigues | 6,637 Kb |
CSS Piano | Dannystyle | 5,138 Kb |
Scroll to top button | DominicFrancois | 3,743 Kb |
Animated skewed panes | NyX | 4,462 Kb |
Vue.js Starter | Andymerskin | 1,268 Kb |
Fixed Scrolling Nav Bar | Philsinatra | 0 Kb |
Drop Cap | Gsaiki | 1,571 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!