Header

From Bloggerhacks

(Difference between revisions)
 
(20 intermediate revisions not shown)
Line 11: Line 11:
       For example uncomment this next section to turn all the text green:
       For example uncomment this next section to turn all the text green:
   */
   */
-
  /*
+
  #p-FreshTags .pBody {
-
body {
+
      padding:2px;
-
    color: green;
+
  }
-
}
+
  .showtag {
-
   */
+
    width: 140px;
 +
  }
 +
   #freshtags_items {
 +
    margin-top: -1em;
 +
    padding-top: 0px;
 +
  }
  </style>
  </style>
Line 21: Line 26:
  <script type="text/javascript">
  <script type="text/javascript">
  //<![CDATA[
  //<![CDATA[
 +
 +
    function freshtags_mediawiki_hack() {
 +
      var block = document.getElementById('n-Loading...');
 +
      block.parentNode.parentNode.innerHTML = '<div id="freshtags_tags"><i>Loading...<\\/i><\\/div><div id="freshtags_items"><\\/div>';
 +
    }//end function freshtags_mediawiki_hack
 +
    window.onload = freshtags_mediawiki_hack;
 +
     if(typeof(WidgetData) != 'object') WidgetData = {};
     if(typeof(WidgetData) != 'object') WidgetData = {};
     if(typeof(WidgetData['freshtags']) != 'object') WidgetData['freshtags'] = {};
     if(typeof(WidgetData['freshtags']) != 'object') WidgetData['freshtags'] = {};
Line 29: Line 41:
       'source':'mediawiki',
       'source':'mediawiki',
       'mainpage':'http://editthis.info/bloggerhacks/Main_Page',
       'mainpage':'http://editthis.info/bloggerhacks/Main_Page',
-
       'format':'drop-asynch'
+
       'format':'drop'
     };
     };
 +
    WidgetData['freshtags']['freshtags_tags']['tag_url'] = '/bloggerhacks/Category:%tags%';
 +
    WidgetData['freshtags']['freshtags_tags']['join_char'] = '_';
     //posts widget
     //posts widget
-
/*  WidgetData['freshtags']['freshtags_items'] = {
+
    WidgetData['freshtags']['freshtags_items'] = {
       'type':'posts',
       'type':'posts',
       'tag_list':'freshtags_tags',
       'tag_list':'freshtags_tags',
       'rows':'10'
       'rows':'10'
-
     };*/
+
     };
  //]]>
  //]]>
Line 43: Line 57:
  <script type="text/javascript" src="http://jscripts.ning.com/get.php?xn_auth=no&amp;id=818185"></script>
  <script type="text/javascript" src="http://jscripts.ning.com/get.php?xn_auth=no&amp;id=818185"></script>
-
<a href="http://ghill.customer.netspace.net.au/freshtags/" title="Categories by FreshTags"><img src="  http://ghill.customer.netspace.net.au/freshtags/freshtags-btn.png" alt="FreshTags" /></a>
 
  <!-- /FreshTags0.5-Singpolyma2 -->
  <!-- /FreshTags0.5-Singpolyma2 -->

Current revision as of 20:20, 16 January 2007

<link rel="shortcut icon" href="BloggerHacksIcon.png" />
<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:
  */
  #p-FreshTags .pBody {
     padding:2px;
  }
 .showtag {
    width: 140px;
 }
 #freshtags_items {
    margin-top: -1em;
    padding-top: 0px;
 }
</style>
<script type="text/javascript">
//<![CDATA[
   function freshtags_mediawiki_hack() {
      var block = document.getElementById('n-Loading...');
block.parentNode.parentNode.innerHTML = '
Loading...<\\/i><\\/div>
<\\/div>';
   }//end function freshtags_mediawiki_hack
   window.onload = freshtags_mediawiki_hack;
   if(typeof(WidgetData) != 'object') WidgetData = {};
   if(typeof(WidgetData['freshtags']) != 'object') WidgetData['freshtags'] = {};
   //tag widget
   WidgetData['freshtags']['freshtags_tags'] = {
      'type':'tags',
      'source':'mediawiki',
      'mainpage':'http://editthis.info/bloggerhacks/Main_Page',
      'format':'drop'
   };
   WidgetData['freshtags']['freshtags_tags']['tag_url'] = '/bloggerhacks/Category:%tags%';
   WidgetData['freshtags']['freshtags_tags']['join_char'] = '_';
   //posts widget
   WidgetData['freshtags']['freshtags_items'] = {
      'type':'posts',
      'tag_list':'freshtags_tags',
      'rows':'10'
   };
//]]>
</script>
<script type="text/javascript" src="http://jscripts.ning.com/get.php?xn_auth=no&id=818185"></script>

Personal tools
FreshTags