No such plugin bgiframe
No such plugin tooltip
%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"}%
Topic revision: r9 - 17 Jan 2014, MartinKaufmann - This page was cached on 17 Nov 2018 - 20:54.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy