No such plugin bgiframe
No such plugin tooltip
No such plugin livequery
%term%
%REGISTERMACRO{"gloss" topic="Support.GlossaryMacro" param="term"}%
%STARTSECTION{"script"}%<script type='text/javascript'>
jQuery(document).ready(
function() {
var counter = 0, map = [];
jQuery('a.glossary').tooltip(
{
extraClass: 'bubble',
opacity: 1,
showURL: false,
bodyHandler: function()
{
var term = jQuery(this).text(), html;
if (!(term in map)) {
map[term] = counter;
counter += 1;
}
html = '<div><h3>Definition</h3><div class="glosstip" id="glosstip' + map[term] + '">' + jQuery(this).text() + '</div></div>';
jQuery('#glosstip' + map[term]).livequery(function () {
var term = jQuery(this).text(),
url = "%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?section=ajax;skin=text;qweb=%BASEWEB%;qterm=";
jQuery(this).load(url + encodeURIComponent(term));
});
return html;
}
}
);
}
);
</script>%ENDSECTION{"script"}%