https://github.com/thinkphp/contextualsearch
contextualSearch is a small but a powerful MooTools plugin that allows you to make searching within a set of documentation.
https://github.com/thinkphp/contextualsearch
Last synced: 3 months ago
JSON representation
contextualSearch is a small but a powerful MooTools plugin that allows you to make searching within a set of documentation.
- Host: GitHub
- URL: https://github.com/thinkphp/contextualsearch
- Owner: thinkphp
- Created: 2010-05-09T19:43:18.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-08-04T21:34:27.000Z (over 14 years ago)
- Last Synced: 2024-04-14T14:54:23.615Z (almost 2 years ago)
- Language: JavaScript
- Homepage: http://thinkphp.github.com/contextualSearch/
- Size: 148 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
contextualSearch
================
contextualSeach is a solution that allows you to supports searching within a set of documentation.



How to use
----------
First you must to include the JS files in the head of your HTML document.
#HTML
In your JavaScript source:
#JS
window.addEvent('domready',function(){
new contextualSearch({site: 'davidwalsh.name',targetID: 'container'});
});
In your HTML source:
#HTML
Dependencies:
MooTools Core 1.3
MooTools More: Request.JSONP
In Action:
- [http://thinkphp.ro/apps/js-hacks/contextualSearch/google/mootools/v1.3.1/](http://thinkphp.ro/apps/js-hacks/contextualSearch/google/mootools/v1.3.1/)
- [http://thinkphp.ro/apps/js-hacks/contextualSearch/google/mootools/v1.3/](http://thinkphp.ro/apps/js-hacks/contextualSearch/google/mootools/v1.3/)