Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Image map

Craga89 edited this page Mar 14, 2013 · 7 revisions

Image map Add <area> and <map> support to qTip2's positioning system

The imagemap plugin adds additional positioning logic for <map> and <area> elements, allowing you to use qTips special corner positioning system with your imagemaps.

Usage

This particular plugin requires no additional user configuration. In order to utilise it, simply make sure you have it included in your qTip build and make sure that you point your jQuery selector to the <area> elements, NOT the <map> element! For example:

$('area').qtip({
	content: {
		text: 'Support for area maps with no extra configuration! Awesome.'
	},
	position: {
		my: 'top left',
		at: 'bottom right'
	}
});