Difference between revisions of "User:Elronnd/template:signature"
Jump to navigation
Jump to search
(Created page with "<script> var cssId = 'myCss'; // you could encode the css path itself to generate id.. if (!document.getElementById(cssId)) { var head = document.getElementsByTagName('h...") |
(No difference)
|
Revision as of 17:32, 16 April 2015
<script> var cssId = 'myCss'; // you could encode the css path itself to generate id.. if (!document.getElementById(cssId)) {
var head = document.getElementsByTagName('head')[0]; var link = document.createElement('link'); link.id = cssId; link.rel = 'stylesheet'; link.type = 'text/css'; link.href = 'http://shalott.net/~elijah/wiki_sheet.css'; link.media = 'all'; head.appendChild(link);
} </script>