summaryrefslogtreecommitdiffstats
path: root/templates/html/dynsections_tooltips.js
diff options
context:
space:
mode:
Diffstat (limited to 'templates/html/dynsections_tooltips.js')
-rw-r--r--templates/html/dynsections_tooltips.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/html/dynsections_tooltips.js b/templates/html/dynsections_tooltips.js
new file mode 100644
index 0000000..ddc333a
--- /dev/null
+++ b/templates/html/dynsections_tooltips.js
@@ -0,0 +1,6 @@
+$(document).ready(function() {
+ $('.code,.codeRef').each(function() {
+ $(this).data('powertip',$('#a'+$(this).attr('href').replace(/.*\//,'').replace(/[^a-z_A-Z0-9]/g,'_')).html());
+ $(this).powerTip({ placement: 's', smartPlacement: true, mouseOnToPopup: true });
+ });
+});