Difference between revisions of "MediaWiki:Searchbox"
Line 1: | Line 1: | ||
− | <noinclude><div style=" | + | <noinclude><div style="width:{{#if:{{#cgi:width|}}|{{#cgi:width|}}px|100%}};height:{{{height|36}}}px; position:relative;background:silver" |
− | {{#custom:raw| | + | ></noinclude>{{#custom:raw| |
− | <div style="position:absolute;top:0;left:0;width:100%;height:100%;background: #76B82A | + | <form target="_top" action="http://www.culture.si/en/index.php?title=Special%3ASearch"><div style="position:absolute;top:0;left:0;width:100%;height:100%;background:#76B82A;padding:4px {{{height|36}}}px 4px {{{height|36}}}px;box-sizing:border-box"><a href="http://www.culture.si"><img src = "http://www.culture.si/en/images/thumb/7/74/Culture.si_%28icon2%29.svg/100px-Culture.si_%28icon2%29.svg.png" style="position:absolute;top:2px;left:2px;height:{{#expr:{{{height|36}}}-4}}px;width:{{#expr:{{{height|36}}}-4}}px;"></a><input name="search" style="width:100%;height:100%;border:none;margin:0;box-sizing:border-box;padding:0 6px;color:#4f4f4f" onfocus="this.value='';this.onfocus=null;" value="search culture.si"><button style="position:absolute;top:2px;right:2px;height:{{#expr:{{{height|36}}}-4}}px;width:{{#expr:{{{height|36}}}-4}}px;border:none;background:none;padding:0;margin:0" name="go"><img src="http://www.culture.si/en/images/9/95/Search.png" style="width:100%;height:100%"></button></div></form> |
− | <input name="search | + | }}<noinclude></div></noinclude> |
− | |||
− | </ | ||
− | </div> | ||
− | }} | ||
− | <noinclude></div></noinclude> |