traviblog

just some sort of lame blog

New TraviBlog Search Feature

Users with areal browserjust look in the lower right-hand corner of your browser (TNNusers have to skip all the way down to the bottom of the page, and AIM users should click on the little # to the left of the title to see any cool stuff). It's a pretty easy feature to add. Just paste this HTML into the bottom of your page:
<form id="Form2" method="get" action="http://www.google.com/search">
      <input type="text" name="q" size="10" />
      <input type="hidden" name="q" value="site:travis.servebeer.com" />
      <input type="submit" value="google this site" />
</form>


...and I used this CSS to style it:
#Form2
{
       width: 100%;
       text-align: center;
}

form[id=Form2]
{
       width: auto !important;
       text-align: right !important;
       margin: 0px 0px 0px 0px;
       padding: 0px 0px 0px 0px;
       position: fixed;
       bottom: 0px;
       right: 0px;
}

form[id=Form2] input
{
       -moz-opacity: 0.50;
       background-color: rgba(255, 255, 255, 127);
}

form[id=Form2] input:HOVER, form[id=Form2] input:FOCUS, form[id=Form2] input:ACTIVE
{
       -moz-opacity: 0.90;
       background-color: rgba(255, 255, 255, 229);
}

It's a great half-assed solution 'till .Text gets upgraded. (I'm too lazy to recompile it myself)

[EDIT] - many mispellings ;-)
Comments

comments powered by Disqus