<button onclick="toggleHidden('navbar-subnav-menu')">button</button>
<script>
function toggleHidden(id) {
var attr = document.getElementById(id).attributes;
if (attr['aria-hidden'].value == "true") {
document.getElementById(id).setAttribute("aria-hidden", "false");
} else {
document.getElementById(id).setAttribute("aria-hidden", "true");
}
}
</script>
rproffitt commented: The example I looked at was Yahoo.com which appears to use similar or same as your answer. Works. +15
rproffitt commented: So an error 404 - Line not found. +15
rproffitt commented: "Can touch this!" That's an upgrade. +15
gentlemedia 803 Master Poster
rproffitt commented: That's huge. As in HUGE. Also, Microsoft code quality (1990's era). +0
rproffitt commented: Better explanation than mine! +15
gentlemedia 803 Master Poster
rproffitt commented: Yes. At least folk here can work around that. +15
Jon_7 commented: Great adds. I'll try to take care of that doctype now. Thx for the JS as well +1
rproffitt commented: True. In another forum, requests come in to remove links due to the penalty. +15
rproffitt commented: I made a batch of cookies. They don't look all the same but still delicious. +15
gentlemedia 803 Master Poster
ryantroop commented: Maybe a minimum quality score to enable sigs? +0