User:Mercifull/myskin.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
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
function import_external(page) { | function import_external(page) { | ||
document.write('<script type="text/javascript" src="' | document.write('<script type="text/javascript" src="' | ||
| Line 7: | Line 6: | ||
} | } | ||
import_external('User:Shane/myskin.js'); | import_external('User:Shane/myskin.js'); | ||
Revision as of 22:00, 12 June 2006
function import_external(page) {
document.write('<script type="text/javascript" src="'
+ 'http://www.battlestarwiki.org/en/index.php?title='
+ page
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
import_external('User:Shane/myskin.js');