Header

From Asaction

(Difference between revisions)
(test JS: hide inlined images)
Line 23: Line 23:
   if (wimages[i].src.slice(0, 4) == "http") {
   if (wimages[i].src.slice(0, 4) == "http") {
     wimages[i].setAttribute("class", "extimage");
     wimages[i].setAttribute("class", "extimage");
-
    wimages[i].style.display = "none";
+
//  wimages[i].style.display = "none";
   }
   }
   if (wimages[i].src.slice(0, 3) == "ftp") {
   if (wimages[i].src.slice(0, 3) == "ftp") {
     wimages[i].setAttribute("class", "extimage");
     wimages[i].setAttribute("class", "extimage");
-
    wimages[i].style.display = "none";
+
//  wimages[i].style.display = "none";
   }
   }
   }
   }
  }
  }
  </script>
  </script>

Revision as of 03:51, 13 September 2007

<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 }
</style>
<script type="text/javascript">
function onload() {
 var wimages = document.getElementById("content").getElementsByTagName("img");
 for (var i = 0; i < wimages.length; i++) {
  if (wimages[i].src.slice(0, 4) == "http") {
   wimages[i].setAttribute("class", "extimage");
//   wimages[i].style.display = "none";
  }
  if (wimages[i].src.slice(0, 3) == "ftp") {
   wimages[i].setAttribute("class", "extimage");
//   wimages[i].style.display = "none";
  }
 }
}
</script>
Personal tools