Created
May 14, 2011 14:19
-
-
Save burtonian/972255 to your computer and use it in GitHub Desktop.
Tutorial #16 jQuery UI HTML Source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd" | |
> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>jQuery UI Effects - Toggle Demo</title> | |
<link rel="stylesheet" href="http://craigburton.com/jqueryplugins/jqueryui/smoothness/css/smoothness/jquery-ui-1.8.12.custom.css"> | |
<script src="http://craigburton.com/jqueryplugins/jquery-1.6.js"></script> | |
<script src="http://craigburton.com/jqueryplugins/jqueryui/smoothness/js/jquery-ui-1.8.12.custom.min.js"></script> | |
<style> | |
.toggler { width: 500px; height: 200px; } | |
#button { padding: .5em 1em; text-decoration: none; } | |
#effect { width: 240px; height: 135px; padding: 0.4em; position: relative; } | |
#effect h3 { margin: 0; padding: 0.4em; text-align: center; } | |
</style> | |
<script type="text/javascript"> | |
$("document").ready(function() { | |
//$( "#effect" ).toggle("blind",1000); | |
//$( "#effect" ).hide("slide",1000); | |
//$( "#effect" ).hide("drop",1000); | |
}); | |
</script> | |
</head> | |
<body> | |
<div class="toggler"> | |
<div id="effect" class="ui-widget-content ui-corner-all"> | |
<h3 class="ui-widget-header ui-corner-all">Hide</h3> | |
<p> | |
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. | |
</p> | |
</div> | |
</div> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment