source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/docs/fade.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: 2.6 KB
Line 
1
2<ul class="UIAPIPlugin-toc">
3<li><a href="#overview">Overview</a></li>
4<li><a href="#options">Arguments</a></li>
5</ul>
6<div class="UIAPIPlugin">
7 <h1>jQuery UI Fade Effect</h1>
8 <div id="overview">
9 <h2 class="top-header">Overview</h2>
10 <div id="overview-main">
11 <p>Fades the element.</p>
12 </div>
13 <div id="overview-dependencies">
14 <h3>Dependencies</h3>
15 <ul>
16<li>Effects Core</li>
17</ul>
18 </div>
19 <div id="overview-example">
20 <h3>Example</h3>
21 <div id="overview-example" class="example">
22<ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul>
23<p><div id="demo" class="tabs-container" rel="170">
24Hides the element by fading it out.<br />
25</p>
26<pre>
27$(&quot;div&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () {
28 $(this).<a href="http://docs.jquery.com/UI/Effects/hide" title="UI/Effects/hide">hide</a>(&quot;fade&quot;, {}, 1000);
29});
30
31</pre>
32<p></div><div id="source" class="tabs-container">
33</p>
34<pre>&lt;!DOCTYPE html&gt;
35&lt;html&gt;
36&lt;head&gt;
37 &lt;link type=&quot;text/css&quot; href=&quot;http://jqueryui.com/latest/themes/base/ui.all.css&quot; rel=&quot;stylesheet&quot; /&gt;
38 &lt;script type=&quot;text/javascript&quot; src=&quot;http://jqueryui.com/latest/jquery-1.3.2.js&quot;&gt;&lt;/script&gt;
39
40&lt;script src=&quot;http://jqueryui.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt;
41&lt;script src=&quot;http://jqueryui.com/latest/ui/effects.fade.js&quot;&gt;&lt;/script&gt;
42&lt;style type=&quot;text/css&quot;&gt;
43 div { margin: 0px; width: 100px; height: 80px; background: green; border: 1px solid black; position: relative; }
44&lt;/style&gt;
45
46 &lt;script type="text/javascript"&gt;
47 $(document).ready(function(){
48
49$(&quot;div&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () {
50 $(this).<a href="http://docs.jquery.com/UI/Effects/hide" title="UI/Effects/hide">hide</a>(&quot;fade&quot;, {}, 1000);
51});
52
53 });
54 &lt;/script&gt;
55&lt;/head&gt;
56&lt;body style="font-size:62.5%;"&gt;
57 &lt;div&gt;&lt;/div&gt;
58&lt;/body&gt;
59&lt;/html&gt;
60</pre>
61<p></div>
62</p>
63</div>
64 </div>
65 </div>
66 <div id="options">
67 <h2 class="top-header">Arguments</h2>
68 <ul class="options-list">
69 <p>The fade effect has no arguments</p>
70 </ul>
71 </div>
72</div>
73
74<!--
75Pre-expand include size: 3871 bytes
76Post-expand include size: 4705 bytes
77Template argument size: 2799 bytes
78Maximum: 2097152 bytes
79-->
80
81<!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3779-1!1!0!!en!2 and timestamp 20100128053341 -->
Note: See TracBrowser for help on using the repository browser.