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"}%
I Attachment Action Size Date Who Comment
600px-Example.svg.pngpng 600px-Example.svg.png manage 28 K 13 Oct 2011 - 13:27 WikiGuest  
Topic revision: r9 - 17 Jan 2014, MartinKaufmann
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