Livereference example

Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" media="screen" href="css/livereference.css" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/livereference.js"></script>

<script language="javascript">
$(document).ready(function() {
	$('.liverefLinkClass').livereference({ 
		sAjaxSource: 'livereference.php',
		sTSVSource: 'livereference.tsv',
		sWidgetsSource: 'widgets.xml',
	});
});
</script>
</head>

<body>

<span class="liverefLinkClass" data-lrerf="ISBN:0805843000">[1]</span> - Google Books reference
<span class="liverefLinkClass" data-lrerf="PMID:12740104">[2]</span> - PubMed reference
<span class="liverefLinkClass" data-lrerf="TSV:2388089">[3]</span> - TSV file reference
<span class="liverefLinkClass" data-lrerf="ENDNOTE:15450156">[4]</span> - EndNote reference
<span class="liverefLinkClass" data-lrerf="WIDGET:1">[5]</span> - Amazon.com widget

</body>
</html>