Content deleted Content added
Manishearth (talk | contribs) |
Manishearth (talk | contribs) |
||
Line 5:
<source lang=javascript>
addOnloadHook(function(){
document.getElementById('panel').innerHTML+='<div id="p-search" style="display:block;position:fixed;bottom:100px;left:0px"><h5 lang="en" xml:lang="en"><label for="searchInput">Search</label></h5><form action="/w/index.php" id="searchform2"><input type="hidden" name="title" value="Special:Search"><input type="submit" name="go" class="searchButton" id="searchGoButton" value="Go" title="Go to a page with this exact name if one exists"><input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search Wikipedia for this text"><button type="button" ONCLICK="window.open(wgServer+\'/wiki/\'+document.getElementById(\'searchInput2\').value)"><img src="http://bits.wikimedia.org/skins-1.5/vector/images/external-link-ltr-icon.png"></button> \;<BR><input id="searchInput2" name="search" type="text" title="Search Wikipedia [alt-f]" accesskey="f" value="" autocomplete="off"></form></div>';
</source>
|