Skip to main content

Town of Arlington, Town Bylaws, Title V, Article 18 (Short Term Rentals)

Citation
Town of Arlington, Town Bylaws, Title V, Article 18 (Short Term Rentals)
Jurisdiction
Arlington (municipal)
Source
Official source

Related Parts of This Source

Full Text

1,520 chars
event.preventDefault();
}
// Menu is selected
else {
if (inFirstLevel) {
// non clickable
if (currentLevelAnchor.attr('href') == undefined) {
//has class touch-active and no link
removeClassAndHideMenu();
event.preventDefault();
} else if ($(this).attr("data-href")) { //clickable, but href have been moved to data.
$(this).attr("href", $(this).attr("data-href"));
}
}
else {
if (isMegaMenu)
return true;

if (!currentLeveLi.hasClass('touch-active')) {
if ($(this).attr("href")) {
$(this).attr("data-href", $(this).attr("href"));
$(this).attr("href", "javascript:void(0);");
}
$(firstLevelLi).find('.touch-active').removeClass('touch-active').not(currentMenu).removeClass('active');
currentLeveLi.parent().children("li._current").removeClass("_current");
currentLeveLi.addClass('touch-active active _current');

currentLevelAnchor.addClass('touch-active active');

//$(' li:not(.touch-active)', menuContainer).not(firstLevelLi).removeClass('_current');
//$(' li:not(.touch-active) li', menuContainer).not(currentLeveLi).removeClass('_current');

$(' li:not(.touch-active) > a[data-navid]', currentLeveLi.parent()).next().css('display', 'none');
$('> li.touch-active > a[data-navid]', currentLeveLi.parent()).next().css('display', 'block');

event.preventDefault();
} else {
if (currentLevelAnchor.attr('href') == undefined) {
//has class touch-active and no link
removeClassAndHideMenu();
event.preventDefault();
} else if ($(this).attr("data-href")) {
$(this).attr("href", $(this).attr("data-href"));
}
}
}
}
}

});
}
}