source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/demos/resizable/visual-feedback.html@ 24245

Last change on this file since 24245 was 24245, checked in by sjb48, 13 years ago

Oran code for supporting format changes to document.

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4 <title>jQuery UI Resizable - Visual feedback</title>
5 <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
6 <script type="text/javascript" src="../../jquery-1.4.1.js"></script>
7 <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
8 <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
9 <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
10 <script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
11 <link type="text/css" href="../demos.css" rel="stylesheet" />
12 <style type="text/css">
13 #resizable { width: 150px; height: 150px; padding: 0.5em; }
14 #resizable h3 { text-align: center; margin: 0; }
15 .ui-resizable-ghost { border: 1px dotted gray; }
16 </style>
17 <script type="text/javascript">
18 $(function() {
19 $("#resizable").resizable({
20 ghost: true
21 });
22 });
23 </script>
24</head>
25<body>
26<div class="demo">
27
28<div id="resizable" class="ui-widget-content">
29 <h3 class="ui-widget-header">Ghost</h3>
30</div>
31
32</div><!-- End demo -->
33
34<div class="demo-description">
35
36<p>Instead of showing the actual element during resize, set the <code>ghost</code> option to true to show a semi-transparent part of the element.</p>
37
38</div><!-- End demo-description -->
39</body>
40</html>
Note: See TracBrowser for help on using the repository browser.