User:Shane/bsgbook.js: Difference between revisions
From the only original and legitimate Battlestar Wiki: the free-as-in-beer, non-corporate, open-content encyclopedia, analytical reference, and episode guide on all things Battlestar Galactica. Accept neither subpar substitutes nor subpar clones.
More actions
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<pre><nowiki> | <pre><nowiki> | ||
<script type="text/javascript"> | |||
function addDeleteSummary() { | function addDeleteSummary() { | ||
| Line 23: | Line 23: | ||
else if (window.attachEvent) window.attachEvent("onload", addDeleteSummary); | else if (window.attachEvent) window.attachEvent("onload", addDeleteSummary); | ||
</script> | |||
</nowiki></pre> | </nowiki></pre> | ||
Revision as of 21:44, 13 April 2006
<pre><nowiki>
<script type="text/javascript">
function addDeleteSummary() {
}
addOnloadHook(addDeleteSummary);
addOnloadHook(
function() {
addTab("javascript:addDeleteSummary()");
}
);
function addDeleteSummary() {
window.document.getelementbyID('wpReason').value = "Moved to new namespace";
}
if (window.addEventListener) window.addEventListener("load", addDeleteSummary, false);
else if (window.attachEvent) window.attachEvent("onload", addDeleteSummary);
</script>
</nowiki></pre>