Header

From Wiki Lyrics

(Difference between revisions)
Line 1: Line 1:
-
// Script from [[User:Lupin/popupsdev.js]]
+
<style type="text/css">
-
document.write('<script type="text/javascript" src="'
+
  /*
-
            + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popupsdev.js'
+
      Notes:
-
            + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
+
      -You must log as admin to edit this page
 +
      -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles.
 +
      -if you want your code to look nice on this page, put a space at the beginning of each line
 +
      -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css
 +
     
 +
      For example uncomment this next section to turn all the text green:
 +
  */
 +
  /*
 +
body {
 +
    color: green;
 +
}
 +
  */
 +
</style>
-
 
+
<script type="text/javascript">
-
//Interiot's javascript edit counter
+
  //Feel free to add your javascript code here.
-
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
+
</script>
-
  document.write('<script type="text/javascript" src="'
+
-
    + 'http://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js'
+
-
    + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); }
+
-
 
+
-
// This code will change ISBN links to point to the url of // your choice, instead of Special:Book_sources.
+
-
// User:Lunchboxhero/monobook.js.
+
-
 
+
-
function externISBN() {
+
-
  for (var i = 0; i < document.links.length; i++)
+
-
    {     
+
-
        var ln = document.links[i].href.match(/isbn=(.*)/);
+
-
        if (ln) {
+
-
          document.links[i].href='http://www.amazon.com/exec/obidos/ASIN/'+RegExp.$1;
+
-
        }
+
-
    }
+
-
 
+
-
}
+
-
 
+
-
addOnloadHook(externISBN);
+

Revision as of 06:39, 14 November 2006

<style type="text/css">
  /*
     Notes: 
      -You must log as admin to edit this page
      -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles. 
      -if you want your code to look nice on this page, put a space at the beginning of each line
      -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css 
      
      For example uncomment this next section to turn all the text green:
  */
 /*
body {
   color: green;
}
 */ 
</style>
<script type="text/javascript">
  //Feel free to add your javascript code here.
</script>
Personal tools