2012-05-18 14:07:27 +00:00
|
|
|
<!doctype html>
|
2011-05-02 12:40:26 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2012-04-23 16:44:17 +00:00
|
|
|
<meta charset="utf-8">
|
2012-05-18 14:07:27 +00:00
|
|
|
<title>Tooltip Visual Test: Animations</title>
|
2013-12-02 18:36:12 +00:00
|
|
|
<link rel="stylesheet" href="../../../themes/base/all.css">
|
2012-05-18 14:07:27 +00:00
|
|
|
<style>
|
|
|
|
pre {
|
|
|
|
width: 250px;
|
|
|
|
border: 1px solid #000;
|
|
|
|
padding: .5em;
|
|
|
|
}
|
|
|
|
</style>
|
2015-09-30 07:49:13 +00:00
|
|
|
<script src="../../../external/requirejs/require.js"></script>
|
2016-01-18 17:36:25 +00:00
|
|
|
<script src="../../../demos/bootstrap.js"
|
|
|
|
data-modules="effect effect-explode effect-bounce effect-blind effect-drop">
|
2012-05-18 14:07:27 +00:00
|
|
|
$( "pre" ).each(function( index, elem ) {
|
|
|
|
$( elem )
|
|
|
|
.attr( "title", "animated tooltips" )
|
2016-01-18 17:36:25 +00:00
|
|
|
.tooltip( JSON.parse( $( elem ).text() ) );
|
2011-05-02 12:40:26 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2012-05-18 14:07:27 +00:00
|
|
|
<pre>{}</pre>
|
|
|
|
<pre>{
|
2015-09-30 07:49:13 +00:00
|
|
|
"show": {
|
|
|
|
"effect": "slideDown"
|
|
|
|
},
|
|
|
|
"hide": {
|
|
|
|
"effect": "slideUp"
|
|
|
|
}
|
2012-05-18 14:07:27 +00:00
|
|
|
}</pre>
|
|
|
|
<pre>{
|
2015-09-30 07:49:13 +00:00
|
|
|
"show": {
|
|
|
|
"effect": "explode"
|
|
|
|
},
|
|
|
|
"hide": {
|
|
|
|
"effect": "explode"
|
|
|
|
}
|
2012-05-18 14:07:27 +00:00
|
|
|
}</pre>
|
|
|
|
<pre>{
|
2015-09-30 07:49:13 +00:00
|
|
|
"show": {
|
|
|
|
"effect": "bounce"
|
|
|
|
},
|
|
|
|
"hide": {
|
|
|
|
"effect": "blind"
|
|
|
|
}
|
2012-05-18 14:07:27 +00:00
|
|
|
}</pre>
|
|
|
|
<pre>{
|
2015-09-30 07:49:13 +00:00
|
|
|
"show": {
|
|
|
|
"effect": "drop",
|
|
|
|
"direction": "right"
|
|
|
|
},
|
|
|
|
"hide": {
|
|
|
|
"effect": "drop",
|
|
|
|
"direction": "right"
|
|
|
|
}
|
2012-05-18 14:07:27 +00:00
|
|
|
}</pre>
|
|
|
|
|
2011-05-02 12:40:26 +00:00
|
|
|
</body>
|
|
|
|
</html>
|