<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DHTML ONLINE &#187; DHTML tutorial</title>
	<atom:link href="http://dhtmlonline.com/category/dhtml-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://dhtmlonline.com</link>
	<description>HTML and DHTML tutorials</description>
	<lastBuildDate>Tue, 15 Sep 2009 09:37:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DHTML Tutorial</title>
		<link>http://dhtmlonline.com/dhtml-tutorial/</link>
		<comments>http://dhtmlonline.com/dhtml-tutorial/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:49:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHTML tutorial]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/dhtml-tutorial/</guid>
		<description><![CDATA[DHTML is the art of making HTML pages dynamic!
DHTML is a combination of technologies used to create dynamic and interactive Web sites.
To most people DHTML means a combination of HTML, Style Sheets and JavaScript.


DHTML DOM Reference
At CodeDcode you will find a complete DHTML DOM reference of all the DOM objects, along with their properties and [...]]]></description>
			<content:encoded><![CDATA[<p>DHTML is the art of making HTML pages dynamic!</p>
<p>DHTML is a combination of technologies used to create dynamic and interactive Web sites.</p>
<p>To most people DHTML means a combination of HTML, Style Sheets and JavaScript.<br />
<a href="http://www.codedcode.com/dhtml/dhtml-intro.asp"><br />
</a></p>
<h3>DHTML DOM Reference</h3>
<p>At CodeDcode you will find a complete DHTML DOM reference of all the DOM objects, along with their properties and methods.</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/dhtml-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHTML Introduction</title>
		<link>http://dhtmlonline.com/dhtml-introduction/</link>
		<comments>http://dhtmlonline.com/dhtml-introduction/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:48:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHTML tutorial]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=11</guid>
		<description><![CDATA[DHTML is the art of making HTML pages dynamic!
DHTML is a combination of technologies used to create dynamic and interactive Web sites.
To most people DHTML means a combination of HTML, Style Sheets and JavaScript.
DHTML DOM Reference
At CodeDcode you will find a complete DHTML DOM reference of all the DOM objects, along with their properties and [...]]]></description>
			<content:encoded><![CDATA[<p>DHTML is the art of making HTML pages dynamic!</p>
<p>DHTML is a combination of technologies used to create dynamic and interactive Web sites.</p>
<p>To most people DHTML means a combination of HTML, Style Sheets and JavaScript.</p>
<h3>DHTML DOM Reference</h3>
<p>At CodeDcode you will find a complete DHTML DOM reference of all the DOM objects, along with their properties and methods.</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/dhtml-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHTML CSS</title>
		<link>http://dhtmlonline.com/dhtml-css/</link>
		<comments>http://dhtmlonline.com/dhtml-css/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:47:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHTML tutorial]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=10</guid>
		<description><![CDATA[Which Attributes can be Used with CSS-P?
First, the element must specify the position attribute  				(relative or absolute).
Then we can set the following CSS-P attributes:

left &#8211; the element&#8217;s left position
top &#8211; the element&#8217;s top position
visibility &#8211; specifies whether an element should be  					visible or hidden
z-index &#8211; the element&#8217;s stack order
clip &#8211; element clipping
overflow &#8211; [...]]]></description>
			<content:encoded><![CDATA[<h2>Which Attributes can be Used with CSS-P?</h2>
<p>First, the element must specify the position attribute  				(relative or absolute).</p>
<p>Then we can set the following CSS-P attributes:</p>
<ul>
<li>left &#8211; the element&#8217;s left position</li>
<li>top &#8211; the element&#8217;s top position</li>
<li>visibility &#8211; specifies whether an element should be  					visible or hidden</li>
<li>z-index &#8211; the element&#8217;s stack order</li>
<li>clip &#8211; element clipping</li>
<li>overflow &#8211; how overflow contents are handled</li>
</ul>
<hr />
<h2>Position</h2>
<p>The CSS position property allows you to control the  				positioning of an element in a document.</p>
<h3>position:relative</h3>
<p>The position:relative property positions an element relative  				to its current position.</p>
<p>The following example positions the div element 10 pixels to  				the right <strong>from where it&#8217;s normally positioned</strong>:</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>div
{
position:relative;
left:10;
}</pre>
</td>
</tr>
</tbody>
</table>
<h3>position:absolute</h3>
<p>The position:absolute property positions an element from the  				margins of the window.</p>
<p>The following example positions the div element 10 pixels to  				the right <strong>from the left-margin of the the window</strong>:</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>div
{
position:absolute;
left:10;
}</pre>
</td>
</tr>
</tbody>
</table>
<hr />
<h2>Visibility</h2>
<p>The visibility property determines if an element is visible  				or not.</p>
<h3>visibility:visible</h3>
<p>The visibility:visible property makes the element visible.</p>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>h1
{
visibility:visible;
}</pre>
</td>
</tr>
</tbody>
</table>
<h3>visibility:hidden</h3>
<p>The visibility:hidden property makes the element invisible.</p>
<table id="table6" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>h1
{
visibility:hidden;
}</pre>
</td>
</tr>
</tbody>
</table>
<hr />
<h2>Z-index</h2>
<p>The z-index property is used to place an element &#8220;behind&#8221;  				another element. Default z-index is 0. The higher number the  				higher priority. z-index: -1 has lower priority.</p>
<table id="table7" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>h1
{
z-index:1;
}</pre>
<pre>h2
{
z-index:2;
}</pre>
</td>
</tr>
</tbody>
</table>
<p>In the example above, if the h1 and h2 elements are  				positioned on top of each other, the h2 element will be  				positioned on top of the h1 element.</p>
<hr />
<h2>Filters</h2>
<p>The filter property allows you to add more style effects to  				your text and images.</p>
<table id="table8" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>h1
{
width:100%;
filter:glow;
}</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Note:</strong> Always specify the width of the element if you  				want to use the filter property.</p>
<p>The example above produces this output:</p>
<table id="table9" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<h1 style="width: 100%;">Header</h1>
</td>
</tr>
</tbody>
</table>
<h3>Different Filters</h3>
<p><strong>Note:</strong> Some of the Filter properties will not work  				unless the background-color property is set to transparent!</p>
<table id="table10" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="15%" align="left" valign="top">Property</th>
<th width="10%" align="left" valign="top">Argument</th>
<th width="50%" align="left" valign="top">Description</th>
<th width="25%" align="left" valign="top">Example</th>
</tr>
<tr>
<td valign="top">alpha</td>
<td valign="top">opacity<br />
finishopacity<br />
style<br />
startx<br />
starty<br />
finishx<br />
finishy</td>
<td valign="top">Allows you to set the opacity of the  						element</td>
<td valign="top">filter:alpha(opacity=20,  						finishopacity=100, style=1, startx=0,<br />
starty=0, finishx=140, finishy=270)</td>
</tr>
<tr>
<td valign="top">blur</td>
<td valign="top">add<br />
direction<br />
strength</td>
<td valign="top">Makes the element blur</td>
<td valign="top">filter:blur(add=true, direction=90,  						strength=6);</td>
</tr>
<tr>
<td valign="top">chroma</td>
<td valign="top">color</td>
<td valign="top">Makes the specified color transparent</td>
<td valign="top">filter:chroma(color=#ff0000)</td>
</tr>
<tr>
<td valign="top">fliph</td>
<td valign="top">none</td>
<td valign="top">Flips the element horizontally</td>
<td valign="top">filter:fliph;</td>
</tr>
<tr>
<td valign="top">flipv</td>
<td valign="top">none</td>
<td valign="top">Flips the element vertically</td>
<td valign="top">filter:flipv;</td>
</tr>
<tr>
<td valign="top">glow</td>
<td valign="top">color<br />
strength</td>
<td valign="top">Makes the element glow</td>
<td valign="top">filter:glow(color=#ff0000, strength=5);</td>
</tr>
<tr>
<td valign="top">gray</td>
<td valign="top">none</td>
<td valign="top">Renders the element in black and white</td>
<td valign="top">filter:gray;</td>
</tr>
<tr>
<td valign="top">invert</td>
<td valign="top">none</td>
<td valign="top">Renders the element in its reverse  						color and brightness values</td>
<td valign="top">filter:invert;</td>
</tr>
<tr>
<td valign="top">mask</td>
<td valign="top">color</td>
<td valign="top">Renders the element with the specified  						background color, and transparent foreground color</td>
<td valign="top">filter:mask(color=#ff0000);</td>
</tr>
<tr>
<td valign="top">shadow</td>
<td valign="top">color<br />
direction</td>
<td valign="top">Renders the element with a shadow</td>
<td valign="top">filter:shadow(color=#ff0000,  						direction=90);</td>
</tr>
<tr>
<td valign="top">dropshadow</td>
<td valign="top">color<br />
offx<br />
offy<br />
positive</td>
<td valign="top">Renders the element with a dropshadow</td>
<td valign="top">filter:dropshadow(color=#ff0000,  						offx=5, offy=5, positive=true);</td>
</tr>
<tr>
<td valign="top">wave</td>
<td valign="top">add<br />
freq<br />
lightstrength<br />
phase<br />
strength</td>
<td valign="top">Renders the element like a wave</td>
<td valign="top">filter:wave(add=true, freq=1,  						lightstrength=3, phase=0, strength=5)</td>
</tr>
<tr>
<td valign="top">xray</td>
<td valign="top">none</td>
<td valign="top">Renders the element in black and white  						with reverse color and brightness values</td>
<td valign="top">filter:xray;</td>
</tr>
</tbody>
</table>
<hr />
<h2>Background</h2>
<p>The background property allows you to select your own  				background.</p>
<h3>background-attachment:scroll</h3>
<p>The background scrolls along with the rest of the page.</p>
<h3>background-attachment:fixed</h3>
<p>The background does not move when the rest of the page  				scrolls.</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/dhtml-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHTML Document Object Model</title>
		<link>http://dhtmlonline.com/dhtml-document-object-model/</link>
		<comments>http://dhtmlonline.com/dhtml-document-object-model/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:45:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHTML tutorial]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=7</guid>
		<description><![CDATA[The Document Object Model gives us access to  				every element in a document.

Note: Most of the DHTML  				examples require IE 4.0+, Netscape 7+, or Opera 7+!
How to access an element?
The element must have an id attribute defined and a scripting  				language is needed. JavaScript is the most browser compatible  				scripting language, [...]]]></description>
			<content:encoded><![CDATA[<p>The Document Object Model gives us access to  				every element in a document.</p>
<hr />
<p style="color: #0000ff;"><strong>Note:</strong> Most of the DHTML  				examples require IE 4.0+, Netscape 7+, or Opera 7+!</p>
<h2>How to access an element?</h2>
<p>The element must have an id attribute defined and a scripting  				language is needed. JavaScript is the most browser compatible  				scripting language, so we use JavaScript.</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;html&gt;
&lt;body&gt;</pre>
<pre>&lt;h1 id="header"&gt;My header&lt;/h1&gt;</pre>
<pre>&lt;script type="text/javascript"&gt;
document.getElementById('header').style.color="red"
&lt;/script&gt;</pre>
<pre>&lt;/body&gt;
&lt;/html&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The script changes the color of the header element, and  				produces this output.</p>
<h1><span style="color: #ff0000;">My header</span></h1>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/dhtml-document-object-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Event handlers</title>
		<link>http://dhtmlonline.com/event-handlers/</link>
		<comments>http://dhtmlonline.com/event-handlers/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:45:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHTML tutorial]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=5</guid>
		<description><![CDATA[With an event handler you can do something with an element  				when an event occurs: when the user clicks an element, when the  				page loads, when a form is submitted, etc.




&#60;h1 onclick="style.color='red'"&#62;Click on this text&#60;/h1&#62;




The example above defines a header that turns red when a user  				clicks on it.
You can also add [...]]]></description>
			<content:encoded><![CDATA[<p>With an event handler you can do something with an element  				when an event occurs: when the user clicks an element, when the  				page loads, when a form is submitted, etc.</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;h1 onclick="style.color='red'"&gt;Click on this text&lt;/h1&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The example above defines a header that turns red when a user  				clicks on it.</p>
<p>You can also add a script in the head section of the page and  				then call the function from the event handler:</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript"&gt;
function changecolor()
{
document.getElementById('header').style.color="red"
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1 id="header" onclick="changecolor()"&gt;
Click on this text&lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
</td>
</tr>
</tbody>
</table>
<hr />
<h2>HTML 4.0 Event Handlers</h2>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="30%" align="left">Event</th>
<th width="70%" align="left">Occurs when&#8230;</th>
</tr>
<tr>
<td>onabort</td>
<td>a user aborts page loading</td>
</tr>
<tr>
<td>onblur</td>
<td>a user leaves an object</td>
</tr>
<tr>
<td>onchange</td>
<td>a user changes the value of an object</td>
</tr>
<tr>
<td>onclick</td>
<td>a user clicks on an object</td>
</tr>
<tr>
<td>ondblclick</td>
<td>a user double-clicks on an object</td>
</tr>
<tr>
<td>onfocus</td>
<td>a user makes an object active</td>
</tr>
<tr>
<td>onkeydown</td>
<td>a keyboard key is on its way down</td>
</tr>
<tr>
<td>onkeypress</td>
<td>a keyboard key is pressed</td>
</tr>
<tr>
<td>onkeyup</td>
<td>a keyboard key is released</td>
</tr>
<tr>
<td>onload</td>
<td>a page is finished loading. <strong>Note:</strong> In Netscape  						this event occurs during the loading of a page!</td>
</tr>
<tr>
<td>onmousedown</td>
<td>a user presses a mouse-button</td>
</tr>
<tr>
<td>onmousemove</td>
<td>a cursor moves on an object</td>
</tr>
<tr>
<td>onmouseover</td>
<td>a cursor moves over an object</td>
</tr>
<tr>
<td>onmouseout</td>
<td>a cursor moves off an object</td>
</tr>
<tr>
<td>onmouseup</td>
<td>a user releases a mouse-button</td>
</tr>
<tr>
<td>onreset</td>
<td>a user resets a form</td>
</tr>
<tr>
<td>onselect</td>
<td>a user selects content on a page</td>
</tr>
<tr>
<td>onsubmit</td>
<td>a user submits a form</td>
</tr>
<tr>
<td>onunload</td>
<td>a user closes a page</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/event-handlers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHTML Summary</title>
		<link>http://dhtmlonline.com/dhtml-summary/</link>
		<comments>http://dhtmlonline.com/dhtml-summary/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:44:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHTML tutorial]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=3</guid>
		<description><![CDATA[DHTML Summary
This tutorial has taught you how to use DHTML to create more  				dynamic and interactive Web sites.
You have learned how to use the combination of HTML, CSS and  				JavaScript to animate HTML documents.

Now You Know DHTML, What&#8217;s Next?
The next step is to learn about the HTML DOM and ASP.
HTML DOM
The HTML DOM [...]]]></description>
			<content:encoded><![CDATA[<h2>DHTML Summary</h2>
<p>This tutorial has taught you how to use DHTML to create more  				dynamic and interactive Web sites.</p>
<p>You have learned how to use the combination of HTML, CSS and  				JavaScript to animate HTML documents.</p>
<hr />
<h2>Now You Know DHTML, What&#8217;s Next?</h2>
<p>The next step is to learn about the HTML DOM and ASP.</p>
<p><strong>HTML DOM</strong></p>
<p>The HTML DOM defines a standard way for accessing and  				manipulating HTML documents.</p>
<p>The HTML DOM is platform and language independent and can be  				used by any programming language like Java, JavaScript, and  				VBScript.</p>
<p><strong>ASP</strong></p>
<p>While scripts in an HTML file are executed on the client (in  				the browser), scripts in an ASP file are executed on the server.</p>
<p>With ASP you can dynamically edit, change or add any content  				of a Web page, respond to data submitted from HTML forms, access  				any data or databases and return the results to a browser,  				customize a Web page to make it more useful for individual  				users.</p>
<p>Since ASP files are returned as plain HTML, they can be  				viewed in any browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/dhtml-summary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
