diff options
Diffstat (limited to 'libs/jquery/tooltip/index.html')
-rw-r--r-- | libs/jquery/tooltip/index.html | 176 |
1 files changed, 88 insertions, 88 deletions
diff --git a/libs/jquery/tooltip/index.html b/libs/jquery/tooltip/index.html index 7f47df5be5..fe9f5bd3cf 100644 --- a/libs/jquery/tooltip/index.html +++ b/libs/jquery/tooltip/index.html @@ -16,73 +16,73 @@ $('#set1 *').Tooltip(); $('img').Tooltip({ delay: 0 -});
-
-$('#yahoo a').Tooltip({
- track: true,
- delay: 0,
- showURL: false,
- showBody: " - "
}); -
-$("#fancy").Tooltip({
- track: true,
- delay: 0,
- showURL: false,
- opacity: 1,
- fixPNG: true,
- showBody: " - ",
- extraClass: "pretty fancy",
- top: -15,
- left: 5
+ +$('#yahoo a').Tooltip({ + track: true, + delay: 0, + showURL: false, + showBody: " - " +}); + +$("#fancy").Tooltip({ + track: true, + delay: 0, + showURL: false, + opacity: 1, + fixPNG: true, + showBody: " - ", + extraClass: "pretty fancy", + top: -15, + left: 5 }); -$('#pretty').Tooltip({
- track: true,
- delay: 0,
- showURL: false,
- showBody: " - ",
- extraClass: "pretty",
+$('#pretty').Tooltip({ + track: true, + delay: 0, + showURL: false, + showBody: " - ", + extraClass: "pretty", fixPNG: true, - opacity: 0.95,
+ opacity: 0.95, left: -120 }); -$("map *").Tooltip();
+$("map *").Tooltip(); -$('#right a').Tooltip({
- track: true,
- delay: 0,
+$('#right a').Tooltip({ + track: true, + delay: 0, showURL: false, - extraClass: "right"
-});
-$('#right2 a').Tooltip({ showURL: false });
-
+ extraClass: "right" +}); +$('#right2 a').Tooltip({ showURL: false }); + $("#block").click($.Tooltip.block); }); </script> -<style type="text/css">
-#extended {
- margin: 2em 0;
-}
-
-#extended label {
- text-decoration: underline;
-}
-
-#yahoo {
- width: 7em;
-}
-
-#right,#right2 {
- text-align: right;
-}
-
-#tooltip.right {
- width: 250px;
-}
+<style type="text/css"> +#extended { + margin: 2em 0; +} + +#extended label { + text-decoration: underline; +} + +#yahoo { + width: 7em; +} + +#right,#right2 { + text-align: right; +} + +#tooltip.right { + width: 250px; +} </style> </head> @@ -108,8 +108,8 @@ tooltips, default settings</legend> <a src="image.png" height="80" title="No delay. The src value is displayed below the title" /> <h3>Code</h3> -<pre><code class="mix">$('img').Tooltip({
- delay: 0
+<pre><code class="mix">$('img').Tooltip({ + delay: 0 });</code></pre></fieldset> <fieldset><legend>Blocking tooltips</legend> @@ -129,12 +129,12 @@ with tracking, with extra content:</legend> <option>bgiframe test</option> </select> <h3>Code</h3> -<pre><code class="mix">$('#yahoo a').Tooltip({
- track: true,
- delay: 0,
- showURL: false,
- showBody: " - ",
- opacity: 0.85
+<pre><code class="mix">$('#yahoo a').Tooltip({ + track: true, + delay: 0, + showURL: false, + showBody: " - ", + opacity: 0.85 });</code></pre></fieldset> <fieldset><legend>Two tooltips with extra classes. @@ -152,27 +152,27 @@ shadows, and some extra content</span></p> <option>bgiframe test</option> </select> <h3>Code</h3> -<pre><code class="mix">$("#fancy").Tooltip({
- track: true,
- delay: 0,
- showURL: false,
- opacity: 1,
- fixPNG: true,
- showBody: " - ",
- extraClass: "pretty fancy",
- top: -15,
- left: 5
-});
-
-$('#pretty').Tooltip({
- track: true,
- delay: 0,
- showURL: false,
- showBody: " - ",
- extraClass: "pretty",
- fixPNG: true,
- opacity: 0.95,
- left: -120
+<pre><code class="mix">$("#fancy").Tooltip({ + track: true, + delay: 0, + showURL: false, + opacity: 1, + fixPNG: true, + showBody: " - ", + extraClass: "pretty fancy", + top: -15, + left: 5 +}); + +$('#pretty').Tooltip({ + track: true, + delay: 0, + showURL: false, + showBody: " - ", + extraClass: "pretty", + fixPNG: true, + opacity: 0.95, + left: -120 });</code></pre></fieldset> <fieldset><legend>Image map with tooltips.</legend> <img @@ -227,12 +227,12 @@ borders</legend> title="Rather a very very long title with no meaning but yet quite long long long" href="http://goggle">Google me!</a></p> <h3>Code</h3> -<pre><code class="mix">$('#right a').Tooltip({
- track: true,
- delay: 0,
- showURL: false,
- extraClass: "right"
-});
+<pre><code class="mix">$('#right a').Tooltip({ + track: true, + delay: 0, + showURL: false, + extraClass: "right" +}); $('#right2 a').Tooltip({ showURL: false });</code></pre></fieldset> </div> </body> |