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
m User:Shane/standard.js moved to User:Shane/myskin.js: needs to be myskin.js |
No edit summary |
||
| Line 1: | Line 1: | ||
// | /* <pre><nowiki> */ | ||
addOnloadHook( myFunction ); | |||
Functions can also be written inline as | |||
addOnloadHook( function() { | |||
myFunction () { alert("test"); } | |||
} ); | |||
/* </nowiki></pre> */ | |||
Revision as of 05:47, 21 April 2006
/* <pre><nowiki> */
addOnloadHook( myFunction );
Functions can also be written inline as
addOnloadHook( function() {
myFunction () { alert("test"); }
} );
/* </nowiki></pre> */