Difference between revisions of "MediaWiki:Searchbox"

From Culture.si
m (1 revision: import dev changes)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><div style="width:{{#if:{{#cgi:width|}}|{{#cgi:width|}}px|100%}};height:{{{height|36}}}px; position:relative;background:silver"
+
{{#eval:html|<iframe src="http://www.culture.si/searchbox" height="{{{height|36px}}}" width="{{{width|100%}}}" frameborder="0" scroll="no"></iframe>}}
></noinclude>{{#custom:raw|
 
<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>
 
}}<noinclude></div></noinclude>
 

Latest revision as of 00:30, 22 November 2012