Skip to main content
Toggle navigation menu
MX.com
For Developers
Platform API
Developer Portal
Client Dashboard
Community
Request Content
Contact Support
Search
Categories
MX Academy
Video Galleries
Online Banking Tutorials
Learn how to use the Budgets tool
September 30, 2020 19:23
Was this article helpful?
<% if (items.length > 1) { %>
In this article
<% items.forEach(function(item) { %>
<%= item.name %>
<%= partial('partial-table-of-contents', { items: item.children, partial: partial }) %>
<% }); %>
<% } %>
<% if (items.length) { %>
<% items.forEach(function(item) { %>
<%= item.name %>
<%= partial('partial-table-of-contents', { items: item.children, partial: partial }) %>
<% }); %>
<% } %>
<% if (children.length) { %>
<% children.forEach(function(child, index) { %>
<%= child.innerHTML %>
<% }); %>
of <%= children.length %>
<% } %>
<% if (children.length) { %>
<% children.forEach(function(child, index) { %> <% var isActive = initial === index %>
<%= child.title %>
<%= child.innerHTML %>
<% }) %>
<% } %>
<% if (children.length) { %>
<% children.forEach(function(child, index) { %>
<%= child.innerHTML %>
<% }); %>
of <%= children.length %>
<% } %>
More Categories
<% if (categories.length > 1 ) { %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<% }) %>
<% } else { %>
empty
<% } %>
<% }) %> <% } else { %> <% sections.forEach(function(section, index) { %>
<%= section.name %>
<% if (section.sections.length) { %>
<% section.sections.forEach(function(section) { %>
<%= section.name %>
<% }) %>
<% } else if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }) %>
<% } else { %>
empty
<% } %>
<% }) %> <% } %>
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var maxSections = 12 %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %> <% if (category.isActive) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% } %> <% }); %>
Categories
Categories
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.slice(0, maxSections).forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
See more
<% } %>
<% } %>
<% if (children.length) { %>
of <%= children.length %>
<% children.forEach(function(child, index) { %>
<%= child.innerHTML %>
<% }); %>
<% } %>
<% if (children.length) { %>
<% children.forEach(function(child, index) { %>
<%= child.innerHTML %>
<% }); %>
of <%= children.length %>
<% } %>