diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2016-05-31 18:16:48 +0200 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@iot.bzh> | 2016-05-31 18:16:48 +0200 |
commit | 5b1e6cc132f44262a873fa8296a2a3e1017b0278 (patch) | |
tree | 43b2cd54e2e300b399ff3f2af4458a2c4ed8a144 /afb-client/bower_components/tether/examples/tooltip/index.html | |
parent | f7d2f9ac4168ee5064580c666d508667a73cefc0 (diff) | |
parent | 85ace9c1ce9a98e9b8a22f045c7dd752b38d9129 (diff) |
Merge afb-client
Diffstat (limited to 'afb-client/bower_components/tether/examples/tooltip/index.html')
-rw-r--r-- | afb-client/bower_components/tether/examples/tooltip/index.html | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/afb-client/bower_components/tether/examples/tooltip/index.html b/afb-client/bower_components/tether/examples/tooltip/index.html new file mode 100644 index 0000000..fbf247f --- /dev/null +++ b/afb-client/bower_components/tether/examples/tooltip/index.html @@ -0,0 +1,86 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="chrome=1"> + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> + <script type="text/javascript" src="//use.typekit.net/jbn8qxr.js"></script> + <script type="text/javascript">try{Typekit.load();}catch(e){}</script> + <link rel="stylesheet" href="../../css/drop.css" /> + <link rel="stylesheet" href="../../css/drop-tooltip-theme-arrows.css" /> + <style> + body { + font-family: "proxima-nova", "Helvetica Neue", sans-serif; + color: #444; + } + + .scroll-parent { + margin: 200px; + height: 300px; + width: 300px; + display: inline-block; + overflow: auto; + border: 2px solid #eee; + padding: 40px; + } + </style> + </head> + <body> + <div class="scroll-parent"> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="top center">Tooltip on Top</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="bottom center">Tooltip on Bottom</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="left middle">Tooltip on Left</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="right middle">Tooltip on Right</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="bottom left">Tooltip on Bottom Left</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="bottom right">Tooltip on Bottom Right</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="top left">Tooltip on Top Left</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="top right">Tooltip on Top Right</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="left bottom">Tooltip on Left Bottom</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="left top">Tooltip on Left Top</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="right bottom">Tooltip on Right Bottom</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="right top">Tooltip on Right Top</a></p> + <p>This is a paragraph of text</p> + <p>This is a paragraph of text</p> + </div> + + <script src="../resources/js/log.js"></script> + <script src="../resources/js/jquery.js"></script> + <script src="../../utils.js"></script> + <script src="../../tether.js"></script> + <script src="/drop/drop.min.js"></script> + <script src="../../tooltip.js"></script> + <script src="../../constraint.js"></script> + <script> + $('.drop-tooltip').each(function(){ + new Tooltip({ + el: this, + attach: $(this).data('attach') + }); + }); + </script> + </body> +</html> |