Ticket #4839: slide.html

File slide.html, 784 bytes (added by nbelaevski, 10 years ago)
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html>
3<head>
4
5<script
6        src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
7<script
8        src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
9
10<script type="text/javascript">
11      jQuery(document).ready(function ()
12      {
13                jQuery(".ui-layout-west").click(function() {
14                        jQuery(this).hide("slide", { direction: "down" }, 1000);
15                });
16         
17      });
18   </script>
19</head>
20
21<body>
22<div class="ui-layout-west" style="overflow: auto;">Click me! <script>alert('script executed');</script>
23</div>
24
25<div class="ui-layout-center" style="overflow: auto; margin: 10px;"></div>
26</body>
27</html>