The search box on www.freebsd.org..

Chris Borokowski athloi at yahoo.com
Thu May 31 20:12:07 UTC 2007


--- Doug Barton <dougb at FreeBSD.org> wrote:

> I think that given everything Yahoo! has given to
> the project, it
> would be reasonable to give their engine serious
> consideration unless
> there is a compelling reason not to.

Here's the code their widget generates:

<!-- START CODE --> 
	<div id="ysrchForm" style="border:1px solid #7E9DB9;
                               background:#FFFFFF;
                               width:300px;
                               margin:0 auto;
                               padding:20px; 
                               position:relative;
                             ">
          <form
id="searchBoxForm_U0Rl8rT9GDJdEAAHsGPYA"
action="http://builder.search.yahoo.com/a/bouncer"
style="padding:0;">
                        <input name="mobid"
value="U0Rl8rT9GDJdEAAHsGPYA" type="hidden">
			<input name="ei" value="UTF-8" type="hidden"><input
name="fr" value="ystg-c" type="hidden"><div
style="padding:0 80px 0 0;zoom:1;">
					<input type="text" id="searchTerm"
						onFocus="this.style.background='#fff';"
					
onBlur="if(this.value=='')this.style.background='#fff
url(http://us.i1.yimg.com/us.yimg.com/i/us/sch/gr/horiz_pwrlogo_red2.gif)
3px center  no-repeat'"
						name="p" style=" margin:1px 0; width:100%;
border:1px solid #7E9DB9; color:#666666; height:18px;
padding:0px 3px; background:#fff
url(http://us.i1.yimg.com/us.yimg.com/i/us/sch/gr/horiz_pwrlogo_red2.gif)
3px center no-repeat; position:relative;">
					<input type="submit"
id="btn_U0Rl8rT9GDJdEAAHsGPYA" value="Search" 
						style=" padding-bottom:2px; position:absolute;
right:20px; top:20px; margin:0px; height:22px;
width:65px; ">
</div><ul style="color:#666666;
           font:11px/11px normal Arial, Helvetica,
sans-serif;
	   margin:0;
	   padding:0;
	   text-align:left;
	   list-style-type:none;"><li
style="display:inline;padding-right:10px;">
<input name="mobvs" id="site_U0Rl8rT9GDJdEAAHsGPYA"
value="1"
onclick='displayPopSearch("site","U0Rl8rT9GDJdEAAHsGPYA");'
  type="hidden">
<label for="site_U0Rl8rT9GDJdEAAHsGPYA"
style="display:inline;vertical-align:middle;
padding-top:2px;">this Site</label>
</li></ul></form></div>
<!-- END CODE --> 

It could quite possibly be stripped down a bit.

Yahoo's site explorer lists 5,370,419 pages.

https://siteexplorer.search.yahoo.com/advsearch?ei=UTF-8&p=http%3A%2F%2Ffreebsd.org

User Interface design blog
http://user-advocacy.blogspot.com/
Code::Design::UI::Consulting
http://www.dionysius.com/


       
____________________________________________________________________________________Ready for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/



More information about the freebsd-doc mailing list