diff --git a/web/root/ecWeb/lib/forumLib.ssjs b/web/root/ecWeb/lib/forumLib.ssjs index ef69039baa44b2d55eb9e7f6c37c590243807f19..a2ff09147118f163b302731bb66f44672e320bd8 100644 --- a/web/root/ecWeb/lib/forumLib.ssjs +++ b/web/root/ecWeb/lib/forumLib.ssjs @@ -31,7 +31,7 @@ function sortnumber(a,b) { function printBoards() { for(mg in msg_area.grp_list) { print("<div class='standardBorder standardPadding underMargin subBoardHeaderColor' onclick=toggleVisibility('grp" + msg_area.grp_list[mg].number + "')>"); - print("<div class='headingFont'><a class=ulLink href=javascript:function(){toggleVisibility('grp" + msg_area.grp_list[mg].number + "');}>" + msg_area.grp_list[mg].name + "</a></div>"); + print("<div class='headingFont'><span onmouseover='this.className=\"fakeUlLink\"' onmouseout='this.className=\"\"'>" + msg_area.grp_list[mg].name + "</span></div>"); print("<div id=stats" + msg_area.grp_list[mg].number + "></div>"); print("</div>"); print("<div id=grp" + msg_area.grp_list[mg].number + " style=display:none;>"); @@ -215,7 +215,8 @@ function printSubBoard(subBoardCode, threadNumber, newOnly, scanPointer, mg, sb) print("var threadHeader" + threadNumber + " = document.createElement('div');"); print("threadHeader" + threadNumber + ".id = 'threadHeader" + threadNumber + "';"); print("threadHeader" + threadNumber + ".onclick = function() { toggleVisibility('threadContainer" + threadNumber + "'); };"); - print("threadHeader" + threadNumber + ".innerHTML += '<a name=" + header.number + "></a><a class=\"ulLink headingFont\" href=javascript:function(){toggleVisibility(\"threadContainer" + threadNumber + "\");}>" + html_encode(header.subject, false, false, false, false).replace(/'/g, "'") + "</a><br />Started by " + header.from + " on " + system.timestr(parseInt(header.when_written_time)) + "';"); +// print("threadHeader" + threadNumber + ".innerHTML += '<a name=" + header.number + "></a><a class=\"ulLink headingFont\" href=javascript:function(){toggleVisibility(\"threadContainer" + threadNumber + "\");}>" + html_encode(header.subject, false, false, false, false).replace(/'/g, "'") + "</a><br />Started by " + header.from + " on " + system.timestr(parseInt(header.when_written_time)) + "';"); + print("threadHeader" + threadNumber + ".innerHTML += '<a name=" + header.number + "></a><div class=headingFont><span onmouseover=this.className=\"fakeUlLink\" onmouseout=this.className=\"\">" + html_encode(header.subject, false, false, false, false).replace(/'/g, "'") + "</span></div><br />Started by " + header.from + " on " + system.timestr(parseInt(header.when_written_time)) + "';"); print("var threadContainer" + threadNumber + " = document.createElement('div');"); print("threadContainer" + threadNumber + ".id = 'threadContainer" + threadNumber + "';");