aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-05 11:32:40 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-05 11:32:40 +0200
commit14125ce67bb27b024d082738c8065e1bc7f2d377 (patch)
treeebf8adfcd4dcffdae8bbb78ec69dd99e512946d7 /js/main.js
parent9ab9c28b0175ddcfd1997290702a02a9aa896fa3 (diff)
downloadvolse-hubzilla-14125ce67bb27b024d082738c8065e1bc7f2d377.tar.gz
volse-hubzilla-14125ce67bb27b024d082738c8065e1bc7f2d377.tar.bz2
volse-hubzilla-14125ce67bb27b024d082738c8065e1bc7f2d377.zip
Add tipTip js tooltips
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js11
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});
+ });