jQuery Plugin For Getting Wikipedia Description In Tooltips - wikiUp

File Size: 4.08 KB
Views Total: 1465
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
jQuery Plugin For Getting Wikipedia Description In Tooltips - wikiUp

wikiUp is a jQuery plugin which can be used to display Wikipedia descriptions in tooltips.

How to use it:

1. Include jQuery library, wikiUp.js and wikiUp.css on the webpage.

<link href="wikiUp.css" rel="stylesheet" type="text/css">
<script src="https://code.jquery.com/jquery-1.12.4.min.js" 
<script src="wikiUp.js"></script>

2. Attach the Wikipedia description to terms using the data-wiki attribute.

<data data-wiki="Apple Inc.">Apple</data> 
  was founded by 
<data data-wiki="Steve Jobs">Steve Jobs</data>.

3. If you want to get data in a different language, use the data-lang attribute:

<data data-wiki="Madrid" 
es la capital de España.



v1.1.1 (2013-03-05)

  • New selector. Now validates HTML and fixing some glitches in CSS3 tooltips

This awesome jQuery plugin is developed by pmtarantino. For more Advanced Usages, please check the demo page or visit the official website.