Difference between revisions of "MediaWiki:Searchbox"

From Culture.si
(Created page with '<noinclude><div style="position:relative; height:40px; width:300px"></noinclude> {{#custom:raw| <div style="position:absolute;top:0;left:0;width:100%;height:100%;background: gree...')
 
Line 2: Line 2:
 
{{#custom:raw|
 
{{#custom:raw|
 
<div style="position:absolute;top:0;left:0;width:100%;height:100%;background: green url(/en/images/thumb/c/ca/Culture.si_%28logo%29.svg/60px-Culture.si_%28logo%29.svg.png) top left no-repeat;">
 
<div style="position:absolute;top:0;left:0;width:100%;height:100%;background: green url(/en/images/thumb/c/ca/Culture.si_%28logo%29.svg/60px-Culture.si_%28logo%29.svg.png) top left no-repeat;">
<input style="position:absolute;top:4px;left:64px;right:4px;bottom:4px;border:none" value="search..." onenter="this.value='';this.onenter=null">
+
<input style="position:absolute;top:4px;left:64px;right:4px;bottom:4px;border:none" value="search..." onfocus="this.value='';this.onfocus=null;">
 
</div>
 
</div>
 
}}
 
}}
 
<noinclude></div></noinclude>
 
<noinclude></div></noinclude>

Revision as of 13:56, 23 May 2011