github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

hail2u / jquery.highlight-search-terms

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 7
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (1)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

jQuery Plugin: Highlight Search Terms: Highlight search terms in referrer URL from Google, Yahoo!, Bing and custom site. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

clean-up code 
hail2u (author)
Sat Aug 01 07:43:56 -0700 2009
commit  e531f68e6a4ed339c337e6cf553cc193118a48e5
tree    a49acd33e1fb25b8ef8c9d5c3ba37fb01c6a1b43
parent  3432caeb05ecff31a5a0461ae6375c66e72a1659
jquery.highlight-search-terms /
name age
history
message
file README.md Wed Jun 10 04:57:37 -0700 2009 forget to update version number in README.md [hail2u]
file jquery.highlight-search-terms.js Sat Aug 01 07:43:56 -0700 2009 clean-up code [hail2u]
file jquery.highlight-search-terms.min.js Sat Aug 01 02:14:14 -0700 2009 make private functions private [hail2u]
file test.html Wed Jun 03 18:14:53 -0700 2009 add: test.html for testing. [hail2u]
README.md

TITLE

jQuery Plugin: Highlight Search Terms - version 0.2

DESCRIPTION

Highlight search terms in referrer URL from Google, Yahoo!, Bing and custom site.

Usage

Highlight all contents of body element:

$("body").highlightSearchTerms();

Highlight with custom class name:

$("body").highlightSearchTerms({
  className: "keyword"
});

Support custom referrer pattern:

$("body").highlightSearchTerms({
  referrerPatterns: [
    "^http://example\.com.+[&?]query=([^&]+).*$"
  ]
});

LICENSE

Copyright (c) 2009 Kyo Nagashima kyo@hail2u.net
This library licensed under MIT license:
http://opensource.org/licenses/mit-license.php

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server