zGlossary - Example of excluding HTML tags

This example excludes the <h1>, <h2> and <a> tags from being used for term definitions.

Script

$(document).ready(function () {
	$('body').glossary('terms.json', {
		excludetags: ['h1', 'h2', 'a']
	});
});

Result

A heading showing the definition of Zazar in a pop-up

The Zazar definition can be shown within a paragraph.

This is a link to the Zazar website but also includes a term