Autocomplete plugin for IE8 and Firefox

by David Alfaro 30. September 2008 09:28

What are we facing?

I want to help my website users quickly get to things they want on my site from within IE8 and FF browsers, without having them to go to the search page of my site. 

The solution

We can use for that OpenSearch which “is a collection of technologies that allow publishing of search results in a format suitable for syndication and aggregation. It is a way for websites and search engines to publish search results in a standard and accessible format.” Using OpenSearch, you can create the plugin for IE8 and FF to do it. Follow these steps:

  • Create an OpenSearch description file.
  • Link to that file from the head section of an HTML page.
  • Make an autocomplete/suggestion script that returns a JSON-encoded array of the original search term and an array of suggested terms.

Some external references

Internet Explorer 8

Sébastien Zimmermann posted a great mini about implementing Visual Search for IE8. "Making your website available for search from within the browser enables your customers/users to access your website whenever they need a service from it, without having them type your full web address. Additionally, you (and your brand) are always there with them"

Firefox

Mozilla Develper Center also posted about it here. “Firefox 2 supports the OpenSearch description format for search plugins. Plugins that use the OpenSearch description syntax are compatible with IE 7 and Firefox. Because of this, they are the recommended format for use on the web.”

 

Currently rated 2.0 by 1 people

  • Currently 2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

About Aggiorno KC

Aggiorno RSS Feeds As Web developers, we are always hunting for pieces of wisdom spread all over the Web, by friends, by books, or both. Normally it requires time and effort to search and locate that wisdom and then even more to implement it. Knowledge Capsules provide you with a consolidated place to find all the specific pieces of code and advice you are commonly looking for, all provided by fellow Web developers.

IE8 Compatibility Wizard

Automatically upgrades your website to render correctly in IE8!

Internet Explorer 8 Compatibility Wizard

Get it today!


ArtinSoft Corporation ArtinSoft is Microsoft Certified Partner ISV/Software Solutions and Microsft Visual Studio Partner

With over fifteen years of experience, ArtinSoft has proven to be a key player in software evolution, by allowing customers from all over the world to ensure business continuity and compliance through software migration solutions and developer tools created upon principles of artificial intelligence. At present time, ArtinSoft Corporation remains a private firm in constant growth through a strategic partner network. Read More...