diff options
Diffstat (limited to 'doc/html/dynsections.js')
-rw-r--r-- | doc/html/dynsections.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/html/dynsections.js b/doc/html/dynsections.js index ed092c7..2f15470 100644 --- a/doc/html/dynsections.js +++ b/doc/html/dynsections.js @@ -95,3 +95,10 @@ function toggleInherit(id) } } + +$(document).ready(function() { + $('.code,.codeRef').each(function() { + $(this).data('powertip',$('#'+$(this).attr('href').replace(/.*\//,'').replace(/[^a-z_A-Z0-9]/g,'_')).html()); + $(this).powerTip({ placement: 's', smartPlacement: true, mouseOnToPopup: true }); + }); +}); |