Header

From Asaction

(Difference between revisions)
(verdict: screw it)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
  <style type="text/css">
  <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;
 
-
}
 
-
  */
 
   .previewnote { font-weight: bold }
   .previewnote { font-weight: bold }
-
 
-
  img.extimage                  { visibility: hidden;
 
-
                                  border: 1px solid #FF0000 }
 
-
/*                                display: none      } */
 
-
 
  </style>
  </style>
  <script type="text/javascript">
  <script type="text/javascript">
-
  //window.alert("IGNORE ME! —Grand Galactic Inquisitor");
+
   
-
 
+
-
  //var wbody = document.getElementsByTagName("body");
+
-
  //document.write(wbody[0].bgColor);
+
-
  var replacebody = document.createElement("body");
+
-
  replacebody.setAttribute("onload", "testfunc();");
+
-
 
+
-
function testfunc() {
+
-
  var wimages = document.getElementById("content").getElementsByTagName("img");
+
-
  for (var i = 0; i < wimages.length; i++) {
+
-
  if (wimages[i].getAttribute("alt").length > 0 && wimages[i].getAttribute("alt").slice(0,6) != "Image:") {
+
-
    if (document.getAttribute("title").slice(0,6) != "Image:") {
+
-
    wimages[i].setAttribute("class", "extimage");
+
-
    wimages[i].style.display = "none";
+
-
    }
+
-
  }
+
-
  }
+
-
}
+
  </script>
  </script>

Current revision as of 07:00, 14 September 2007

<style type="text/css">
 .previewnote { font-weight: bold }
</style>
<script type="text/javascript">

</script>
Personal tools