Skip to main content

Search and Top Navigation

Ticket #4839: scale.html
File scale.html, 0.8 KB (added by shadowcreeper, November 18, 2009 10:40PM UTC)

scale effect also causes this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

<script
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script
	src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>

<script type="text/javascript">
      jQuery(document).ready(function ()
      {
		jQuery(".ui-layout-west").click(function() {
			jQuery(this).hide("scale", { direction: "down" }, 1000);
		});
          
      });
   </script>
</head>

<body>
<div class="ui-layout-west" style="overflow: auto;">Click me! <script>alert('script executed');</script>
</div>

<div class="ui-layout-center" style="overflow: auto; margin: 10px;"></div>
</body>
</html>

Download in other formats:

Original Format