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: | ||
<pre> | |||
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'); | |||
</pre> | |||
Revision as of 08:56, 9 June 2006
<pre>
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');
</pre>