Home > jquery-example

jquery-example

Jquery-example is a project mainly written in ..., it's free.

Jquery example for Tapir

h1. Tapir JQuery example

An example that makes searching with Tapir a breeze!

Live example at "http://tapirgo.com/example/index.html":http://tapirgo.com/example/index.html

h2. Using the example.

  1. Make sure you have JQuery in your site.
  2. Add the tapir.js to your site.
  3. Add the data attribute to the div you want the search results in. (see example)

example:


  
  
    
      
      A tapir powered search site.
      
      
    
    
      

My search results

The plugin will search for a div named "tapir_search_results" and use that to replace the content with the actual results. It uses the api key from the data-api_key attribute and the query from the url (url should have the ?query= parameter for search to commence)

Previous:dxf