Skip to content
Snippets Groups Projects
Commit 1c2dc11a authored by deuce's avatar deuce
Browse files

Make expand all/collapse all into buttons.

Remove self-referencing anchor evilness... back button becomes insane.
parent 60eafe02
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ body=body.split("&#13;&#10;").join("<br>"); ...@@ -94,7 +94,7 @@ body=body.split("&#13;&#10;").join("<br>");
<p><?xjs write(body); ?></p> <p><?xjs write(body); ?></p>
<hr> <hr>
<p><div id="ToggleAll" style="visibility: hidden"><a name="collapse" href="#collapse" onClick="collapse_all()">Collapse All</a> / <a name="expand" href="#expand" onClick="expand_all()">Expand All</a></div></p> <p><div id="ToggleAll" style="visibility: hidden"><input type="button" name="Collapse All" value="Collapse All" alt="Collpase All" onClick="collapse_all()"><input type="button" name="Expand All" value="Expand All" alt="Expand All" onClick="expand_all()"></div></p>
<?xjs <?xjs
// "Comments" // "Comments"
...@@ -137,7 +137,7 @@ while(1) { ...@@ -137,7 +137,7 @@ while(1) {
?> ?>
<div style="padding-left: <?xjs write(thread_depth*indent_pixels) ?>px"> <div style="padding-left: <?xjs write(thread_depth*indent_pixels) ?>px">
<a name="lnk-<?xjs write(msgid) ?>" href="#lnk-<?xjs write(msgid)?>" onClick="toggle_display('msg-<?xjs write(msgid)?>','button-<?xjs write(msgid) ?>');"><img border="0" src="<?xjs write(http_request.virtual_path) ?>plus.gif" id="button-<?xjs write(msgid); ?>"></a> <b><?xjs write(hdr.subject); ?></b> (<?xjs write(date); ?>)<br> <a onClick="toggle_display('msg-<?xjs write(msgid)?>','button-<?xjs write(msgid) ?>');"><img border="0" src="<?xjs write(http_request.virtual_path) ?>plus.gif" id="button-<?xjs write(msgid); ?>"></a> <b><?xjs write(hdr.subject); ?></b> (<?xjs write(date); ?>)<br>
By: <i><?xjs write(hdr.from); ?></i><br> By: <i><?xjs write(hdr.from); ?></i><br>
<div id="msg-<?xjs write(msgid) ?>" style="display: none"><?xjs write(body); ?> <div id="msg-<?xjs write(msgid) ?>" style="display: none"><?xjs write(body); ?>
<hr> <hr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment