diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-08-15 19:34:43 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-08-15 19:34:43 +0200 |
commit | 8aa89f5e050417e5ebfbcceeeb5e4176f252a34f (patch) | |
tree | 49f75f09cb4773c6a4e1b918285db5150b4efab7 /module/web/templates | |
parent | fancier colors for background (diff) | |
download | pyload-8aa89f5e050417e5ebfbcceeeb5e4176f252a34f.tar.xz |
added tooltip
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/base.html | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 5f18634ee..b26766aab 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -186,7 +186,27 @@ style:{
classes:'ui-tooltip-dark ui-tooltip-shadow'
}
- })
+ });
+
+ $("#notification_div").qtip({
+ content:{
+ title: {text: "Running Tasks", button:true},
+ text: "Content"
+ },
+ position:{
+ my:'top center',
+ at:'bottom center'
+ },
+ show:{ delay:500, effect: function(offset) {
+ $(this).slideDown(250); // "this" refers to the tooltip
+ }},
+ style:{
+ classes:'ui-tooltip-light ui-tooltip-shadow',
+ width: $("#notification_div").outerWidth(),
+ height: 100
+ },
+ hide: false
+ });
});
</script>
<script type="text/javascript">
|