It works fine, as long as it's the only one on the page. Problem is I potentially could have many dozens on any given page and the top one always works but the ones after do not :(
document.getElementById("floatingBox").style.display = "none";
<div class="post_header" onClick="ToggleReply( <%=num%> )">
<div class="post_pmbutton" id="button_<%=num%>">[+]</div>
<div class="post_content" style="display: none;" id="content_<%=num%>">
<div id="floatingBox">some words here
I understand that I basically need to set a variable that is different for each rendition of the code but that is where I am stumped.
Each iteration is hidden by default until an anchor is clicked.
Please help clue this poor soul in :)