From ICIHelp7.15
Revision as of 07:51, 18 October 2016 by WikiSysop (Talk | contribs)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready( function() {
  var tree = $('#wikitext-sidebar');
  $('#p-logo').after( tree.html() );
  tree.remove();
});

$(document).ready(function(){var t="",e="";if($("#c_topPage").length){var o=$("#c_topPage");t=o.html(),o.remove()}if($("#c_bottomPage").length){var m=$("#c_bottomPage");e=m.html(),m.remove()}var a=$("#mw-content-text").html();$("#mw-content-text").html(t+a+e)});


/* image zoom javascript starts here */

$("a.image").each(function(){   
     var imgSrc = $(this).children('img').attr('src');  
     if(imgSrc.indexOf("/thumb")!=-1){
          imgSrc = imgSrc.replace("/thumb","");
          $(this).parent(".thumbinner").css( "overflow", "visible" );
          var splitUrl= imgSrc.split("/");  
          var arrayCnt = splitUrl.length; 
          imgSrc = imgSrc.replace("/"+splitUrl[arrayCnt-1],"");
          $(this).attr('href','http://localhost'+imgSrc);
     }   
});

$('a.image').spzoom();
/* image zoom javascript starts here */