Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated README

  • Loading branch information...
commit b6709d7760054e78225c59fd0331d20bd48f67bb 1 parent 37f0a59
Ryan Heath authored September 21, 2009

Showing 1 changed file with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. 7  README.textile
7  README.textile
Source Rendered
@@ -16,8 +16,7 @@ That's it, really. There are a few configuration options:
16 16
 
17 17
 So, customizing each config option might look like this:
18 18
 
19  
-<pre><code>
20  
-$('input.search').searchbox({
  19
+<pre><code>$('input.search').searchbox({
21 20
   url: '/your/search/url',
22 21
   param: 'q',
23 22
   dom_id: '#thumbnails',
@@ -33,6 +32,10 @@ There are a few places you can hook into the plugin by binding a function to spe
33 32
 * <code>before.searchbox</code> - triggered right before the search is performed
34 33
 * <code>after.searchbox</code> - triggered right after the search completes
35 34
 
  35
+Here's an example of how to make use of them:
  36
+
  37
+<pre><code>$(document).bind('init.searchbox', function() { ... })</code></pre>
  38
+
36 39
 h3. License
37 40
 
38 41
 (c) 2009 Ryan Heath, released under the MIT license

0 notes on commit b6709d7

Please sign in to comment.
Something went wrong with that request. Please try again.