Difference between revisions of "User:Ockham/sandbox"

MyWikiBiz, Author Your Legacy — Saturday November 23, 2024
Jump to navigationJump to search
Line 4: Line 4:
  
 
<embed>
 
<embed>
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('c135da29-de81-4204-a51d-42326744df2c');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/google-web-search">Google Search Widget (Web & Site Search)</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>! Not seeing a widget? (<a href="http://docs.widgetbox.com/using-widgets/installing-widgets/why-cant-i-see-my-widget/">More info</a>)</noscript>
+
function install_search()
 +
{
 +
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" />'+
 +
'<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>';
 +
}
 +
addOnloadHook(install_search);
 +
 
</embed>
 
</embed>

Revision as of 16:27, 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>