@@ -26,6 +26,11 @@ A Lightweight Responsive jQuery Tooltip Plugin
26
26
<link rel="stylesheet" href="/path/to/tipso.css">
27
27
<script src="/path/to/tipso.js"></script>
28
28
```
29
+ To use css3 animation effects please include [ Animate.css] ( http://daneden.github.io/animate.css )
30
+
31
+ ```html
32
+ <link rel="stylesheet" href="/path/to/animate.css">
33
+ ```
29
34
30
35
3 . Call the plugin
31
36
@@ -35,22 +40,24 @@ A Lightweight Responsive jQuery Tooltip Plugin
35
40
36
41
##Usage
37
42
38
- | Name | Default | Description |
39
- | ----------------| --------------| ---------------------------------------------------------------------------------------|
40
- | speed | 400 | integer - Duration of the fade effect in ms |
41
- | background | '#55b555' | Background color of the tooltip, it can be hex, rgb, rgba, color name |
42
- | color | '#ffffff' | Text color of the tooltip, it can be hex, rgb, rgba, color name |
43
- | position | 'top' | Initial position of the tooltip, available positions 'top', 'bottom', 'left', 'right' |
44
- | width | 200 | Width of the tooltip in px |
45
- | delay | 200 | Delay before showing the tooltip in ms |
46
- | offsetX | 0 | Offset value of the tooltip on X axis |
47
- | offsetY | 0 | Offset value of the tooltip on Y axis |
48
- | content | null | The content of the tooltip, can be text, html or whatever you want |
49
- | ajaxContentUrl | null | Url for Ajax content |
50
- | useTitle | true | To use the default title attribute as content (true,false) |
51
- | onBeforeShow | function(){} | Function to be executed before tipso is shown |
52
- | onShow | function(){} | Function to be executed after tipso is shown |
53
- | onHide | function(){} | Function to be executed after tipso is hidden |
43
+ | Name | Default | Description |
44
+ | ----------------| --------------| -----------------------------------------------------------------------------------------------------|
45
+ | speed | 400 | integer - Duration of the fade effect in ms |
46
+ | background | '#55b555' | Background color of the tooltip, it can be hex, rgb, rgba, color name |
47
+ | color | '#ffffff' | Text color of the tooltip, it can be hex, rgb, rgba, color name |
48
+ | position | 'top' | Initial position of the tooltip, available positions 'top', 'bottom', 'left', 'right' |
49
+ | width | 200 | Width of the tooltip in px |
50
+ | delay | 200 | Delay before showing the tooltip in ms |
51
+ | animationIn | 'fadeIn' | CSS3 animation effect to show the tooltip using [ Animate.css] ( http://daneden.github.io/animate.css ) |
52
+ | animationOut | 'fadeOut' | CSS3 animation effect to hide the tooltip using [ Animate.css] ( http://daneden.github.io/animate.css ) |
53
+ | offsetX | 0 | Offset value of the tooltip on X axis |
54
+ | offsetY | 0 | Offset value of the tooltip on Y axis |
55
+ | content | null | The content of the tooltip, can be text, html or whatever you want |
56
+ | ajaxContentUrl | null | Url for Ajax content |
57
+ | useTitle | true | To use the default title attribute as content (true,false) |
58
+ | onBeforeShow | function(){} | Function to be executed before tipso is shown |
59
+ | onShow | function(){} | Function to be executed after tipso is shown |
60
+ | onHide | function(){} | Function to be executed after tipso is hidden |
54
61
55
62
> Additionaly you can use ` data-tipso ` instead of the title attribute for the tooltip content ( set ` useTitle: false ` )
56
63
0 commit comments