summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/ClientScript.page
diff options
context:
space:
mode:
authorwei <>2007-01-14 02:10:24 +0000
committerwei <>2007-01-14 02:10:24 +0000
commit45b0fe42a979d444d547a5248eb2e9e915aaf16a (patch)
tree2480dae3350e4a70949956c41984cceb8dce3efc /demos/quickstart/protected/pages/Controls/ClientScript.page
parent898049a4012eaecd99e7a418726215e656677809 (diff)
Add "block-content" to allow user comments on block level elements in quickstart docs.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/ClientScript.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/ClientScript.page21
1 files changed, 10 insertions, 11 deletions
diff --git a/demos/quickstart/protected/pages/Controls/ClientScript.page b/demos/quickstart/protected/pages/Controls/ClientScript.page
index d5687fb1..5b2147ec 100644
--- a/demos/quickstart/protected/pages/Controls/ClientScript.page
+++ b/demos/quickstart/protected/pages/Controls/ClientScript.page
@@ -3,7 +3,7 @@
<h1 id="2201">TClientScript</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TClientScript" />
<h2 id="2202">Including Bundled Javascript Libraries in Prado</h2>
-<p>
+<p id="260238" class="block-content">
<tt>TClientScript</tt> allows Javascript code to be insert or linked to the
page template. PRADO is bundled with a large library of Javascript functionality
including effects, AJAX, basic event handlers, and many others. The bundled
@@ -12,13 +12,13 @@ Javascript libraries can be linked to the current page template using the
can be specified using comma delimited string of the name of Javascript library
to include on the page. For following example will include the "ajax" and "effects" library.
</p>
-<com:TTextHighlighter Language="prado" CssClass="source">
+<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code_260101">
&lt;com:TClientScript PradoScripts="ajax, effects" /&gt;
</com:TTextHighlighter>
-<p>
- The available bundled libraries included in Prado are
- <ul>
+<p id="260239" class="block-content">
+ The available bundled libraries included in Prado are</p>
+ <ul id="u1" class="block-content">
<li><tt>prado</tt> : basic prado javascript framework based on Prototype</li>
<li><tt>effects</tt> : visual effects from script.aculo.us</li>
<li><tt>ajax</tt> : ajax and callback related based on Prototype</li>
@@ -28,25 +28,24 @@ to include on the page. For following example will include the "ajax" and "effec
<li><tt>rico</tt> : Rico library</li>
<li><tt>colorpicker</tt> : colorpicker</li>
</ul>
-</p>
-<p>The dependencies for each library are automatically resolved. That is,
+<p id="260240" class="block-content">The dependencies for each library are automatically resolved. That is,
specifying, say the "ajax", will also include the "prado" library.</p>
<h2 id="2203">Including Custom Javascript Files</h2>
-<p>Custom Javascript files can be register using the <tt>ScriptUrl</tt> property.
+<p id="260241" class="block-content">Custom Javascript files can be register using the <tt>ScriptUrl</tt> property.
The following example includes the Javascript file "test.js" to the page. In this case, the file
"test.js" is relative the current template you are using. Since the property value is
<a href="?page=Configurations.Templates3">dynamic asset tag</a>, the file "test.js" will be published
automatically, that is, the file will be copied to the assets directory if necessary.
</p>
-<com:TTextHighlighter Language="prado" CssClass="source">
+<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code_260102">
&lt;com:TClientScript ScriptUrl=&lt;%~ test.js %&gt; /&gt;
</com:TTextHighlighter>
-<p>You can include Javascript files from other servers by specifying the full URL string in
+<p id="260242" class="block-content">You can include Javascript files from other servers by specifying the full URL string in
the <tt>ScriptUrl</tt> property.</p>
<h2 id="2204">Including Custom Javascript Code Blocks</h2>
-<p> Any content within the <tt>TClientScript</tt> control tag will be considered as
+<p id="260243" class="block-content"> Any content within the <tt>TClientScript</tt> control tag will be considered as
Javascript code and will be rendered where it is declared.</p>
</com:TContent> \ No newline at end of file