Permalink
Browse files

updated README

  • Loading branch information...
rpheath committed Sep 21, 2009
1 parent 37f0a59 commit b6709d7760054e78225c59fd0331d20bd48f67bb
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.textile
View
@@ -16,8 +16,7 @@ That's it, really. There are a few configuration options:
So, customizing each config option might look like this:
-<pre><code>
-$('input.search').searchbox({
+<pre><code>$('input.search').searchbox({
url: '/your/search/url',
param: 'q',
dom_id: '#thumbnails',
@@ -33,6 +32,10 @@ There are a few places you can hook into the plugin by binding a function to spe
* <code>before.searchbox</code> - triggered right before the search is performed
* <code>after.searchbox</code> - triggered right after the search completes
+Here's an example of how to make use of them:
+
+<pre><code>$(document).bind('init.searchbox', function() { ... })</code></pre>
+
h3. License
(c) 2009 Ryan Heath, released under the MIT license

0 comments on commit b6709d7

Please sign in to comment.