From WikiEducator
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
/* createGoogleSearch() */
$(function() {
  $('#searchform').append('<div><form action="//" id="cse-search-box"><div><input type="hidden" name="cx" value="008846155551583468489:ekh9ssqol8q" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" id="gcse" size="31" style="width:12.2em; font-size:95%" /><input type="submit" class="searchButton" name="sa" value="Search" /></div></form><script type="text/javascript" src="//"></script></div>');
  if (skin === 'vector') {
    $('#p-search').css('marginTop', '-1.5em');
    $('#p-search').find('form, input').css('marginTop', '0.2em');
  /* showGoogleResults() */
  if (wgPageName == "WikiEducator:Google_Search") {
    var g = document.getElementsByTagName("head")[0];
    var inlscript = document.createElement('script');
    inlscript.type = 'text/javascript';
    inlscript.innerHTML = 'var googleSearchIframeName = "cse-search-results";var googleSearchFormName = "cse-search-box";var googleSearchFrameWidth = 600;var googleSearchDomain = "";var googleSearchPath = "/cse";';
    var resscript = document.createElement('script');
    resscript.type = 'text/javascript';
    resscript.src = "";
    g = document.getElementById('catlinks');
    if (g) { = 'none';