Header

From Uktvschedules

(Difference between revisions)
Line 19: Line 19:
  <script type="text/javascript">
  <script type="text/javascript">
   //Feel free to add your javascript code here.
   //Feel free to add your javascript code here.
 +
/* Move things around so that sidebar can be fixed in position and content can scroll independently */
 +
/* See [[meta:Help:User style/floating quickbar]] */
 +
 +
addOnloadHook(function () {
 +
    var content = document.getElementById("column-content");    // Find the main content column
 +
 +
    var footer = document.getElementById("footer");  // Find the footer
 +
    footer.parentNode.removeChild(footer);    // Remove the footer from the global wrapper
 +
    content.appendChild(footer);    // Place footer at the end of the content column;
 +
 +
    var tabs = document.getElementById("p-cactions");  // Find the top tab list
 +
    tabs.parentNode.removeChild(tabs);    // Remove the tab list from the side column
 +
    content.insertBefore(tabs,content.firstChild);    // Place tab list at the beginning of the content column
 +
});
 +
  </script>
  </script>

Revision as of 16:53, 7 August 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 {
   background: #e1e1e1 url("/images/uktvschedules/e/ea/Logo.gif") 0px 0px no-repeat;
}
*/
</style>
<script type="text/javascript">
  //Feel free to add your javascript code here.

/* Move things around so that sidebar can be fixed in position and content can scroll independently */ /* See meta:Help:User style/floating quickbar */

addOnloadHook(function () {

   var content = document.getElementById("column-content");    // Find the main content column

   var footer = document.getElementById("footer");  // Find the footer
   footer.parentNode.removeChild(footer);    // Remove the footer from the global wrapper
   content.appendChild(footer);    // Place footer at the end of the content column;

   var tabs = document.getElementById("p-cactions");   // Find the top tab list
   tabs.parentNode.removeChild(tabs);    // Remove the tab list from the side column
   content.insertBefore(tabs,content.firstChild);    // Place tab list at the beginning of the content column

});

</script>
Personal tools