diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js index 83dcc720c..30bf8a3b7 100644 --- a/js/main.js +++ b/js/main.js @@ -34,7 +34,16 @@ msie = $.browser.msie ; - /* setup navbar menus */ + /* setup tooltips */ + $("a,.tt").each(function(){ + var e = $(this); + var pos="bottom"; + if (e.hasClass("tttop")) pos="top"; + if (e.hasClass("ttbottom")) pos="bottom"; + if (e.hasClass("ttleft")) pos="left"; + if (e.hasClass("ttright")) pos="right"; + e.tipTip({defaultPosition: pos}); + }); |