Difference between revisions of "User:Ockham/sandbox"

MyWikiBiz, Author Your Legacy — Friday November 15, 2024
Jump to navigationJump to search
Line 6: Line 6:
 
  function install_search()
 
  function install_search()
 
  {
 
  {
  document.getElementById('searchBody').innerHTML='<div>'+
+
  document.getElementById('searchBody').innerHTML='<div>'+'<FORM method=get action="http://www.google.ca/search">'+'<input type=hidden name="ie" value="UTF-8" /><input type=hidden name="oe" value="UTF-8" />'+'<INPUT id="searchInput" name="q" type="text" accesskey="f" value="" />'+'<input type="hidden" name="domains" value="en.wikipedia.org" />'+
'<FORM method=get action="http://www.google.ca/search">'+
+
  '<input type=radio name=sitesearch value="">Web'+ '<input type=radio name=sitesearch value="en.wikipedia.org" checked />WP'+
'<input type=hidden name="ie" value="UTF-8" /><input type=hidden name="oe" value="UTF-8" />'+
 
'<INPUT id="searchInput" name="q" type="text" accesskey="f" value="" />'+
 
'<input type="hidden" name="domains" value="en.wikipedia.org" />'+
 
  '<input type=radio name=sitesearch value="">Web'+
 
'<input type=radio name=sitesearch value="en.wikipedia.org" checked />WP'+
 
 
  '<INPUT type="submit" name="btnG" VALUE="Google Search"  /></FORM></div>';
 
  '<INPUT type="submit" name="btnG" VALUE="Google Search"  /></FORM></div>';
 
  }
 
  }
 
// addOnloadHook(install_search);
 
// addOnloadHook(install_search);
 
</embed>
 
</embed>

Revision as of 16:28, 31 October 2009

<embed> <script type="text/javascript" src="http://www.mywikibiz.com/User:Ockham/sandbox.js"></script> </embed>

<embed>

function install_search()
{

document.getElementById('searchBody').innerHTML='

'+'<FORM method=get action="http://www.google.ca/search">'+'<input type=hidden name="ie" value="UTF-8" /><input type=hidden name="oe" value="UTF-8" />'+'<INPUT id="searchInput" name="q" type="text" accesskey="f" value="" />'+'<input type="hidden" name="domains" value="en.wikipedia.org" />'+
'<input type=radio name=sitesearch value="">Web'+ '<input type=radio name=sitesearch value="en.wikipedia.org" checked />WP'+
'<INPUT type="submit" name="btnG" VALUE="Google Search" /></FORM>

';

}

// addOnloadHook(install_search); </embed>