Doesnt seem to do anything for me on FF/Win

On 9/15/06, Fil <[EMAIL PROTECTED]> wrote:
> I like the Safari searchbox system, but it's a pity it doesn't validate
> XHTML. So here's my take on it, the jQuery-way:
>         http://www.jquery.info/IMG/html/18_safari_searchbox.html

I have now transformed this code into a plugin called "smartsearchbox":
http://www.jquery.info/IMG/html/18_smartsearchbox.html

Usage:

$(document).ready(function(){
  $("[EMAIL PROTECTED]'q']")
  .smartsearchbox({
    'autosave':'com.jquery',
    'results':'5'
  });
});


If you don't include the options and use $("input").smartsearchbox(), you
still get the safari look, the empty on first click stuff, but no history
and no domain.

-- Fil


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to