Skip to content

thinkphp/contextualSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contextualSearch

contextualSeach is a solution that allows you to supports searching within a set of documentation.

Screenshot Screenshot Screenshot

How to use

First you must to include the JS files in the head of your HTML document.

   #HTML
   <script type="text/javascript" src="core.js"></script>
   <script type="text/javascript" src="jsonp.js"></script>
   <script type="text/javascript" src="contextualSearch.js"></script>

In your JavaScript source:

   #JS 
   window.addEvent('domready',function(){
   new contextualSearch({site: 'davidwalsh.name',targetID: 'container'});
   });

In your HTML source:

   #HTML
   <div id="container"></div>

Dependencies:

  MooTools Core 1.3
  MooTools More: Request.JSONP

In Action:

About

contextualSearch is a small but a powerful MooTools plugin that allows you to make searching within a set of documentation.

Resources

Stars

Watchers

Forks

Packages

No packages published