ICICI Bank Branch - Chennai - Peter's Road
- NMS House No. 126, Peter's Road, Royapettah, Chennai, Tamil Nadu, 600 014
- IFSC Code: ICIC0005137
- 1800 1080
-
Branch Timings: 9:30AM - 3:00PM
Cash Transaction Timings: 9:30AM - 2:00PM
(Closed on 2nd, 4th Saturday and every Sunday)

a.btn-link');
const buttonLinks = document.querySelectorAll('.nav-sec .nav-section-list-li>button.btn-link');
const allLinks = [...anchorLinks, ...buttonLinks];
allLinks?.forEach(link => {
// ✅ If span already exists, skip
if (link.querySelector('.list-title-mobile')) return;
// get first text node
const textNode = Array.from(link.childNodes)
.find(node => node.nodeType === Node.TEXT_NODE && node.nodeValue.trim());
if (!textNode) return;
const text = textNode.nodeValue.trim();
// create span
const span = document.createElement('span');
span.className = 'list-title-mobile';
span.textContent = text;
span.setAttribute('aria-expanded', 'true');
// replace text with span
textNode.nodeValue = '';
link.appendChild(span);
const listItem = span.closest('li');
const anchorLink = span.closest('a.btn-link');
// ✅ mouse enter event
span.addEventListener('mouseenter', function () {
allLinks.forEach(item => {
item.closest('.nav-section-list-li').classList.remove('active');
span.setAttribute('aria-expanded', 'false');
});
listItem.classList.add('active');
mobilemenu.classList.add('active');
});
anchorLink.addEventListener
document.querySelector('.nav-sec').addEventListener('mouseleave', () => {
mobilemenu.classList.remove('icon-menu-active');
span.closest('li').classList.remove('active');
span.setAttribute('aria-expanded', 'false');
});
});
anchorLinks.forEach(secondNavLink => {
['click'].forEach(type => {
const eventEle = secondNavLink;
console.log('secondNavLink', secondNavLink)
eventEle?.addEventListener(type, e => {
e.preventDefault();
if (type === 'click') {
console.log('Trigger click event');
secondNavLink.closest("a").setAttribute("style", "pointer-events: auto;");
mobilemenu.classList.remove('icon-menu-active');
secondNavLink.closest('li').classList.remove('active');
secondNavLink.setAttribute('aria-expanded', 'false');
const url = secondNavLink.closest("a").getAttribute('href');
if (url) {
window.location.href = url;
}
}
});
});
});