<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>ClassBehaviours, the javascript framework based on class-name parsing</title>
		<link>http://www.classbehaviours.com/</link>
		<description>

			&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_classBehaviour.png"/&gt;
			&lt;p&gt;
				"ClassBehaviours" is a framework for simple scripted DHTML behaviours which are easily applied through the class-names in an HTML document.
			&lt;/p&gt;
			&lt;p&gt;
				"ClassBehaviours" will scan every html-element in the page for certain keywords in the classnames and apply scripted behaviour accordingly.
			&lt;/p&gt;
			&lt;p&gt;
				"ClassBehaviours" are formatted as jQuery plugins and can be implemented without writing a single line of code..
			&lt;/p&gt;
			&lt;p class="hidden"&gt;
				"ClassBehaviours" is free software: you can redistribute it and/or modify
				it under the terms of the GNU General Public License as published by
				the Free Software Foundation, either version 3 of the License, or
				(at your option) any later version.
			&lt;/p&gt;

		<![CDATA[
			<!-- unencoded area -->
		]]>

		</description>
		<language>en-us</language>
		<copyright>Copyright 2009  Maurice van Creij.</copyright>
		<pubDate>Wed, 4 Nov 2009 13:47:00 +0100</pubDate>
		<image>
			<url>http://www.classbehaviours.com/images/icon128_classBehaviour.png</url>
			<title>classBehaviours</title>
			<link>http://www.classbehaviours.com/</link>
		</image>
		<item>
			<title>disableAfterSubmit: Disable All Buttons on a Page to Avoid Double Submits</title>
			<link>http://www.classbehaviours.com/default.php?id=disable-after-submit</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_disableAfterSubmit.png"/&gt;
				&lt;p&gt;
					When submitting a comment to a blog or uploading files, clicking twice can have undesirable effects.
				&lt;/p&gt;

				~

			<![CDATA[
				<p class="clear">
					Events are added to all forms, links and buttons inside the "disableAfterSubmit" class-name, that disable the clicks after the first one.
				</p>
				<form action="" method="get" class="border disableAfterSubmit">
					<fieldset>
						<p>
							<input id="id" name="id" type="hidden" value="disable-after-submit"/>
							<input id="frmText0" name="frmText0" type="text" value="Lorem"/>
						</p>
						<p>
							<a href="?id=disable-after-submit&resubmit=true">Link</a>
						</p>
						<p>
							<input id="frmSubmit0" name="frmSubmit0" type="submit" value="Input"/>
						</p>
						<p>
							<button id="frmButton0" name="frmButton0" type="submit">Button</button>
						</p>
					</fieldset>
				</form>
				<p>
					Since the change cannot be reversed easily, this method is not to be used on AJAX functionality.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.disableaftersubmit.js">jquery.classbehaviours.disableaftersubmit.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/default.php?id=disable-after-submit&amp;cat=experimental">disableaftersubmit.html</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.disableaftersubmit.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,experimental,</category>
			<pubDate>Mon, 7 Dec 2009 09:21:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/disableAfterSubmit.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>googleEventTracker: Implement Google Event Tracker</title>
			<link>http://www.classbehaviours.com/default.php?id=implement-google-event-tracker</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_googleEventTracker.png"/&gt;
				&lt;p&gt;
					Use a single class-name to implement all the Google Event Tracker event handlers.
				&lt;/p&gt;

				~

			<![CDATA[
				<p class="clear">
					Lorem ipsum dolor sit amet.
				</p>
				<section class="border googleEventTracker">
					<p>
						Neque porro quisquam est, qui <a href="http://www.google.com/">dolorem ipsum quia</a> dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
					</p>
					<p>
						Ut enim ad minima veniam, quis <a href="http://www.google.com/?q=lipsum.pdf">nostrum exercitationem</a> ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
					</p>
					<p>
						Quis autem vel eum iure <a href="?1">reprehenderit qui in</a> ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
					</p>
				</section>
				<p>
					Lorem ipsum dolor sit amet.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.googleeventtracker.js">jquery.classbehaviours.googleeventtracker.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/default.php?id=a-cosmetic-extension-of-the-file-selector&amp;cat=experimental">googleeventtracker.html</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.googleeventtracker.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,experimental,</category>
			<pubDate>Tue, 17 Nov 2009 16:37:00 +0100</pubDate>
		</item>
		<item>
			<title>countDown: Count Down to an Event</title>
			<link>http://www.classbehaviours.com/default.php?id=count-down-to-an-event</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_countDown.png"/&gt;
				&lt;p&gt;
					A clock that counts down to a pre-determined time and triggers an event.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Count Down to a Pre-determined Time</h2>
				<p>
					The clock below counts down to a certain date. The input field can be adjusted as a test.
				</p>
				<div class="countDown border">
					<input type="text" value="11/27/2009 12:00"/>
					<input type="hidden" value="0"/>
					<input type="hidden" value="./xml/countDown.xml"/>
					<dl>
						<dt>Days: </dt>
						<dd>00</dd>
						<dt>Hours: </dt>
						<dd>00</dd>
						<dt>Minutes: </dt>
						<dd>00</dd>
						<dt>Seconds: </dt>
						<dd>00</dd>
					</dl>
				</div>
				<h2>Count Down for a Specific Amount of Time</h2>
				<p>
					The second example counts down a specific amount of seconds after loading.
				</p>
				<div class="countDown border">
					<input type="hidden" value=""/>
					<input type="text" value="20000"/>
					<input type="hidden" value="./xml/countDown.xml"/>
					<dl>
						<dt>Days: </dt>
						<dd>00</dd>
						<dt>Hours: </dt>
						<dd>00</dd>
						<dt>Minutes: </dt>
						<dd>00</dd>
						<dt>Seconds: </dt>
						<dd>00</dd>
					</dl>
				</div>
				<p>
					Both examples trigger an AJAX event after the timer runs out.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.countdown.js">jquery.classbehaviours.countdown.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=count-down-to-an-event">countDown.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/countDown.css">inputFormat.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.countdown.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Thu, 5 Nov 2009 9:11:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/countDown.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>inputFormat: Temporary Instructions in Input Fields</title>
			<link>http://www.classbehaviours.com/default.php?id=temporary-instructions-in-input-fields</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_inputFormat.png"/&gt;
				&lt;p&gt;
					To clarify the expected format of input there's often the temptation to fill in the field with a template.
					This script tries to facilitate this in the least intrusive way.
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					The template for the input is kept in "title" attribute of the field.
					It uses event-handlers to stay out of the way of the user by disappearing on que.
				</p>
				<fieldset class="border">
					<label href="?1">Date:</label>
					<input class="inputFormat" title="DD/MM/YYYY" type="text" />
				</fieldset>
				<p>
					Without Javascript the example template will default to a tool-tip. Equally useful.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.inputformat.js">jquery.classbehaviours.inputformat.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=temporary-instructions-in-input-fields">inputFormat.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/inputFormat.css">inputFormat.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.inputformat.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Wed, 4 Nov 2009 13:09:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/inputFormat.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>zoomOnPhoto: Display a Close-up of a Photo</title>
			<link>http://www.classbehaviours.com/default.php?id=display-a-close-up-of-a-photo</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_zoomOnPhoto.png"/&gt;
				&lt;p&gt;
					A simple little zoom function for thumbnails.
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					When the mouse is positioned over the thumbnail, the corresponding place on the larger version is shown.
				</p>
				<figure class="zoomOnPhoto animatedClassName focus_0,4,4 blur_5,9,9">
					<img alt="" src="./images/scrolledAnimation2.jpg"/>
					<div><img alt="Lorem ipsum dolor sit amet" src="./images/scrolledAnimation2a.jpg"/></div>
				</figure>
				<p class="clear">
					The fading effect is very easily added using the optional "animatedClassName" addon.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.zoomonphoto.js">jquery.classbehaviours.zoomonphoto.js</a>
						<ul>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js">jquery.classbehaviours.animatedclassname.js</a></li>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/default.php?id=display-a-close-up-of-a-photo&amp;cat=experimental">zoomOnPhoto.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/zoomOnPhoto.css">zoomOnPhoto.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.zoomonphoto.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Mon, 17 Aug 2009 13:34:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/zoomOnPhoto.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>sectionedTable: A Table with Scrolling Sections and Fixed Headers</title>
			<link>http://www.classbehaviours.com/default.php?id=sectioned-table</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_sectionedTable.png"/&gt;
				&lt;p&gt;
					A Table with Scrolling Sections and Fixed Headers
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					The following table is processed after the page has loaded into an HTML 5 construction with fixed headers.
				</p>
				<section class="sectionedTable showgroup0 hidegroup1" id="sectionedTable0">
					<header>
						<div class="fixed"></div>
						<div class="scrolled"></div>
					</header>
					<aside></aside>
					<article>
						<table>
							<thead>
								<tr>
									<th colspan="3"><span>Lorem</span></th>
									<td colspan="2"><span>Ipsum dolor</span></td>
									<td class="group_0" colspan="8"><span>Sit</span></td>
									<td class="toggleClassName flip_showgroup0 flop_hidegroup0 id_sectionedTable0"><span>Amet</span></td>
									<td class="group_1" colspan="16"><span>Sit</span></td>
									<td class="toggleClassName flip_showgroup1 flop_hidegroup1 id_sectionedTable0"><span>Amet</span></td>
									<td><span></span></td>
								</tr>
								<tr>
									<th><span>Lorem</span></th>
									<th><span>Ipsum</span></th>
									<th><span>Dolor</span></th>
									<td><span>Sit</span></td>
									<td><span>Amet</span></td>
									<td class="group_0"><span>Consectetur</span></td>
									<td class="group_0"><span>Adipisicing</span></td>
									<td class="group_0"><span>Elit</span></td>
									<td class="group_0"><span>Sed</span></td>
									<td class="group_0"><span>Do eiusmod</span></td>
									<td class="group_0"><span>Tempor</span></td>
									<td class="group_0"><span>Incididunt</span></td>
									<td class="group_0"><span>Ut labore</span></td>
									<td><span>Et dolore</span></td>
									<td class="group_1"><span>Magna</span></td>
									<td class="group_1"><span>Aliqua</span></td>
									<td class="group_1"><span>Ut enim</span></td>
									<td class="group_1"><span>Ad minim</span></td>
									<td class="group_1"><span>Veniam</span></td>
									<td class="group_1"><span>Quis</span></td>
									<td class="group_1"><span>Nostrud</span></td>
									<td class="group_1"><span>Exercitation</span></td>
									<td class="group_1"><span>Ullamco</span></td>
									<td class="group_1"><span>Laboris</span></td>
									<td class="group_1"><span>Nisi ut</span></td>
									<td class="group_1"><span>Aliquip ex</span></td>
									<td class="group_1"><span>Ea commodo</span></td>
									<td class="group_1"><span>Consequat</span></td>
									<td class="group_1"><span>Duis</span></td>
									<td class="group_1"><span>Aute irure</span></td>
									<td><span>Dolor in</span></td>
									<td><span>Reprehenderit</span></td>
								</tr>
							</thead>
							<tfoot>
								<tr>
									<th><span>Lorem</span></th>
									<th><span>Ipsum</span></th>
									<th><span>Dolor</span></th>
									<td><span>31.687</span></td>
									<td><span>5.426</span></td>
									<td class="group_0"><span>139</span></td>
									<td class="group_0"><span>1.398</span></td>
									<td class="group_0"><span>249</span></td>
									<td class="group_0"><span>830</span></td>
									<td class="group_0"><span></span></td>
									<td class="group_0"><span></span></td>
									<td class="group_0"><span>2.843</span></td>
									<td class="group_0"><span></span></td>
									<td><span>437</span></td>
									<td class="group_1"><span>728</span></td>
									<td class="group_1"><span></span></td>
									<td class="group_1"><span>128</span></td>
									<td class="group_1"><span>583</span></td>
									<td class="group_1"><span>80</span></td>
									<td class="group_1"><span></span></td>
									<td class="group_1"><span>40</span></td>
									<td class="group_1"><span>10</span></td>
									<td class="group_1"><span>513</span></td>
									<td class="group_1"><span>375</span></td>
									<td class="group_1"><span></span></td>
									<td class="group_1"><span></span></td>
									<td class="group_1"><span></span></td>
									<td class="group_1"><span>100</span></td>
									<td class="group_1"><span>2.433</span></td>
									<td class="group_1"><span></span></td>
									<td><span>5.426</span></td>
									<td><span>18.570</span></td>
								</tr>
							</tfoot>
							<tbody>
								<tr>
									<th><span>21</span></th>
									<th><span>31</span></th>
									<th><span>23</span></th>
									<td><span>24</span></td>
									<td><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>1</span></td>
									<td class="group_0"><span>2</span></td>
									<td class="group_0"><span>3</span></td>
									<td class="group_0"><span>4</span></td>
									<td><span>5</span></td>
									<td class="group_1"><span>6</span></td>
									<td class="group_1"><span>7</span></td>
									<td class="group_1"><span>8</span></td>
									<td class="group_1"><span>9</span></td>
									<td class="group_1"><span>10</span></td>
									<td class="group_1"><span>11</span></td>
									<td class="group_1"><span>12</span></td>
									<td class="group_1"><span>13</span></td>
									<td class="group_1"><span>14</span></td>
									<td class="group_1"><span>15</span></td>
									<td class="group_1"><span>16</span></td>
									<td class="group_1"><span>17</span></td>
									<td class="group_1"><span>18</span></td>
									<td class="group_1"><span>19</span></td>
									<td class="group_1"><span>20</span></td>
									<td class="group_1"><span>30</span></td>
									<td><span>31</span></td>
									<td><span>32</span></td>
								</tr>
								<tr class="odd">
									<th><span>7</span></th>
									<th><span>8</span></th>
									<th><span>9</span></th>
									<td><span>32</span></td>
									<td><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>15</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>1</span></td>
									<td><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>18</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr>
									<th><span>7</span></th>
									<th><span>8</span></th>
									<th><span>9</span></th>
									<td><span>32</span></td>
									<td><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>15</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>18</span></td>
									<td><span>19</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr class="odd">
									<th><span>19</span></th>
									<th><span>20</span></th>
									<th><span>21</span></th>
									<td><span>18</span></td>
									<td><span>22</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td><span>31</span></td>
									<td  class="group_1"><span>32</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td><span>16</span></td>
									<td><span>17</span></td>
								</tr>
								<tr>
									<th><span>10</span></th>
									<th><span>11</span></th>
									<th><span>12</span></th>
									<td><span>13</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>15</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>18</span></td>
									<td class="group_0"><span>19</span></td>
									<td class="group_0"><span>20</span></td>
									<td class="group_0"><span>21</span></td>
									<td><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr class="odd">
									<th><span>19</span></th>
									<th><span>20</span></th>
									<th><span>21</span></th>
									<td><span>22</span></td>
									<td><span>18</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td><span>31</span></td>
									<td  class="group_1"><span>32</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td><span>16</span></td>
									<td><span>17</span></td>
								</tr>
								<tr>
									<th><span>3</span></th>
									<th><span>4</span></th>
									<th><span>5</span></th>
									<td><span>6</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>7</span></td>
									<td class="group_0"><span>8</span></td>
									<td class="group_0"><span>1</span></td>
									<td class="group_0"><span>2</span></td>
									<td class="group_0"><span>9</span></td>
									<td class="group_0"><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td  class="group_1"><span>17</span></td>
									<td  class="group_1"><span>18</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr class="odd">
									<th><span>8</span></th>
									<th><span>9</span></th>
									<th><span>10</span></th>
									<td><span>11</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>15</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>18</span></td>
									<td class="group_0"><span>19</span></td>
									<td><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr>
									<th><span>20</span></th>
									<th><span>21</span></th>
									<th><span>22</span></th>
									<td><span>23</span></td>
									<td><span>19</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td class="group_0"><span>31</span></td>
									<td><span>32</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td><span>17</span></td>
									<td><span>18</span></td>
								</tr>
								<tr class="odd">
									<th><span>17</span></th>
									<th><span>18</span></th>
									<th><span>19</span></th>
									<td><span>20</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>21</span></td>
									<td class="group_0"><span>22</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td><span>29</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr>
									<th><span>4</span></th>
									<th><span>5</span></th>
									<th><span>6</span></th>
									<td><span>7</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>8</span></td>
									<td class="group_0"><span>9</span></td>
									<td class="group_0"><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>1</span></td>
									<td><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td  class="group_1"><span>17</span></td>
									<td  class="group_1"><span>18</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr class="odd">
									<th><span>4</span></th>
									<th><span>5</span></th>
									<th><span>6</span></th>
									<td><span>7</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>8</span></td>
									<td class="group_0"><span>9</span></td>
									<td class="group_0"><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>1</span></td>
									<td><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td  class="group_1"><span>17</span></td>
									<td  class="group_1"><span>18</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr>
									<th><span>31</span></th>
									<th><span>32</span></th>
									<th><span>1</span></th>
									<td><span>2</span></td>
									<td><span>18</span></td>
									<td class="group_0"><span>3</span></td>
									<td class="group_0"><span>4</span></td>
									<td class="group_0"><span>5</span></td>
									<td class="group_0"><span>6</span></td>
									<td class="group_0"><span>7</span></td>
									<td class="group_0"><span>8</span></td>
									<td class="group_0"><span>19</span></td>
									<td class="group_0"><span>20</span></td>
									<td><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td  class="group_1"><span>30</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td><span>16</span></td>
									<td><span>17</span></td>
								</tr>
								<tr class="odd">
									<th><span>10</span></th>
									<th><span>11</span></th>
									<th><span>12</span></th>
									<td><span>13</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>15</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>1</span></td>
									<td class="group_0"><span>2</span></td>
									<td class="group_0"><span>3</span></td>
									<td class="group_0"><span>6</span></td>
									<td><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>18</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr>
									<th><span>27</span></th>
									<th><span>28</span></th>
									<th><span>29</span></th>
									<td><span>30</span></td>
									<td><span>20</span></td>
									<td class="group_0"><span>31</span></td>
									<td class="group_0"><span>32</span></td>
									<td class="group_0"><span>1</span></td>
									<td class="group_0"><span>2</span></td>
									<td class="group_0"><span>3</span></td>
									<td class="group_0"><span>4</span></td>
									<td class="group_0"><span>5</span></td>
									<td class="group_0"><span>6</span></td>
									<td><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td  class="group_1"><span>17</span></td>
									<td><span>18</span></td>
									<td><span>19</span></td>
								</tr>
								<tr class="odd">
									<th><span>12</span></th>
									<th><span>13</span></th>
									<th><span>14</span></th>
									<td><span>15</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>18</span></td>
									<td class="group_0"><span>19</span></td>
									<td class="group_0"><span>20</span></td>
									<td class="group_0"><span>21</span></td>
									<td class="group_0"><span>22</span></td>
									<td class="group_0"><span>23</span></td>
									<td><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr>
									<th><span>17</span></th>
									<th><span>18</span></th>
									<th><span>19</span></th>
									<td><span>20</span></td>
									<td><span>16</span></td>
									<td class="group_0"><span>30</span></td>
									<td class="group_0"><span>31</span></td>
									<td class="group_0"><span>32</span></td>
									<td class="group_0"><span>21</span></td>
									<td class="group_0"><span>22</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td><span>14</span></td>
									<td><span>15</span></td>
								</tr>
								<tr class="odd">
									<th><span>5</span></th>
									<th><span>6</span></th>
									<th><span>18</span></th>
									<td><span>19</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>20</span></td>
									<td class="group_0"><span>21</span></td>
									<td class="group_0"><span>22</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td  class="group_1"><span>17</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr>
									<th><span>12</span></th>
									<th><span>13</span></th>
									<th><span>14</span></th>
									<td><span>15</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>18</span></td>
									<td class="group_0"><span>19</span></td>
									<td class="group_0"><span>1</span></td>
									<td class="group_0"><span>2</span></td>
									<td class="group_0"><span>3</span></td>
									<td class="group_0"><span>7</span></td>
									<td><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr class="odd">
									<th><span>24</span></th>
									<th><span>25</span></th>
									<th><span>26</span></th>
									<td><span>27</span></td>
									<td><span>18</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td class="group_0"><span>31</span></td>
									<td class="group_0"><span>32</span></td>
									<td class="group_0"><span>19</span></td>
									<td class="group_0"><span>20</span></td>
									<td class="group_0"><span>21</span></td>
									<td><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td><span>16</span></td>
									<td><span>17</span></td>
								</tr>
								<tr>
									<th><span>9</span></th>
									<th><span>24</span></th>
									<th><span>25</span></th>
									<td><span>26</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td class="group_0"><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td  class="group_1"><span>17</span></td>
									<td  class="group_1"><span>18</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td><span>8</span></td>
									<td><span>31</span></td>
								</tr>
								<tr class="odd">
									<th><span>20</span></th>
									<th><span>21</span></th>
									<th><span>22</span></th>
									<td><span>23</span></td>
									<td><span>18</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>19</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td><span>31</span></td>
									<td  class="group_1"><span>32</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td><span>16</span></td>
									<td><span>17</span></td>
								</tr>
								<tr>
									<th><span>12</span></th>
									<th><span>13</span></th>
									<th><span>14</span></th>
									<td><span>15</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>18</span></td>
									<td class="group_0"><span>19</span></td>
									<td class="group_0"><span>20</span></td>
									<td class="group_0"><span>21</span></td>
									<td class="group_0"><span>22</span></td>
									<td class="group_0"><span>23</span></td>
									<td><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr class="odd">
									<th><span>5</span></th>
									<th><span>6</span></th>
									<th><span>7</span></th>
									<td><span>22</span></td>
									<td><span>4</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td><span>31</span></td>
									<td  class="group_1"><span>32</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td  class="group_1"><span>17</span></td>
									<td  class="group_1"><span>18</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>1</span></td>
									<td><span>2</span></td>
									<td><span>3</span></td>
								</tr>
								<tr>
									<th><span>5</span></th>
									<th><span>6</span></th>
									<th><span>7</span></th>
									<td><span>8</span></td>
									<td><span>4</span></td>
									<td class="group_0"><span>9</span></td>
									<td class="group_0"><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>15</span></td>
									<td class="group_0"><span>16</span></td>
									<td><span>17</span></td>
									<td  class="group_1"><span>18</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td  class="group_1"><span>30</span></td>
									<td  class="group_1"><span>31</span></td>
									<td  class="group_1"><span>32</span></td>
									<td  class="group_1"><span>1</span></td>
									<td><span>2</span></td>
									<td><span>3</span></td>
								</tr>
								<tr class="odd">
									<th><span>8</span></th>
									<th><span>9</span></th>
									<th><span>10</span></th>
									<td><span>11</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>15</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>18</span></td>
									<td class="group_0"><span>19</span></td>
									<td><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td><span>30</span></td>
									<td><span>31</span></td>
								</tr>
								<tr>
									<th><span>19</span></th>
									<th><span>20</span></th>
									<th><span>21</span></th>
									<td><span>22</span></td>
									<td><span>32</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>28</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td  class="group_1"><span>14</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td  class="group_1"><span>3</span></td>
									<td  class="group_1"><span>15</span></td>
									<td  class="group_1"><span>16</span></td>
									<td  class="group_1"><span>17</span></td>
									<td><span>18</span></td>
									<td><span>31</span></td>
								</tr>
								<tr class="odd">
									<th><span>3</span></th>
									<th><span>15</span></th>
									<th><span>16</span></th>
									<td><span>17</span></td>
									<td><span>2</span></td>
									<td class="group_0"><span>18</span></td>
									<td class="group_0"><span>19</span></td>
									<td class="group_0"><span>20</span></td>
									<td class="group_0"><span>21</span></td>
									<td class="group_0"><span>22</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td  class="group_1"><span>30</span></td>
									<td  class="group_1"><span>31</span></td>
									<td  class="group_1"><span>32</span></td>
									<td  class="group_1"><span>4</span></td>
									<td  class="group_1"><span>5</span></td>
									<td  class="group_1"><span>6</span></td>
									<td  class="group_1"><span>7</span></td>
									<td  class="group_1"><span>8</span></td>
									<td  class="group_1"><span>9</span></td>
									<td  class="group_1"><span>10</span></td>
									<td  class="group_1"><span>11</span></td>
									<td  class="group_1"><span>12</span></td>
									<td  class="group_1"><span>13</span></td>
									<td><span>14</span></td>
									<td><span>1</span></td>
								</tr>
								<tr>
									<th><span>3</span></th>
									<th><span>4</span></th>
									<th><span>5</span></th>
									<td><span>6</span></td>
									<td><span>18</span></td>
									<td class="group_0"><span>7</span></td>
									<td class="group_0"><span>8</span></td>
									<td class="group_0"><span>9</span></td>
									<td class="group_0"><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td><span>15</span></td>
									<td  class="group_1"><span>19</span></td>
									<td  class="group_1"><span>20</span></td>
									<td  class="group_1"><span>21</span></td>
									<td  class="group_1"><span>22</span></td>
									<td  class="group_1"><span>23</span></td>
									<td  class="group_1"><span>24</span></td>
									<td  class="group_1"><span>25</span></td>
									<td  class="group_1"><span>26</span></td>
									<td  class="group_1"><span>27</span></td>
									<td  class="group_1"><span>28</span></td>
									<td  class="group_1"><span>29</span></td>
									<td  class="group_1"><span>30</span></td>
									<td  class="group_1"><span>31</span></td>
									<td  class="group_1"><span>32</span></td>
									<td  class="group_1"><span>1</span></td>
									<td  class="group_1"><span>2</span></td>
									<td><span>16</span></td>
									<td><span>17</span></td>
								</tr>
								<tr class="odd">
									<th><span>18</span></th>
									<th><span>19</span></th>
									<th><span>20</span></th>
									<td><span>21</span></td>
									<td><span>31</span></td>
									<td class="group_0"><span>22</span></td>
									<td class="group_0"><span>23</span></td>
									<td class="group_0"><span>24</span></td>
									<td class="group_0"><span>25</span></td>
									<td class="group_0"><span>26</span></td>
									<td class="group_0"><span>27</span></td>
									<td class="group_0"><span>6</span></td>
									<td class="group_0"><span>7</span></td>
									<td><span>8</span></td>
									<td class="group_1"><span>9</span></td>
									<td class="group_1"><span>10</span></td>
									<td class="group_1"><span>11</span></td>
									<td class="group_1"><span>12</span></td>
									<td class="group_1"><span>13</span></td>
									<td class="group_1"><span>14</span></td>
									<td class="group_1"><span>15</span></td>
									<td class="group_1"><span>16</span></td>
									<td class="group_1"><span>17</span></td>
									<td class="group_1"><span>1</span></td>
									<td class="group_1"><span>2</span></td>
									<td class="group_1"><span>3</span></td>
									<td class="group_1"><span>4</span></td>
									<td class="group_1"><span>5</span></td>
									<td class="group_1"><span>28</span></td>
									<td class="group_1"><span>29</span></td>
									<td><span>30</span></td>
									<td><span>32</span></td>
								</tr>
								<tr>
									<th><span>3</span></th>
									<th><span>4</span></th>
									<th><span>5</span></th>
									<td><span>6</span></td>
									<td><span>20</span></td>
									<td class="group_0"><span>7</span></td>
									<td class="group_0"><span>8</span></td>
									<td class="group_0"><span>9</span></td>
									<td class="group_0"><span>10</span></td>
									<td class="group_0"><span>11</span></td>
									<td class="group_0"><span>12</span></td>
									<td class="group_0"><span>13</span></td>
									<td class="group_0"><span>14</span></td>
									<td><span>15</span></td>
									<td class="group_1"><span>16</span></td>
									<td class="group_1"><span>17</span></td>
									<td class="group_1"><span>18</span></td>
									<td class="group_1"><span>21</span></td>
									<td class="group_1"><span>22</span></td>
									<td class="group_1"><span>23</span></td>
									<td class="group_1"><span>24</span></td>
									<td class="group_1"><span>25</span></td>
									<td class="group_1"><span>26</span></td>
									<td class="group_1"><span>27</span></td>
									<td class="group_1"><span>28</span></td>
									<td class="group_1"><span>29</span></td>
									<td class="group_1"><span>30</span></td>
									<td class="group_1"><span>31</span></td>
									<td class="group_1"><span>32</span></td>
									<td class="group_1"><span>1</span></td>
									<td><span>2</span></td>
									<td><span>19</span></td>
								</tr>
								<tr class="odd">
									<th><span>10</span></th>
									<th><span>11</span></th>
									<th><span>12</span></th>
									<td><span>13</span></td>
									<td><span>9</span></td>
									<td class="group_0"><span>14</span></td>
									<td class="group_0"><span>15</span></td>
									<td class="group_0"><span>16</span></td>
									<td class="group_0"><span>17</span></td>
									<td class="group_0"><span>18</span></td>
									<td class="group_0"><span>29</span></td>
									<td class="group_0"><span>30</span></td>
									<td class="group_0"><span>31</span></td>
									<td><span>32</span></td>
									<td class="group_1"><span>19</span></td>
									<td class="group_1"><span>20</span></td>
									<td class="group_1"><span>21</span></td>
									<td class="group_1"><span>22</span></td>
									<td class="group_1"><span>23</span></td>
									<td class="group_1"><span>24</span></td>
									<td class="group_1"><span>25</span></td>
									<td class="group_1"><span>26</span></td>
									<td class="group_1"><span>27</span></td>
									<td class="group_1"><span>28</span></td>
									<td class="group_1"><span>1</span></td>
									<td class="group_1"><span>2</span></td>
									<td class="group_1"><span>3</span></td>
									<td class="group_1"><span>4</span></td>
									<td class="group_1"><span>5</span></td>
									<td class="group_1"><span>6</span></td>
									<td><span>7</span></td>
									<td><span>8</span></td>
								</tr>
							</tbody>
						</table>
					</article>
					<footer>
						<div class="fixed"></div>
						<div class="scrolled"></div>
					</footer>
				</section>
				<p>
					Manipulation this much content is a fairly slow process on aging browsers like Internet Explorer.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.sectionedtable.js">jquery.classbehaviours.sectionedtable.js</a>
						<ul>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.toggleclassname.js">jquery.classbehaviours.toggleclassname.js</a></li>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/default.php?id=sectioned-table">sectionedTable.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/sectionedTable.css">sectionedTable.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.toggleclassname.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.sectionedtable.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Mon, 3 Aug 2009 11:38:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/sectionedTable.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for an Article</title>
			<link>http://www.classbehaviours.com/default.php?id=typical-article&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_typical-article.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of an article in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<section class="typicalArticle">
					<header>
						<hgroup>
							<h1>"de Finibus Bonorum et Malorum"</h1>
							<h2>written by Cicero in 45 BC</h2>
						</hgroup>
						<time>Thu, 30 July 2009</time>
					</header>
					<article>
						<figure>
							<img alt="Lolum Catsum" src="./images/scrolledAnimation2.jpg"/>
							<strong>Lolum Catsum</strong>
						</figure>
						<p>
							Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit <a href="?1">voluptatem accusantium doloremque</a> laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
							Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
							Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
						</p>
						<h3>At vero eos et accusamus</h3>
						<p>
							At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
							Et harum quidem rerum facilis est et expedita distinctio.
							Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
							Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae.
							Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
						</p>
						<ul class="linksList">
							<li><a href="?1">Lorem ipsum dolor sit amet</a></li>
							<li><a href="?1">Nemo enim ipsam voluptatem</a></li>
							<li><a href="?1">Quis autem vel eum iure reprehenderit</a></li>
						</ul>
						<ul class="downloadsList">
							<li><a class="pdf" href="?1">Lorem ipsum dolor sit amet</a></li>
							<li><a class="doc" href="?1">Nemo enim ipsam voluptatem</a></li>
							<li><a class="xls" href="?1">Quis autem vel eum iure reprehenderit</a></li>
						</ul>
					</article>
					<footer>
						Source: <a href="?1">Lorem Ipsum</a>
					</footer>
				</section>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=typical-article">typicalArticle.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/typicalArticle.css">typicalArticle.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 30 July 2009 16:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalArticle.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for FAQ List</title>
			<link>http://www.classbehaviours.com/default.php?id=typical-faq&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_typicalFaq.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of an FAQ list in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<section class="typicalFaq">
					<header>
						<h1>Frequently Asked Questions</h1>
						<fieldset>
							<label for="frmTypicalFaq">Subject:</label>
							<select id="frmTypicalFaq">
								<option>---</option>
								<option>Lorem ipsum dolor</option>
							</select>
							<span class="overlapButton"><span class="overlap"><input class="button" type="button" value="Search"/></span></span>
						</fieldset>
					</header>
					<article>
						<dl>
							<dt class="toggleNextNode active">
								<em>1</em>
								<strong>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</strong>
							</dt>
							<dd class="showThisNode">
								<p>
									Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
									Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
									Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
								</p>
							</dd>
							<dt class="toggleNextNode link">
								<em>2</em>
								<strong>Excepteur sint occaecat cupidatat non proident, sunt in culpa.</strong>
							</dt>
							<dd class="hideThisNode">
								<p>
									Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
									Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
									Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
								</p>
							</dd>
							<dt class="toggleNextNode link">
								<em>3</em>
								<strong>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</strong>
							</dt>
							<dd class="hideThisNode">
								<p>
									Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
									Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
									Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
								</p>
							</dd>
							<dt class="toggleNextNode link">
								<em>10</em>
								<strong>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</strong>
							</dt>
							<dd class="hideThisNode">
								<p>
									Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
									Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
									Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
								</p>
							</dd>
						</dl>
					</article>
				</section>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=typical-faq">typicalFaq.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/typicalFaq.css">typicalFaq.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 30 July 2009 16:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalFaq.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for a Form</title>
			<link>http://www.classbehaviours.com/default.php?id=typical-form&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_typicalForm.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of a form in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<dl class="typicalForm">
					<dt>
						<a href="?1">Edit</a>
						<em>0</em>
						<strong>Lorem ipsum dolor sit amet</strong>
					</dt>
					<dt>
						<a href="?1">Edit</a>
						<em>1</em>
						<strong>Ullamco laboris nisi</strong>
					</dt>
					<dd>
						<article>
							<table>
								<caption>Your personal details:</caption>
								<tbody>
									<tr>
										<th>Lorem Ipsum:</th>
										<td><div class="full">Lorem</div></td>
									</tr>
									<tr class="odd">
										<th>Dolor sit amet</label></th>
										<td><div class="full">---</div></td>
									</tr>
									<tr>
										<th>Elit sed</th>
										<td><div class="full">---</div></td>
									</tr>
									<tr class="odd">
										<th>Do eiusmod</th>
										<td><div class="full">---</div></td>
									</tr>
									<tr>
										<th><label>Tempor:</label></th>
										<td><div class="full">---</div></td>
									</tr>
									<tr class="odd">
										<th>Incididunt</th>
										<td><div class="full">Check 0</div></td>
									</tr>
									<tr>
										<th>Ut labore</th>
										<td><div class="full">Radio 0</div></td>
									</tr>
									<tr class="odd">
										<th>Et dolore:</th>
										<td><div class="full">Yes</div></td>
									</tr>
									<tr>
										<th><label>magna aliqua:</label></th>
										<td><div class="full">Ut enim ad minim veniam, quis nostrud exercitation ullamco</div></td>
									</tr>
								</tbody>
							</table>
							<p class="buttons">
								<a class="button" href="?1">Edit</a>
							</p>
						</article>
					</dd>
					<dt class="active">
						<em>2</em>
						<strong>Quis nostrud exercitation</strong>
					</dt>
					<dd>
						<form action="">
							<fieldset>
								<legend>Personal Details</legend>
								<p>
									Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
									Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
									Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
								</p>
								<div class="summary">
									<h3>Warning!</h3>
									<ul>
										<li>Ut enim ad minim veniam, quis nostrud exercitation ullamco</li>
										<li>Duis aute irure dolor in reprehenderit</li>
										<li>Excepteur sint occaecat cupidatat non proident</li>
									</ul>
								</div>
								<table cellspacing="1">
									<caption>Enter your personal details:</caption>
									<tfoot>
										<tr>
											<th><em>*</em> Required fields</th>
											<td><span class="overlapButton"><span class="overlap"><input class="button" name="frmPollSumbit" id="frmPollSubmit" type="submit" value="Submit"/></span></span></td>
										</tr>
									</tfoot>
									<tbody>
										<tr>
											<th><label for="frmLorem0">Lorem Ipsum:</label></th>
											<td>
												<div class="full">
													<input type="radio" id="frmLorem0" name="frmLorem" value="0"/><label for="frmGender0">Lorem</label>
													<input type="radio" id="frmLorem1" name="frmLorem" value="1"/><label for="frmGender1">Ipsum</label>
												</div>
											</td>
										</tr>
										<tr class="odd">
											<th><label for="frmDolor">Dolor sit amet<em>*</em>:</label></th>
											<td>
												<input class="medium left" type="text" id="frmDolor" name="frmDolor" />
												<input class="medium right" type="text" id="frmAmet" name="frmAmet" />
											</td>
										</tr>
										<tr>
											<th><label class="error" for="frmElit">Elit sed<em>*</em>:</label></th>
											<td>
												<input class="large left error" type="text" id="frmElit" name="frmElit" />
												<input class="small right error" type="text" id="frmSed" name="frmSed" />
											</td>
										</tr>
										<tr class="odd">
											<th><label for="frmEiusmod">Do eiusmod<em>*</em>:</label></th>
											<td>
												<input class="full left" type="text" id="frmEiusmod" name="frmEiusmod" />
											</td>
										</tr>
										<tr>
											<th><label for="frmTempor">Tempor:</label></th>
											<td>
												<select class="full left" id="frmTempor" name="frmTempor">
													<option>--</option>
												</select>
											</td>
										</tr>
										<tr class="odd">
											<th><label for="frmIncididunt0">Incididunt<em>*</em>:</label></th>
											<td>
												<ul class="full">
													<li><input type="checkbox" id="frmIncididunt0" name="frmIncididunt0" value="check0"/><label for="frmCheck0">Check 0</label></li>
													<li><input type="checkbox" id="frmIncididunt1" name="frmIncididunt1" value="check1"/><label for="frmCheck1">Check 1</label></li>
													<li><input type="checkbox" id="frmIncididunt2" name="frmIncididunt2" value="check2"/><label for="frmCheck2">Check 2</label></li>
													<li><input type="checkbox" id="frmIncididunt3" name="frmIncididunt3" value="check3"/><label for="frmCheck3">Check 3</label></li>
												</ul>
											</td>
										</tr>
										<tr>
											<th><label for="frmLabore0">Ut labore<em>*</em>:</label></th>
											<td>
												<ul class="full">
													<li><input type="radio" id="frmLabore0" name="frmLabore" value="radio0"/><label for="frmRadio0">Radio 0</label></li>
													<li><input type="radio" id="frmLabore1" name="frmLabore" value="radio1"/><label for="frmRadio1">Radio 1</label></li>
													<li><input type="radio" id="frmLabore2" name="frmLabore" value="radio2"/><label for="frmRadio2">Radio 2</label></li>
													<li><input type="radio" id="frmLabore3" name="frmLabore" value="radio3"/><label for="frmRadio3">Other:</label><input class="small" type="text" id="frmUt" name="frmUt" /></li>
												</ul>
											</td>
										</tr>
										<tr class="odd">
											<th><label for="frmDolore">Et dolore:</label></th>
											<td>
												<div class="full">
													<input type="checkbox" id="frmDolore" name="frmDolore" value="0"/><label for="frmDolore">Sed ut perspiciatis unde omnis iste</label>
												</div>
											</td>
										</tr>
										<tr>
											<th><label for="frmMagna">magna aliqua:</label></th>
											<td>
												<textarea class="full left" cols="32" id="frmMagna" name="frmMagna" rows="8"></textarea>
											</td>
										</tr>
									</tbody>
								</table>
							</fieldset>
						</form>
					</dd>
					<dt>
						<em>3</em>
						<strong>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat</strong>
					</dt>
					<dt>
						<em>4</em>
						<strong>Ut aliquip ex</strong>
					</dt>
				</dl>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=typical-form">typicalForm.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/typicalForm.css">typicalForm.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 30 July 2009 16:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalForm.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for Tabular Data</title>
			<link>http://www.classbehaviours.com/default.php?id=typical-tabular-data&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_typicalTabularData.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of a form in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<table class="typicalTabularData">
					<thead>
						<tr>
							<th>Lorem</th>
							<th>Ipsum</th>
							<th>Dolor</th>
						</tr>
					</thead>
					<tfoot>
						<tr>
							<td>Lorem</td>
							<td>6</td>
							<td>9</td>
						</tr>
					</tfoot>
					<tbody>
						<tr class="odd">
							<th>Adipisicing</th>
							<td>5</td>
							<td>0</td>
						</tr>
						<tr class="even">
							<th>Elit</th>
							<td>1</td>
							<td>4</td>
						</tr>
						<tr class="odd">
							<th>Sed</th>
							<td>3</td>
							<td>2</td>
						</tr>
						<tr class="even">
							<th>Do eiusmod</th>
							<td>4</td>
							<td>1</td>
						</tr>
						<tr class="odd">
							<th>Tempor</th>
							<td>2</td>
							<td>3</td>
						</tr>
						<tr class="even">
							<th>Incididunt</th>
							<td>0</td>
							<td>5</td>
						</tr>
					</tbody>
				</table>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=typical-tabular-data">typicalTabularData.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/typicalTabularData.css">typicalTabularData.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 30 July 2009 16:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalTabularData.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for a Poll</title>
			<link>http://www.classbehaviours.com/default.php?id=typical-poll&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_typicalPoll.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of a form in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<section id="typicalPoll">
					<header>
						<h1>Lorem ipsum dolor sit amet?</h1>
					</header>
					<article>
						<p>
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
						</p>
					</article>
					<fieldset>
						<ul>
							<li><input id="frmRadio0a" name="frmRadio0" type="radio"/><label for="frmRadio0a">Lorem ipsum ut enim ad minim veniam quis nostrud</label></li>
							<li><input id="frmRadio0b" name="frmRadio0" type="radio"/><label for="frmRadio0b">Dolor sit amet</label></li>
							<li><input id="frmRadio0c" name="frmRadio0" type="radio"/><label for="frmRadio0c">Consectetur</label></li>
						</ul>
						<p>
							<span class="overlapButton"><span class="overlap"><input class="button" name="frmPollSumbit" id="frmPollSubmit" type="submit" value="Send"/></span></span>
						</p>
					</fieldset>
					<hr/>
					<dl>
						<dt>Lorem Ipsum</dt>
						<dd><meter style="width:25%;"><em>25%</em></meter></dd>
						<dt>Dolor Sit Amet</dt>
						<dd><meter style="width:50%;"><em>50%</em></meter></dd>
						<dt>Consectetur</dt>
						<dd><meter style="width:100%;"><em>100%</em></meter></dd>
					</dl>
				</section>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=typical-poll">typicalPoll.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/typicalPoll.css">typicalPoll.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 30 July 2009 16:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalPoll.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for Summaries</title>
			<link>http://www.classbehaviours.com/default.php?id=typical-summaries&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_typicalSummaries.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of a related article in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<section class="typicalSummaries">
					<article>
						<figure>
							<img alt="Lolum Catsum" src="./images/scrolledAnimation2.jpg"/>
							<strong>Lolum Catsum</strong>
						</figure>
						<h2>Lorem ipsum dolor sit amet</h2>
						<p>
							Lorem ipsum dolor sit amet, <a href="?1">consectetur adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
						<ul class="linksList">
							<li><a href="?1" title="More about: At vero eos et accusamus">Read more...</a></li>
						</ul>
					</article>
					<article>
						<figure class="right">
							<img alt="Lolum Catsum" src="./images/scrolledAnimation2.jpg"/>
							<strong>Lolum Catsum</strong>
						</figure>
						<h2>Lorem ipsum dolor sit amet</h2>
						<p>
							Lorem ipsum dolor sit amet, <a href="?1">consectetur adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
						<ul class="linksList">
							<li><a href="?1" title="More about: At vero eos et accusamus">Read more...</a></li>
						</ul>
					</article>
					<article>
						<figure>
							<img alt="Lolum Catsum" src="./images/scrolledAnimation2.jpg"/>
							<strong>Lolum Catsum</strong>
						</figure>
						<h2>Lorem ipsum dolor sit amet</h2>
						<p>
							Lorem ipsum dolor sit amet, <a href="?1">consectetur adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
						<ul class="linksList">
							<li><a href="?1" title="More about: At vero eos et accusamus">Read more...</a></li>
						</ul>
					</article>
				</section>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=typical-summaries">typicalSummaries.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/typicalRelatedArticle.css">typicalSummaries.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 30 July 2009 16:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalSummaries.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for a Search Function</title>
			<link>http://www.classbehaviours.com/default.php?id=typical-search&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_typicalSearch.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of a search function in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<section class="typicalSearch">
					<header>
						<h1>Search this Page</h1>
						<fieldset>
							<label for="frmSearchQuery">Subject:</label>
							<input class="text" type="text" id="frmSearchQuery" name="frmSearchQuery" value=""/>
							<span class="overlapButton"><span class="overlap"><input class="button" name="frmSearchSubmit" id="frmSearchSubmit" type="button" value="Search"/></span></span>
						</fieldset>
						<h2>The Results: Your search for <strong>"Subject x"</strong> produced a <strong>254 results</strong></h2>
						<menu class="searchPager">
							<li class="previous"><a href="?1">Previous</a></li>
							<li class="next"><a href="?1">Next</a></li>
							<li class="pages">
								<ul>
									<li><a href="?1">1</a></li>
									<li><a href="?1">2</a></li>
									<li><a href="?1">3</a></li>
									<li><a href="?1">4</a></li>
									<li class="active"><a href="?1">5</a></li>
									<li><a href="?1">6</a></li>
									<li><a href="?1">7</a></li>
									<li><a href="?1">8</a></li>
									<li><a href="?1">9</a></li>
									<li><a href="?1">10</a>...</li>
									<li><a href="?1">15</a></li>
								</ul>
							</li>
						</menu>
					</header>
					<article>
						<dl>
							<dt><a href="?1">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</a></dt>
							<dd>
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</dd>
							<dt class="odd"><a href="?1">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</a></dt>
							<dd class="odd">
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</dd>
							<dt><a href="?1">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</a></dt>
							<dd>
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</dd>
							<dt class="odd"><a href="?1">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</a></dt>
							<dd class="odd">
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</dd>
						</dl>
					</article>
					<footer>
						<menu class="searchPager">
							<li class="previous"><a href="?1">Previous</a></li>
							<li class="next"><a href="?1">Next</a></li>
							<li class="pages">
								<ul>
									<li><a href="?1">1</a></li>
									<li><a href="?1">2</a></li>
									<li><a href="?1">3</a></li>
									<li><a href="?1">4</a></li>
									<li class="active"><a href="?1">5</a></li>
									<li><a href="?1">6</a></li>
									<li><a href="?1">7</a></li>
									<li><a href="?1">8</a></li>
									<li><a href="?1">9</a></li>
									<li><a href="?1">10</a>...</li>
									<li><a href="?1">15</a></li>
								</ul>
							</li>
						</menu>
					</footer>
				</section>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=typical-search">typicalSearch.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/typicalSearch.css">typicalSearch.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 30 July 2009 16:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalSearch.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for a Site-map</title>
			<link>http://www.classbehaviours.com/default.php?id=typical-sitemap&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_typicalSitemap.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of a site-map in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<menu class="typicalSitemap">
					<li class="metaList">
						<ul>
							<li><a href="?1">Home</a></li>
							<li><a href="?1">Faq</a></li>
							<li><a href="?1">Contact</a></li>
							<li><a href="?1">Search</a></li>
						</ul>
					</li>
					<li class="oddList">
						<a href="?1">Lorem Ipsum</a>
						<ul>
							<li>
								<a href="?1">Dolor Sit Amet</a>
								<ul>
									<li><a href="?1">Article 1</a></li>
									<li><a href="?1">Article 2</a></li>
									<li><a href="?1">Article 3</a></li>
									<li><a href="?1">Etc.</a></li>
								</ul>
							</li>
							<li>
								<a href="?1">Consectetur</a>
								<ul>
									<li><a href="?1">Article 1</a></li>
									<li><a href="?1">Article 2</a></li>
									<li><a href="?1">Article 3</a></li>
									<li><a href="?1">Etc.</a></li>
								</ul>
							</li>
						</ul>
					</li>
					<li class="evenList">
						<a href="?1">Adipisicing Elit</a>
						<ul>
							<li>
								<a href="?1">Sed Do Eiusmod</a>
								<ul>
									<li><a href="?1">Article 1</a></li>
									<li><a href="?1">Article 2</a></li>
									<li><a href="?1">Article 3</a></li>
									<li><a href="?1">Etc.</a></li>
								</ul>
							</li>
							<li>
								<a href="?1">Tempor Incididunt</a>
								<ul>
									<li><a href="?1">Article 1</a></li>
									<li><a href="?1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
									<li><a href="?1">Article 3</a></li>
									<li><a href="?1">Etc.</a></li>
								</ul>
							</li>
						</ul>
					</li>
				</menu>

				<hr class="clear"/>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=typical-sitemap">typicalSitemap.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/typicalSitemap.css">typicalSitemap.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 30 July 2009 16:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalSitemap.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Typical Markup for a Layout with Multiple Columns</title>
			<link>http://www.classbehaviours.com/default.php?id=multiple-columns&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_multipleColumns.png"/&gt;
				&lt;p&gt;
					This example offers the typical markup of a related article in HTML 5.
				&lt;/p&gt;

				~

			<![CDATA[

				<section class="typicalColumns">
					<aside class="left small">
						<h3>Lorem ipsum</h3>
						<p>
							Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
					</aside>
					<article class="left medium">
						<h2>Dolor sit amet</h2>
						<p>
							Lorem ipsum dolor sit amet, <a href="?1">consectetur adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
					</article>
					<aside class="right small">
						<h3>Consectetur adipisicing</h3>
						<p>
							Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
					</aside>
					<footer></footer>
				</section>
				<section class="typicalColumns">
					<article class="left medium">
						<h2>Dolor sit amet</h2>
						<p>
							Lorem ipsum dolor sit amet, <a href="?1">consectetur adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
					</article>
					<article class="right medium">
						<h2>Dolor sit amet</h2>
						<p>
							Lorem ipsum dolor sit amet, <a href="?1">consectetur adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
					</article>
					<footer></footer>
				</section>
				<section class="typicalColumns">
					<article class="left large">
						<h2>Dolor sit amet</h2>
						<p>
							Lorem ipsum dolor sit amet, <a href="?1">consectetur adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
						<p>
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
					</article>
					<aside class="right small">
						<h3>Lorem ipsum</h3>
						<p>
							Lorem ipsum dolor sit amet, <a href="?1">consectetur adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
					</aside>
					<footer></footer>
				</section>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=multiple-columns">multipleColumns.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/multipleColumns.css">multipleColumns.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Fri, 5 March 2010 9:47:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/typicalColumns.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>realTimeSearch: Search Results that are Previewed whilst Typing</title>
			<link>http://www.classbehaviours.com/default.php?id=real-time-search</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_rssSearch.png"/&gt;
				&lt;p&gt;
					This extention to a search field will retrieve the search results while typeing in the query.
				&lt;/p&gt;

				~

			<![CDATA[
				<p class="clear">
					The search below will perform a non-intrusive search at every character entry.
					The results are formatted in a bar of suggestions below the input.
				</p>
				<form action="" class="border" id="frmRealTimeSearchForm">
					<input name="id" type="hidden" value=""/>
					<fieldset class="realTimeSearch">
						<p>
							<label for="frmRealTimeSearch">Search:</label>
							<input id="frmRealTimeSearchUrl" type="hidden" value="http://www.classbehaviours.com/webservices/realTimeSearch.php?query="/>
							<input id="frmRealTimeSearchInput" type="text" value=""/>
							<meter><em><!-- {status} --></em></meter>
							<button id="frmRealTimeSearchButton">Submit</button>
						</p>
						<dl>
							<!--
							<dt><meter><em>{relevance}</em></meter><a href="{link}">{label}</a></dt>
							<dd>{description}</dd>
							-->
						</dl>
					</fieldset>
				</form>
				<p>
					In contrast with
					<a href="http://www.classbehaviours.com/default.php?id=search-an-rss-feed">rssSearch</a>,
					this example required a web-service on the server. An example of which is linked below.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.realtimesearch.js">jquery.classbehaviours.realtimesearch.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
							<li>Additional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js">jquery.classbehaviours.animatedclassname.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=real-time-search">realTimeSearch.html</a></li>
					<li>Example Webservice: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/realTimeSearch.php?query=classbehaviours">realTimeSearch.php</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/realTimeSearch.css">realTimeSearch.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.realtimesearch.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Mon, 20 Jul 2009 9:05:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/realTimeSearch.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>scrolledAnimation: An Animated Effect Driven by the Scroll Position</title>
			<link>http://www.classbehaviours.com/default.php?id=an-animated-effect-driven-by-the-scroll-position</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_scrolledAnimation.png"/&gt;
				&lt;p&gt;
					This example implements a graphical effect not unlike Apple's "Cover flow" to a list of images in a way that doesn't sacrifice accessibility.
				&lt;/p&gt;

				~

			<![CDATA[

				<h3 class="clear">Design</h3>
				<p>
					I assume some familiarity with the "Cover flow" effect in the Apple OS X operating system or iTunes,
					but more information can be found on the <a href="http://en.wikipedia.org/wiki/Cover_Flow">Wikipedia page</a> dedicated to it if needed.
				</p>
				<p>
					Since a cover flow interface is basically a list of image previews, the HTML equivalent of that will be used as a starting point.
				</p>
				<figure class="border illustration">
					<pre class="codeExample">
&lt;ul&gt;
	&lt;li&gt;
		&lt;a href="?id=2"&gt;
			&lt;img alt="" src="scrolledAnimation2.jpg"/&gt;&lt;br/&gt;
			&lt;em&gt;Lorem Ipsum&lt;/em&gt;
		&lt;/a&gt;
	&lt;/li&gt;
	&lt;li&gt;
		&lt;a href="?id=3"&gt;
			&lt;img alt="" src="scrolledAnimation3.jpg"/&gt;&lt;br/&gt;
			&lt;em&gt;Lorem Ipsum&lt;/em&gt;
		&lt;/a&gt;
	&lt;/li&gt;
	&lt;li&gt;
		&lt;a href="?id=4"&gt;
			&lt;img alt="" src="scrolledAnimation4.jpg"/&gt;&lt;br/&gt;
			&lt;em&gt;Lorem Ipsum&lt;/em&gt;
		&lt;/a&gt;
	&lt;/li&gt;
&lt;/ul&gt;
					</pre>
					<strong>Figure 1.</strong>
					<em>This HTML example is a simple list of images within hyperlinks.</em>
				</figure>
				<p>
					The above code would come out looking something like this:
				</p>
				<figure class="border illustration">
					<ul>
						<li><a href="http://www.classbehaviours.com/webservices/scrolledAnimation.php?id=2" class="reloadFromUrl id_popUpContainer"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation2.jpg"/><br/><em>Lorem Ipsum</em></a></li>
						<li><a href="http://www.classbehaviours.com/webservices/scrolledAnimation.php?id=3" class="reloadFromUrl id_popUpContainer"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation3.jpg"/><br/><em>Lorem Ipsum</em></a></li>
						<li><a href="http://www.classbehaviours.com/webservices/scrolledAnimation.php?id=4" class="reloadFromUrl id_popUpContainer"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation4.jpg"/><br/><em>Lorem Ipsum</em></a></li>
					</ul>
					<strong>Figure 2.</strong>
					<em>This raw html without markup.</em>
				</figure>
				<p>
					By sticking to this simple structure it is ensured that the contents of the example will be accessible to even the most limited browsers, like those on mobile phones and very easily parsed by search engines.
				</p>
				<hr/>

				<h3>Decoration</h3>
				<p>
					To shape this basic HTML into a horizontal scrolling list the individual elements are floated against each other in a container with an overflow property.
				</p>
				<figure class="border illustration">
					<pre class="codeExample">
section.scrolledAnimation {
	background : #000000 url(../images/scrolledAnimation0.jpg) no-repeat 0% 0%;
	border : solid 1px #000000;
	display : block;
	margin : 0px 0px 1em 0px;
	padding : 16px;
}
	section.scrolledAnimation div {
		height : 185px;
		overflow : auto;
		overflow-x : scroll;
		overflow-y : hidden;
		width : 100%;
	}
		section.scrolledAnimation div ul {
			margin : 0px;
			padding : 0px 45% 0px 45%;
			width : 10000px;
		}
			section.scrolledAnimation div ul li {
				float : left;
				list-style-type : none;
				padding : 16px;
				text-align : center;
				width : 100px;
			}
					</pre>
					<strong>Figure 3.</strong>
					<em>This clip of the CSS code shows how the images are floated together in a scrolling container.</em>
				</figure>
				<p>
					Below is how the marked up list looks with all its styles applied.
					Please note that, even without scripting, this is a perfectly functional piece of layout.
				</p>
				<figure class="border illustration">
					<style>
						section.bareAnimation {
							background : #000000 url(http://www.classbehaviours.com/images/scrolledAnimation1.jpg) no-repeat 0% 0%;
							border : solid 1px #000000;
							display : block;
							margin : 0px 0px 1em 0px;
							padding : 16px;
						}
							section.bareAnimation div {
								height : 185px;
								overflow : auto;
								overflow-x : scroll;
								overflow-y : hidden;
								width : 100%;
							}
								section.bareAnimation div ul {
									margin : 0px;
									padding : 0px 45% 0px 45%;
									width : 2000px;
								}
									section.bareAnimation div ul li {
										float : left;
										list-style-type : none;
										padding : 16px;
										text-align : center;
										width : 100px;
									}
										section.bareAnimation div ul li a {}
											section.bareAnimation div ul li a img {
												border : solid 2px #ffffff;
												border-bottom : solid 16px #ffffff;
											}
											section.bareAnimation div ul li a em {
												display : block;
												width : 100px;
												background-color : #ffffff;
												font-style : normal;
												line-height : 200%;
											}
										section.bareAnimation div ul li a:link,
										section.bareAnimation div ul li a:visited {
											color : #333333;
											text-decoration : none;
										}
											section.bareAnimation div ul li a:link img,
											section.bareAnimation div ul li a:visited img {
												border : solid 2px #ffffff;
												border-bottom : solid 24px #ffffff;
												height : 96px;
												margin : 0px 0px -24px 0px;
												width : 96px;
											}
										section.bareAnimation div ul li a:hover,
										section.bareAnimation div ul li a:active {
											color : #000000;
											text-decoration : none;
										}
											section.bareAnimation div ul li a:hover img,
											section.bareAnimation div ul li a:active img {
												border : solid 2px #ffffff;
												border-bottom : solid 24px #ffffff;
												height : 128px;
												margin : -16px -16px -24px -16px;
												width : 128px;
											}
					</style>
					<section class="bareAnimation">
						<div>
							<ul>
								<li><a href="#2"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation2.jpg"/><br/><em>Lollem Catsum</em></a></li>
								<li><a href="#3"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation3.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#4"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation4.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#5"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation5.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#6"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation6.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#7"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation7.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#8"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation8.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#9"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation9.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#10"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation10.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#11"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation11.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#12"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation12.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#13"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation13.jpg"/><br/><em>Lorem Ipsum</em></a></li>
								<li><a href="#14"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation14.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							</ul>
						</div>
					</section>
					<strong>Figure 4.</strong>
					<em>The unscripted container with its scrolling images.</em>
				</figure>
				<p>
					To keep this example simple, the default scrollbar is used instead of a prettier fake one. Doing so would have made the example too complicated to follow.
					The browser's standard scrollbar is of course also the safest choice to make for accessibility, since it always works.
				</p>
				<hr/>

				<h3>Dynamics</h3>
				<p>
					To add the required eye-candy to this example some scripting is required. jQuery was chosen because it allows the script to be applied in an unobtrusive way.
					To link the script to any cover flows on a page, the following jQuery statement was used.
				</p>
				<figure class="border illustration">
					<pre class="codeExample">
<em>// extend jQuery with this method</em>
jQuery.fn.scrolledAnimation = function(){
	return this.each(
		function(){
			jQuery.classBehaviours.handlers.scrolledAnimation.start(this);
		}
	);
};
<em>// set the event handler for this jQuery method</em>
$(document).ready(
	function(){
		$(".scrolledAnimation").scrolledAnimation();
	}
);
					</pre>
					<strong>Figure 5.</strong>
					<em>This jQuery statement links the cover flow script to all cover flow examples on a page with the same class-name.</em>
				</figure>
				<p>
					The basic reasoning behind the script will be to adjust the appearance of the image as a function of the distance scrolled and the item's place in line.
					Below is the functionality required broken up into the simplest steps possible.
				</p>
				<figure class="border illustration">
					<ul>
						<li>Get the distance scrolled in the display.</li>
						<li>Get all items in the scrolling display.</li>
						<li>Get the width of the scrolling display.</li>
						<li>
							For every item in the display.
							<ul>
								<li>Measure the width of the icon.</li>
								<li>Calculate the icon's relative position to the distance scrolled.</li>
								<li>Calculate how near the icon is to the center of the display.</li>
								<li>Adjust for icons that are outside the display.</li>
								<li>Make a useful rounded number.</li>
								<li>Use this number to adjust the class-name of the icon.</li>
							</ul>
						</li>
					</ul>
					<strong>Figure 6.</strong>
					<em>This is a description of the required functionality broken down into simple steps.</em>
				</figure>
				<p>
					With the program laid out in plain English, transferring it to javascript is the next step.
				</p>
				<figure class="border illustration">
					<pre class="codeExample">
jQuery.classBehaviours.handlers.scrolledAnimation = {
	start: function(node){
		<em>// get the scroller from this container</em>
		scroller = node.getElementsByTagName('DIV')[0];
		<em>// add the event handler</em>
		jQuery.classBehaviours.utilities.addEvent(scroller, 'scroll', this.adjustScroll);
	},
	adjustScroll: function(){
		var san = jQuery.classBehaviours.handlers.scrolledAnimation;
		<em>// get the distance scrolled in the display</em>
		scrollPosition = (san.focusNode!=null) ? san.focusNode.scrollLeft : 0 ;
		<em>// get all items in the scrolling display</em>
		scrollerItems = scroller.getElementsByTagName('LI');
		<em>// get the width of the scrolling display</em>
		scrollViewWidth = scrollerItems[0].parentNode.parentNode.offsetWidth;
		<em>// for every item in the display</em>
		for(var a=0; a&lt;scrollerItems.length; a++){
			<em>// measure the width of the icon</em>
			scrollItemWidth = scrollerItems[a].offsetWidth;
			<em>// calculate the icon's relative position to the distance scrolled</em>
			scrollRelativePosition = Math.abs(scrollItemWidth * a - scrollPosition);
			<em>// calculate how near the icon is to the center of the display</em>
			scrollCenterFraction = 10 * (1 - scrollRelativePosition / scrollViewWidth * 2);
			<em>// adjust for icons that are outside the display</em>
			scrollCenterFraction = (scrollCenterFraction&lt;0) ? 0 : scrollCenterFraction ;
			<em>// make a useful rounded number</em>
			scrollCenterFraction = Math.round(scrollCenterFraction);
			<em>// use this number to adjust the classname of the icon</em>
			scrollerItems[a].className = 'step_' + scrollCenterFraction;
		}
	}
}
					</pre>
					<strong>Figure 7.</strong>
					<em>The required javascript is added between the plain english descriptions of the functionality.</em>
				</figure>
				<p>
					As can be seen in the last line of this code example, only the class-name of the images is adjusted and the appearance not directly.
					This was done purposefully, to keep the decorative effects separate from the logic of the code.
				</p>
				<p>
					The actual changes to the appearance of the images are defined in the style sheet.
				</p>
				<figure class="border illustration">
					<pre class="codeExample">
/* steps indicate the relative distance from the center on a scale of 1 to 10 */
section.scrolledAnimation div ul li.step_0 {
	opacity : 0.00; -moz-opacity : 0.00; -khtml-opacity : 0.00; filter : alpha(opacity=0);
}
section.scrolledAnimation div ul li.step_1 {
	opacity : 0.10; -moz-opacity : 0.10; -khtml-opacity : 0.10; filter : alpha(opacity=10);
}
section.scrolledAnimation div ul li.step_2 {
	opacity : 0.20; -moz-opacity : 0.20; -khtml-opacity : 0.20; filter : alpha(opacity=20);
}
section.scrolledAnimation div ul li.step_3 {
	opacity : 0.30; -moz-opacity : 0.30; -khtml-opacity : 0.30; filter : alpha(opacity=30);
}
section.scrolledAnimation div ul li.step_4 {
	opacity : 0.40; -moz-opacity : 0.40; -khtml-opacity : 0.40; filter : alpha(opacity=40);
}
section.scrolledAnimation div ul li.step_5 {
	opacity : 0.50; -moz-opacity : 0.50; -khtml-opacity : 0.50; filter : alpha(opacity=50);
}
section.scrolledAnimation div ul li.step_6 {
	opacity : 0.60; -moz-opacity : 0.60; -khtml-opacity : 0.60; filter : alpha(opacity=60);
}
section.scrolledAnimation div ul li.step_7 {
	opacity : 0.70; -moz-opacity : 0.70; -khtml-opacity : 0.70; filter : alpha(opacity=70);
}
section.scrolledAnimation div ul li.step_8 {
	opacity : 0.80; -moz-opacity : 0.80; -khtml-opacity : 0.80; filter : alpha(opacity=80);
}
section.scrolledAnimation div ul li.step_9 {
	opacity : 0.90; -moz-opacity : 0.90; -khtml-opacity : 0.90; filter : alpha(opacity=90);
}
section.scrolledAnimation div ul li.step_10 {
	opacity : 1.00; -moz-opacity : 1.00; -khtml-opacity : 1.00; filter : alpha(opacity=100);
}
	section.scrolledAnimation div ul li.step_0 a img {
		height : 64px; margin : 16px; width : 64px;
	}
	section.scrolledAnimation div ul li.step_1 a img {
		height : 68px; margin : 14px; width : 68px;
	}
	section.scrolledAnimation div ul li.step_2 a img {
		height : 74px; margin : 11px; width : 74px;
	}
	section.scrolledAnimation div ul li.step_3 a img {
		height : 82px; margin : 7px; width : 82px;
	}
	section.scrolledAnimation div ul li.step_4 a img {
		height : 92px; margin : 2px; width : 92px;
	}
	section.scrolledAnimation div ul li.step_5 a img {
		height : 96px; margin : 0px; width : 96px;
	}
	section.scrolledAnimation div ul li.step_6 a img {
		height : 100px; margin : -2px; width : 100px;
	}
	section.scrolledAnimation div ul li.step_7 a img {
		height : 110px; margin : -7px; width : 110px;
	}
	section.scrolledAnimation div ul li.step_8 a img {
		height : 118px; margin : -11px; width : 118px;
	}
	section.scrolledAnimation div ul li.step_9 a img {
		height : 124px; margin : -14px; width : 124px;
	}
	section.scrolledAnimation div ul li.step_10 a img {
		height : 128px; margin : -16px; width : 128px;
	}
					</pre>
					<strong>Figure 8.</strong>
					<em>The steps defined in the style sheet determine the size and opacity of the images.</em>
				</figure>
				<p>
					This makes it easy for anyone modifying the example to stay out of the script, if the thought of changing the logic is too daunting.
				</p>
				<p>
					With the script cycling through the animation steps defined in the style sheet, the effect is complete.
					Every image is scaled and faded according to its position relative to the center of the display.
				</p>
				<section class="scrolledAnimation">
					<div>
						<ul>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation2.jpg"/><br/><em>Lollem Catsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation3.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation4.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation5.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation6.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation7.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation8.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation9.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation10.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation11.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation12.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation13.jpg"/><br/><em>Lorem Ipsum</em></a></li>
							<li><a href="#"><img alt="" src="http://www.classbehaviours.com/images/scrolledAnimation14.jpg"/><br/><em>Lorem Ipsum</em></a></li>
						</ul>
					</div>
				</section>
				<p>
					As an extra feature, clicking on the images, will open a larger version in a floating popup layer, commonly referred to as a "light-box".
					This effect is scripted similarly to the cover flow example and discussed elsewhere on this site in <a href="http://www.classbehaviours.com/default.php?id=pop-up-layer">popUpLayer: A Light-box Styled Pop-Up Layer</a>.
				</p>
				<hr/>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.scrolledanimation.js">jquery.classbehaviours.scrolledanimation.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=an-animated-effect-driven-by-the-scroll-position&amp;cat=experimental">scrolledanimation.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/scrolledanimation.css">scrolledanimation.css</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/scrolledAnimation.php">scrolledanimation.html</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.movetoend.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.popuplayer.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.reloadfromurl.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.scrolledanimation.js"></script>

				<div class="moveToEnd" id="popUpContainer"></div>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 28 Jun 2009 23:50:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/scrolledAnimation.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Layout a Form as Tabular Data</title>
			<link>http://www.classbehaviours.com/default.php?id=layout-a-form-as-tabular-data&amp;cat=experimental</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_formGrid.png"/&gt;
				&lt;p&gt;
					Lorem ipsum dolor sit amet.
				&lt;/p&gt;

				~

			<![CDATA[

				<p>
					Lorem ipsum dolor sit amet.
				</p>
				<fieldset class="border tabularForm">
					<table cellspacing="4">
						<caption>Tabular Form</caption>
						<thead>
							<tr>
								<th>Label</th>
								<th colspan="4">Input</th>
								<th>&nbsp;</th>
								<th>&nbsp;</th>
							</tr>
						</thead>
						<tfoot>
							<tr>
								<td><em>*</em> lorem ipsum dolor</td>
								<td colspan="4">
									<ul>
										<li><button id="frmSubmit" name="frmSubmit" type="submit">Submit</button></li>
									</ul>
								</td>
								<td></td>
								<td></td>
							</tr>
						</tfoot>
						<tbody>
							<tr>
								<th><label for="frmInput0a">Lorem Ipsum <em>*</em></label></th>
								<td><input id="frmInput0a" name="frmInput0a" type="text"/></td>
								<td><input id="frmInput0b" name="frmInput0b" type="text"/></td>
								<td><input id="frmInput0c" name="frmInput0c" type="text"/></td>
								<td colspan="2"><input id="frmInput0d" name="frmInput0d" type="text"/></td>
								<td><img alt="" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/></td>
							</tr>
							<tr>
								<th><label for="frmInput1a">Dolor Sit Amet<em>*</em></label></th>
								<td colspan="2"><input id="frmInput1a" name="frmInput1a" type="text"/></td>
								<td colspan="3"><input id="frmInput1b" name="frmInput1b" type="text"/></td>
								<td><img alt="" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/></td>
							</tr>
							<tr>
								<th><label for="frmInput2a">Lorem Ipsum <em>*</em></label></th>
								<td colspan="1"><input id="frmInput2a" name="frmInput2a" type="text"/></td>
								<td colspan="4"><input id="frmInput1b" name="frmInput1b" type="text"/></td>
								<td><img alt="" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/></td>
							</tr>
							<tr>
								<th><label for="frmInput3a">Dolor Sit Amet<em>*</em></label></th>
								<td colspan="5"><input id="frmInput3a" name="frmInput3a" type="text"/></td>
								<td><img alt="" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/></td>
							</tr>
							<tr>
								<th><label for="frmInput4a">Lorem Ipsum <em>*</em></label></th>
								<td colspan="1"><input id="frmInput4a" name="frmInput4a" type="text"/></td>
								<td colspan="1"><input id="frmInput4b" name="frmInput4b" type="text"/></td>
								<td colspan="2"><input id="frmInput4c" name="frmInput4c" type="text"/></td>
								<td><img alt="" src="http://www.classbehaviours.com/images/cmd_date_hover.png"/></td>
								<td><img alt="" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/></td>
							</tr>
						</tbody>
					</table>
				</fieldset>
				<p>
					Lorem ipsum dolor sit amet.
				</p>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,experimental,</category>
			<pubDate>Tue, 24 Mar 2009 15:04:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/tabularForm.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Layout a Form Using a Grid</title>
			<link>http://www.classbehaviours.com/default.php?id=layout-a-form-using-a-grid&amp;cat=experimental</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_formGrid.png"/&gt;
				&lt;p&gt;
					Lorem ipsum dolor sit amet.
				&lt;/p&gt;

				~

			<![CDATA[

				<p>
					Lorem ipsum dolor sit amet.
				</p>
				<fieldset class="formGrid wdt_12 hgt_14">
					<p>
						<label class="col_1 row_1" for="frmTest0a">Lorem / Ipsum<em>*</em></label><br/>
						<input class="col_5 row_1" id="frmTest0a" name="frmTest0" type="radio"/>
						<label class="col_6 row_1 off_1" for="frmTest0a">Lorem</label>
						<input class="col_8 row_1" id="frmTest0b" name="frmTest0" type="radio"/>
						<label class="col_9 row_1 off_1" for="frmTest0b">Ipsum</label>
					</p>
					<p>
						<label class="col_1 row_2" for="frmTest1">Dolor Sit Amet</label><br/>
						<input class="col_5 row_2 wdt_6" id="frmTest1" name="frmTest1" type="text"/>
					</p>
					<p>
						<label class="col_1 row_3" for="frmTest2">Consectetur Adipisicing<em>*</em></label><br/>
						<input class="col_5 row_3 wdt_2" id="frmTest2" name="frmTest2" type="text"/>
						<input class="col_7 row_3 wdt_4" id="frmTest3" name="frmTest3" type="text"/>
					</p>
					<p>
						<label class="col_1 row_4" for="frmTest4">Elit Sed do Eiusmod</label><br/>
						<input class="col_5 row_4 wdt_4" id="frmTest4" name="frmTest4" type="text"/>
						<input class="col_9 row_4 wdt_2" id="frmTest5" name="frmTest5" type="text"/>
					</p>
					<p>
						<label class="col_1 row_5 wdt_4" for="frmTest6">Tempor Incididunt Ut Labore et Dolore</label><br/>
						<textarea class="col_5 row_5 wdt_6 hgt_4" id="frmTest6" name="frmTest6" cols="32" rows="8"></textarea>
					</p>
					<p>
						<label class="col_1 row_9" for="frmTest7">Labore et Dolore</label><br/>
						<select class="col_5 row_9 wdt_6" id="frmTest7"><option>---</option></select>
					</p>
					<p>
						<label class="col_1 row_10" for="frmTest8">Magna Aliqua</label><br/>
						<select class="col_5 row_10 wdt_3" id="frmTest8"><option>---</option></select>
						<select class="col_8 row_10 wdt_3" id="frmTest8"><option>---</option></select>
					</p>
					<p>
						<input class="col_5 row_11" id="frmTest9" name="frmTest10" type="checkbox"/>
						<label class="col_6 row_11 off_1" for="frmTest9">Ut Enim ad Minim</label>
					</p>
					<p>
						<span class="col_1 row_12"><em>*</em> Required field</span>
					</p>
					<p>
						<button class="col_8 row_12 wdt_3">Submit</button>
					</p>
				</fieldset>
				<p>
					Lorem ipsum dolor sit amet.
				</p>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,experimental,</category>
			<pubDate>Tue, 24 Mar 2009 15:04:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/formGrid.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>editTableRow: Edit the Data in a Table Row</title>
			<link>http://www.classbehaviours.com/default.php?id=edit-the-data-in-a-table-row</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_editTableRow.png"/&gt;
				&lt;p&gt;
					Switching from a table of information to a separate page with a form in order to change some details, is very distracting and cumbersome.
					This script example allows individual table rows to be switched into editable versions.
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					In the table below, the cells can be turned into mini-forms for each row using the icon in the first column.
				</p>
				<table class="data" id="editTableColumn">
					<thead>
						<tr>
							<th></th>
							<th>Name</th>
							<th>Company</th>
							<th>E-Mail</th>
						</tr>
					</thead>
					<tfoot>
						<tr>
							<td></td>
							<td class="toRight" colspan="3"><button type="submit">Submit Changes</button></td>
						</tr>
					</tfoot>
					<tbody>
						<tr class="even edit_no">
							<td>
								<img alt="Edit This Row"  class="editTableRow edit" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/>
								<img alt="Show This Row"  class="editTableRow text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/>
							</td>
							<td>
								<span>Lorem Ipsum</span>
								<input class="echoInput" type="text" value="Lorem Ipsum"/>
							</td>
							<td>
								<span>Molesti</span>
								<select class="echoInput">
									<option>Molesti</option>
									<option>Lorem Ipsum</option>
									<option>Dolor Sit Amet</option>
								</select>
							</td>
							<td>
								<span>lorem@ipsum.com</span>
								<input class="echoInput" type="text" value="lorem@ipsum.com"/>
							</td>
						</tr>
						<tr class="odd edit_no">
							<td>
								<img alt="Edit This Row"  class="editTableRow edit" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/>
								<img alt="Show This Row"  class="editTableRow text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/>
							</td>
							<td>
								<span>Lorem Ipsum</span>
								<input class="echoInput" type="text" value="Lorem Ipsum"/>
							</td>
							<td>
								<span>Molesti</span>
								<select class="echoInput">
									<option>Molesti</option>
									<option>Lorem Ipsum</option>
									<option>Dolor Sit Amet</option>
								</select>
							</td>
							<td>
								<span>lorem@ipsum.com</span>
								<input class="echoInput" type="text" value="lorem@ipsum.com"/>
							</td>
						</tr>
						<tr class="even edit_no">
							<td>
								<img alt="Edit This Row"  class="editTableRow edit" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/>
								<img alt="Show This Row"  class="editTableRow text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/>
							</td>
							<td>
								<span>Lorem Ipsum</span>
								<input class="echoInput" type="text" value="Lorem Ipsum"/>
							</td>
							<td>
								<span>Molesti</span>
								<select class="echoInput">
									<option>Molesti</option>
									<option>Lorem Ipsum</option>
									<option>Dolor Sit Amet</option>
								</select>
							</td>
							<td>
								<span>lorem@ipsum.com</span>
								<input class="echoInput" type="text" value="lorem@ipsum.com"/>
							</td>
						</tr>
						<tr class="odd edit_no">
							<td>
								<img alt="Edit This Row"  class="editTableRow edit" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/>
								<img alt="Show This Row"  class="editTableRow text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/>
							</td>
							<td>
								<span>Lorem Ipsum</span>
								<input class="echoInput" type="text" value="Lorem Ipsum"/>
							</td>
							<td>
								<span>Molesti</span>
								<select class="echoInput">
									<option>Molesti</option>
									<option>Lorem Ipsum</option>
									<option>Dolor Sit Amet</option>
								</select>
							</td>
							<td>
								<span>lorem@ipsum.com</span>
								<input class="echoInput" type="text" value="lorem@ipsum.com"/>
							</td>
						</tr>
						<tr class="even edit_no">
							<td>
								<img alt="Edit This Row"  class="editTableRow edit" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/>
								<img alt="Show This Row"  class="editTableRow text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/>
							</td>
							<td>
								<span>Lorem Ipsum</span>
								<input class="echoInput" type="text" value="Lorem Ipsum"/>
							</td>
							<td>
								<span>Molesti</span>
								<select class="echoInput">
									<option>Molesti</option>
									<option>Lorem Ipsum</option>
									<option>Dolor Sit Amet</option>
								</select>
							</td>
							<td>
								<span>lorem@ipsum.com</span>
								<input class="echoInput" type="text" value="lorem@ipsum.com"/>
							</td>
						</tr>
						<tr class="odd edit_no">
							<td>
								<img alt="Edit This Row"  class="editTableRow edit" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/>
								<img alt="Show This Row"  class="editTableRow text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/>
							</td>
							<td>
								<span>Lorem Ipsum</span>
								<input class="echoInput" type="text" value="Lorem Ipsum"/>
							</td>
							<td>
								<span>Molesti</span>
								<select class="echoInput">
									<option>Molesti</option>
									<option>Lorem Ipsum</option>
									<option>Dolor Sit Amet</option>
								</select>
							</td>
							<td>
								<span>lorem@ipsum.com</span>
								<input class="echoInput" type="text" value="lorem@ipsum.com"/>
							</td>
						</tr>
					</tbody>
				</table>
				<p>
					The changes can be posted to the server using AJAX when a row is switched back, or using a submit button elsewhere on the page.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.edittablerow.js">jquery.classbehaviours.edittablerow.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
							<li>Additional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.echoinput.js">jquery.classbehaviours.echoinput.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=edit-the-data-in-a-table-row">echoInput.html</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.edittablerow.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.echoinput.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 3 Feb 2009 13:19:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/editTableRow.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>tankOFurry: A Turn-based Strategy Game using AJAX</title>
			<link>http://www.classbehaviours.com/default.php?id=a-turn-based-strategy-game-using-ajax&amp;cat=experimental</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_turnBasedStrategyGame.png"/&gt;
				&lt;p&gt;
					Lorem ipsum dolor sit amet.
				&lt;/p&gt;

				~

			<![CDATA[

				A <a href="http://www.lolitalapine.nl/games/Tank-o-Furry/index.html">Turn-based Strategy Game</a> using AJAX

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,experimental,</category>
			<pubDate>Thu, 16 Oct 2008 9:46:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/turnBasedStrategyGame.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>rssSearch: Search an RSS-Feed</title>
			<link>http://www.classbehaviours.com/default.php?id=search-an-rss-feed</link>
			<description>

			<![CDATA[

				<img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_rssSearch.png"/>
				<p>
					A search-function is a really useful function for a site with a lot of content.
					This however a few prerequisites, like having a database and enough access to implement a server-side script.
				</p>
				<p>
					Missing one of the prerequisites doesn't have to mean that no search function can be offered.
					This example implements a search function client-side, by looking through a site's RSS feed.
				</p>

				~

				<h2 class="clear">Search through an RSS feed</h2>
				<p>
					Type a word in the example below. Using AJAX, the RSS feed is loaded and any
					item which matches the search string is displayed in paged results.
				</p>
				<p>
					If no results show up, try looking for "e".
				</p>
				<div class="border">
					<form id="search" class="rssSearch" action="">
						<fieldset>
							<legend>Search:</legend>
							<p>
								<label for="searchstring">Look for this word:</label>
								<input type="hidden" id="searchsource" value="http://www.classbehaviours.com/xml/rssSearch.xml" name="searchsource"/>
								<input type="text" id="searchstring" value="" name="searchstring"/>
								<button type="submit" id="searchsubmit">Search</button>
							</p>
						</fieldset>
						<div class="searchresults" id="searchresults">
							<!--
							<dl class="items">
								<dt class="title"><a href="{link}">{title}</a></dt>
								<dd>
									<ul class="information">
										<li class="author">{author}</li>
										<li class="category">{category}</li>
										<li class="pubDate">{pubDate}</li>
									</ul>
									<div class="description"><p>{description} ...</p></div>
								</dd>
							</dl>
							<p class="error">Sorry, no matches were found</p>
							<ul class="pager">
								<li class="previous"><a href="#">Previous</a></li>
								<li class="next"><a href="#">Next</a></li>
								<li class="count">{count}</li>
							</ul>
							-->
						</div>
					</form>
				</div>
				<p>
					The results are pre-formatted in javascript. Using the commented HTML as a prototype is a possibility should the need occur.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.rsssearch.js">jquery.classbehaviours.rsssearch.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=search-an-rss-feed&amp;cat=experimental">rssSearch.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/rssSearch.css">rssSearch.css</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/rssSearch.xml">rssSearch.xml</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.rsssearch.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Thu, 16 Oct 2008 9:46:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/rssSearch.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>fileUpload: A Cosmetic Extension of the File Selector</title>
			<link>http://www.classbehaviours.com/default.php?id=a-cosmetic-extension-of-the-file-selector</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_fileUpload.png"/&gt;
				&lt;p&gt;
					File upload fields are notoriously hard to mark up. This example is a simple way to fake it.
				&lt;/p&gt;

				~

			<![CDATA[
				<p class="clear">
					The example below overlays a transparent file upload field on top of intert placeholder.
				</p>
				<form action="#" class="clear" method="get">
					<fieldset class="border validateForm">
						<legend>Test form</legend>
						<table>
							<tbody>
								<tr class="odd">
									<th><label for="frmUpload">Upload:</label></th>
									<td>
										<!-- fileUpload -->
										<div class="full fileUpload">
											<input class="file" id="frmUpload" name="frmUpload" type="file"/>
											<div class="large left input">Lorem ipsum dolor</div>
											<div class="small right button">Upload</div>
										</div>
										<!-- /fileUpload -->
									</td>
								</tr>
							</tbody>
						</table>
					</fieldset>
				</form>
				<p>
					A small script transfers the filename to the placeholder after a file is selected.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.fileUpload.js">jquery.classbehaviours.fileupload.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/default.php?id=a-cosmetic-extension-of-the-file-selector&amp;cat=experimental">fileUpload.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/rssSearch.css">fileUpload.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.fileupload.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Wed, 6 May 2009 13:49:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/fileUpload.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Scalable Border around Content</title>
			<link>http://www.classbehaviours.com/default.php?id=scalable-border-around-content&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_borderedContainer.png"/&gt;
				&lt;p&gt;
					When borders are designed around images, usually background images have to be made for all concievable sizes.
					This stylesheet trick allows for borders that scale gracefully with their content.
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					In the example below, three different sizes of images are surrounded by the same border.
				</p>
				<div class="border">
					<div class="borderedContainer">
						<div class="innerBorder">
							<div class="innerGradient">
								<img alt="" src="http://www.classbehaviours.com/images/icon128_classBehaviour.png"/>
							</div>
						</div>
						<div class="topCorner"></div>
						<div class="bottomCorner"></div>
					</div>
					<p>
						Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
						Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
						Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
						Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
					</p>
					<div class="borderedContainer right">
						<div class="innerBorder">
							<div class="innerGradient">
								<img alt="" src="http://www.classbehaviours.com/images/icon64_about.png"/>
							</div>
						</div>
						<div class="topCorner"></div>
						<div class="bottomCorner"></div>
					</div>
					<p>
						Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
						Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
						Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
						Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
					</p>
					<div class="borderedContainer">
						<div class="innerBorder">
							<div class="innerGradient">
								<img alt="" height="32" src="http://www.classbehaviours.com/images/icon128_resume.png" width="32"/>
							</div>
						</div>
						<div class="topCorner"></div>
						<div class="bottomCorner"></div>
					</div>
					<p>
						Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
						Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
						Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
						Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
					</p>
				</div>
				<p>
					The border is made up of one oversized version of the border, used as a sprite-sheet. It can even contain transparency for the drop-shadows;
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=scalable-border-around-content">borderedContainer.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/borderedContainer.css">borderedContainer.css</a></li>
					<li>Example Image: <a href="http://www.classbehaviours.com/images/borderedContainer.png">borderedContainer.png</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Thu, 29 Jan 2009 15:40:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/borderedContainer.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>popUpLayer: A Light-box Styled Pop-Up Layer</title>
			<link>http://www.classbehaviours.com/default.php?id=pop-up-layer</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_layerPopUp.png"/&gt;
				&lt;p&gt;
					Layer-based popup replacements, or lightbox pop-ups, are quite commonplace.
					This example distinguishes itself by adding the popup's functionality to ordinary hyperlinks using a classname.
				&lt;/p&gt;
				&lt;p&gt;
					The content presented in the popup can be inline text, an iframe or imported using AJAX.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Opening a Pop-up Layer</h2>
				<p>
					Below are several ways to implement the layers. For these first examples the content of the pop-up need to be present inline.
					This is useful for things like disclaimers and help text, which is present in the document anyway.
				</p>
				<p>
					The link triggers an animation that fades in the content.
				</p>
				<ul>
					<li>
						Open a <a class="openPopUpLayer animatedClassName click_0,4,4 id_popUpWithScrollBar" href="#popUpWithScrollBar" title="Pop-up with a Scroll-bar">pop-up with a scroll-bar</a>.
					</li>
					<li>
						Open a <a class="openPopUpLayer animatedClassName click_0,4,4 id_popUpWithoutScrollBar" href="#popUpWithoutScrollBar" title="Pop-up without a Scroll-bar">pop-up without a scroll-bar</a>.
					</li>
					<li>
						Open a <a class="openPopUpLayer animatedClassName click_0,4,4 id_popUpWithIframe" href="http://www.classbehaviours.com/xml/popUpLayer.html#popUpWithIframe" target="popUpContents" title="Pop-up with an IFRAME">pop-up with an IFRAME</a>.
					</li>
				</ul>
				<p>
					The only notable difference between these two is the position of the scroll-bar which is a matter of personal preference.
				</p>

				<h2>Using the Pop-ups in applications</h2>
				<p>
					If a pop-up needs to open immediately after loading the page, simply add "noFadeIn" to the hyperlink's class-name.
				</p>
				<p>
					Ideally the pop-up HTML should be inserted outside the document's containers to avoid layout problems.
					An additional classbehaviour "moveToEnd" can be used to modify the document accordingly during loading.
				</p>

				<!-- popup with scroll-bar -->
				<section class="popUpLayer moveToEnd" id="popUpWithScrollBar">
					<div class="popUpBackground"></div>
					<div class="popUpForeground">
						<header class="popUpHeader">
							<a class="closePopUpLayer animatedClassName click_5,9,9 id_popUpWithScrollBar" href="#popUpWithScrollBar">close</a>
							<a class="printPopUpLayer" href="#popUpWithScrollBar">print</a>
							<h1>Lorem ipsum dolor sit amet</h1>
						</header>
						<article class="popUpContents">
							<p>
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							</p>
							<p>
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</p>
							<p>
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</p>
							<p>
								At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque
								corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa
								qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
								Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus,
								omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum
								necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic
								tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
							</p>
							<p>
								<a href="#" class="closePopUpLayer id_popUpWithScrollBar">Clontinue</a>
							</p>
						</article>
						<footer class="popUpFooter"></footer>
					</div>
				</section>
				<!-- /popup with scroll-bar -->

				<!-- popup without scroll-bar and full height content -->
				<section class="popUpLayer fullHeightPopUp moveToEnd" id="popUpWithoutScrollBar">
					<div class="popUpBackground"></div>
					<div class="popUpForeground">
						<header class="popUpHeader">
							<a class="closePopUpLayer animatedClassName click_5,9,9 id_popUpWithoutScrollBar" href="#popUpWithoutScrollBar">close</a>
							<a class="printPopUpLayer" href="#popUpWithoutScrollBar">print</a>
							<h1>Lorem ipsum dolor sit amet</h1>
						</header>
						<article class="popUpContents">
							<p>
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							</p>
							<p>
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</p>
							<p>
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</p>
							<p>
								At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque
								corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa
								qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
								Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus,
								omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum
								necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic
								tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
							</p>
							<p>
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							</p>
							<p>

								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</p>
							<p>
								Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
								Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
								Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
								Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							</p>
							<p>
								At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque
								corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa
								qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
								Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus,
								omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum
								necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic
								tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
							</p>
							<p>
								<a href="#" class="closePopUpLayer id_popUpWithoutScrollBar">Clontinue</a>
							</p>
						</article>
						<footer class="popUpFooter"></footer>
					</div>
				</section>
				<!-- /popup without scroll-bar and full height content -->

				<!-- popup with iframe -->
				<section class="popUpLayer moveToEnd" id="popUpWithIframe">
					<div class="popUpBackground"></div>
					<div class="popUpForeground">
						<header class="popUpHeader">
							<a class="closePopUpLayer animatedClassName click_5,9,9 id_popUpWithIframe" href="./xml/blank.html#popUpWithIframe" target="popUpContents">close</a>
							<a class="printPopUpLayer" href="#popUpWithIframe">print</a>
							<h1>Lorem ipsum dolor sit amet</h1>
						</header>
						<iframe class="popUpContents" frameborder="0" height="100%" id="popUpContents" name="popUpContents" scrolling="auto" src="./xml/blank.html" width="100%"></iframe>
						<footer class="popUpFooter"></footer>
					</div>
				</section>
				<!-- /popup with iframe -->

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.popuplayer.js">jquery.classbehaviours.popuplayer.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
							<li>Additional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js">jquery.classbehaviours.animatedclassname.js</a></li>
							<li>Additional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.movetoend.js">jquery.classbehaviours.movetoend.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=pop-up-layer">popUpLayer.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/popUpLayer.css">popUpLayer.css</a></li>
					<li>Example XML / IFRAME: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/popUpLayer.html">popUpLayer.xml</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.popuplayer.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.movetoend.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Thu, 15 Jan 2008 10:24:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/popUpLayer.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>validateForm: Validate Form Fields</title>
			<link>http://www.classbehaviours.com/default.php?id=validate-form-fields</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_validateForm.png"/&gt;
				&lt;p&gt;
					Client-side form validation should never be an excuse to leave out server-side checking, but having it helps the user save annoying round trips to the server.
				&lt;/p&gt;
				&lt;p&gt;
					This example tries to offer the best of both worlds, by making it easy to incorporate the same regular expressions used on the server.
					It also offers a way to submit the form's data using AJAX.
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					The following form validates the filled in contents using little icons. A summary is provided when the submit button is pressed.
					Fields like the date can contain a template as a hint for the user. It is not validated until actual values are filled in.
				</p>
				<form action="#" class="clear" method="get">
					<fieldset class="border validateForm">
						<legend>Test form</legend>
						<input id="frmSummaryFailure" name="frmSummaryFailure" type="hidden" value="&lt;h2&gt;Something went wrong&lt;/h2&gt;&lt;p&gt;The following fields do not appear to have been filled in properly:&lt;/p&gt;{labels}&lt;p&gt;Please review your input and try again.&lt;/p&gt;"/>
						<input id="frmSummarySuccess" name ="frmSummarySuccess" type="hidden" value="&lt;h2&gt;Thank You&lt;/h2&gt;&lt;p&gt;This form has been submitted successfully.&lt;/p&gt;"/>
						<div class="summary failure_frmSummaryFailure success_frmSummarySuccess"></div>
						<table>
							<tfoot>
								<tr>
									<th><em>*</em> required fields</th>
									<td><span class="button right"><span class="trim"><input class="title" type="submit" value="Submit"/></span></span></td>
								</tr>
							</tfoot>
							<tbody>
								<tr class="odd">
									<th><label for="frmGender">Gender:</label></th>
									<td>
										<input class="radio" selected="selected" type="radio" id="frmGender0" name="frmGender" value="0"/><label for="frmGender0">Male</label>
										<input class="radio" type="radio"id="frmGender1" name="frmGender" value="1"/><label for="frmGender1">Female</label>
									</td>
								</tr>
								<tr>
									<th><label for="frmEmail">E-Mail<em>*</em>:</label></th>
									<td><input class="full left test_email required_yes" type="text" id="frmEmail" name="frmEmail" /></td>
								</tr>
								<tr class="odd">
									<th><label for="frmPhone">Phone<em>*</em>:</label></th>
									<td><input class="full left test_nlPhone required_yes" type="text" id="frmPhone" name="frmPhone" /></td>
								</tr>
								<tr>
									<th><label for="frmStreet">Address<em>*</em>:</label></th>
									<td>
										<input class="large left test_notEmpty required_yes" type="text" id="frmStreet" name="frmStreet" />
										<input class="small right test_notEmpty required_yes" type="text" id="frmNumber" name="frmNumber" />
									</td>
								</tr>
								<tr class="odd">
									<th><label for="frmPassword">Password and again<em>*</em>:</label></th>
									<td>
										<input class="medium left test_password clone_frmPassword2 required_yes" type="password" id="frmPassword" name="frmPassword" />
										<input class="medium right test_password clone_frmPassword required_yes" type="password" id="frmPassword2" name="frmPassword2" />
									</td>
								</tr>
								<tr>
									<th><label for="frmPostal">Dutch Zipcode:</label></th>
									<td><input class="full left test_nlPostal" type="text" id="frmPostal" name="frmPostal" /></td>
								</tr>
								<tr class="odd">
									<th><label for="frmCountry">Country:</label></th>
									<td>
										<select class="full left" id="frmCountry" name="frmCountry">
											<option>--</option>
										</select>
									</td>
								</tr>
								<tr>
									<th><label for="frmId">Alphanumeric:</label><br/>(from RegExp)</th>
									<td>
										<input class="full left test_frmRegExp0" type="text" id="frmAlphaNumeric" name="frmAlphaNumeric" />
										<input id="frmRegExp0" name="frmRegExp0" type="hidden" value="^[a-zA-Z0-9]"/>
									</td>
								</tr>
								<tr class="odd">
									<th><label for="frmComments">Comments:</label></th>
									<td><textarea class="full left" cols="32" id="frmComments" name="frmComments" rows="8"></textarea></td>
								</tr>
							</tbody>
						</table>
					</fieldset>
				</form>
				<p>
					The "alphanumeric" test has a custom regular expression to test against, stored in a hidden form field.
				</p>

				<h2>Submitted by AJAX</h2>
				<p>
					The next example submits itsself using AJAX. The server's reply replaces the form.
				</p>
				<form action="http://www.classbehaviours.com/xml/validateForm.xml" class="clear" method="post">
					<fieldset class="border validateForm submit_ajax action_frmSubmitAction method_frmSubmitMethod target_frmSubmitTarget">
						<legend>Test form</legend>
						<input id="frmSubmitAction" name="frmSubmitAction" type="hidden" value="http://www.classbehaviours.com/xml/validateForm.xml"/>
						<input id="frmSubmitMethod" name="frmSubmitMethod" type="hidden" value="post"/>
						<div class="summary failure_frmSummaryFailure success_frmSummarySuccess"></div>
						<div class="reply" id="frmSubmitTarget">
							<table>
								<tfoot>
									<tr>
										<th><em>*</em> required fields</th>
										<td><button class="right" id="frmSubmit2" name="frmSubmit2" type="submit"><span class="trim"><span class="title">Submit</span></span></button></td>
									</tr>
								</tfoot>
								<tbody>
									<tr class="odd">
										<th><label for="frmBank">Bank Account:</label></th>
										<td><input class="full left test_nlBank" type="text" id="frmBank" name="frmBank" /></td>
									</tr>
									<tr>
										<th><label for="frmMoney">Money:</label></th>
										<td><input class="full left test_currency" type="text" id="frmMoney" name="frmMoney" /></td>
									</tr>
									<tr class="odd">
										<th><label for="frmNotEmpty">Not Empty<em>*</em>:</label></th>
										<td><input class="full left test_notEmpty required_yes" type="text" id="frmNotEmpty" name="frmNotEmpty" /></td>
									</tr>
									<tr>
										<th><label for="frmSelect">Select Anything<em>*</em>:</label></th>
										<td>
											<select class="full left test_notEmpty required_yes" id="frmSelect" name="frmSelect">
												<option value="">-- choose --</option>
												<option value="selection 1">Selection One</option>
												<option value="selection 2">Selection Two</option>
												<option value="selection 3">Selection Three</option>
											</select>
										</td>
									</tr>
									<tr class="odd">
										<th><label for="frmCheck">Any Checkbox<em>*</em>:</label></th>
										<td>
											<ul class="checkbox test_anyCheckbox required_yes">
												<li><input type="checkbox" class="checkbox" id="frmCheck0" name="frmCheck0" value="check0"/><label for="frmCheck0">Check 0</label></li>
												<li><input type="checkbox" class="checkbox" id="frmCheck1" name="frmCheck1" value="check1"/><label for="frmCheck1">Check 1</label></li>
												<li><input type="checkbox" class="checkbox" id="frmCheck2" name="frmCheck2" value="check2"/><label for="frmCheck2">Check 2</label></li>
												<li><input type="checkbox" class="checkbox" id="frmCheck3" name="frmCheck3" value="check3"/><label for="frmCheck3">Check 3</label></li>
											</ul>
										</td>
									</tr>
									<tr>
										<th><label for="frmRadio">Which Radio<em>*</em>:</label></th>
										<td>
											<ul class="radio test_anyRadio required_yes">
												<li><input type="radio" class="radio" id="frmRadio0" name="frmRadio" value="radio0"/><label for="frmRadio0">Radio 0</label></li>
												<li><input type="radio" class="radio" id="frmRadio1" name="frmRadio" value="radio1"/><label for="frmRadio1">Radio 1</label></li>
												<li><input type="radio" class="radio" id="frmRadio2" name="frmRadio" value="radio2"/><label for="frmRadio2">Radio 2</label></li>
												<li><input type="radio" class="radio" id="frmRadio3" name="frmRadio" value="radio3"/><label for="frmRadio3">Other:</label></li>
											</ul>
										</td>
									</tr>
									<tr>
										<th></th>
										<td><input class="full left test_notEmpty required_frmRadio3" type="text" id="frmOther" name="frmOther"/></td>
									</tr>
									<tr class="odd">
										<th><label for="frmDate">Date<em>*</em>:</label></th>
										<td><input class="full left test_isoDate required_yes inputFormat" id="frmDate" name="frmDate" title="yyyy-mm-dd" type="text" /></td>
									</tr>
									<tr>
										<th><label for="frmDay">Date:</label></th>
										<td>
											<!-- datePicker -->
											<div class="dateTime">
												<select class="day left" id="frmDay" name="frmDay">
													<option>--</option>
													<option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option>
													<option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option><option>17</option><option>18</option><option>19</option><option>20</option>
													<option>21</option><option>22</option><option>23</option><option>24</option><option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option>
													<option>31</option>
												</select>
												<select class="month left" id="frmMonth" name="frmMonth">
													<option>--</option>
													<option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option>
													<option>11</option><option>12</option>
												</select>
												<select class="year left" id="frmYear" name="frmYear">
													<option>----</option>
													<option>1900</option><option>1901</option><option>1902</option><option>1903</option><option>1904</option><option>1905</option><option>1906</option><option>1907</option><option>1908</option><option>1909</option>
													<option>1910</option><option>1911</option><option>1912</option><option>1913</option><option>1914</option><option>1915</option><option>1916</option><option>1917</option><option>1918</option><option>1919</option>
													<option>1920</option><option>1921</option><option>1922</option><option>1923</option><option>1924</option><option>1925</option><option>1926</option><option>1927</option><option>1928</option><option>1929</option>
													<option>1930</option><option>1931</option><option>1932</option><option>1933</option><option>1934</option><option>1935</option><option>1936</option><option>1937</option><option>1938</option><option>1939</option>
													<option>1940</option><option>1941</option><option>1942</option><option>1943</option><option>1944</option><option>1945</option><option>1946</option><option>1947</option><option>1948</option><option>1949</option>
													<option>1950</option><option>1951</option><option>1952</option><option>1953</option><option>1954</option><option>1955</option><option>1956</option><option>1957</option><option>1958</option><option>1959</option>
													<option>1960</option><option>1961</option><option>1962</option><option>1963</option><option>1964</option><option>1965</option><option>1966</option><option>1967</option><option>1968</option><option>1969</option>
													<option>1970</option><option>1971</option><option>1972</option><option>1973</option><option>1974</option><option>1975</option><option>1976</option><option>1977</option><option>1978</option><option>1979</option>
													<option>1980</option><option>1981</option><option>1982</option><option>1983</option><option>1984</option><option>1985</option><option>1986</option><option>1987</option><option>1988</option><option>1989</option>
													<option>1990</option><option>1991</option><option>1992</option><option>1993</option><option>1994</option><option>1995</option><option>1996</option><option>1997</option><option>1998</option><option>1999</option>
													<option>2000</option><option>2001</option><option>2002</option><option>2003</option><option>2004</option><option>2005</option><option>2006</option><option>2007</option><option>2008</option><option>2009</option>
													<option>2010</option><option>2011</option><option>2012</option><option>2013</option><option>2014</option><option>2015</option><option>2016</option><option>2017</option><option>2018</option><option>2019</option>
												</select>
												<button class="right datePicker"><img alt="Pick a date" src="./images/cmd_date_hover.png"/></button>
												<div class="hideThisNode dateCalendar"><input type="hidden" value="http://www.classbehaviours.com/xml/datePicker.xml"/></div>
											</div>
											<!-- /datePicker -->
										</td>
									</tr>
									<tr class="odd">
										<th><label for="frmUpload">Upload:</label></th>
										<td>
											<!-- fileUpload -->
											<div class="full fileUpload">
												<input class="file" id="frmUpload" name="frmUpload" type="file"/>
												<div class="large left input">Lorem ipsum dolor</div>
												<div class="small right button">Upload</div>
											</div>
											<!-- /fileUpload -->
										</td>
									</tr>
								</tbody>
							</table>
						</div>
					</fieldset>
				</form>
				<p>
					The radio buttons and password examples introduce two forms interdependence.
				</p>

				<h2>Recalculated using AJAX</h2>
				<p>
					The next example submits itsself using AJAX and refreshes the form after every change.
				</p>
				<form action="http://www.classbehaviours.com/xml/validateForm2.xml" class="clear" method="post">
					<fieldset class="border validateForm submit_ajax target_frmSubmitTarget2">
						<legend>Test form</legend>
						<div class="reply" id="frmSubmitTarget2">
							<div class="summary failure_frmSummaryFailure success_frmSummarySuccess visible">
								<p>
									Fill in any field to recalculate.
								</p>
							</div>
							<table>
								<thead>
									<tr>
										<th>Title</th>
										<td>Value</td>
										<td>Result</td>
									</tr>
								</thead>
								<tfoot>
									<tr>
										<th>Total:</th>
										<td>0</td>
										<td>0%</td>
									</tr>
								</tfoot>
								<tbody>
									<tr>
										<th><label for="frmValue0">Test Value 0:</label></th>
										<td><input class="full test_resubmit" type="text" id="frmValue0" name="frmValue0" /></td>
										<td>0%</td>
									</tr>
									<tr class="odd">
										<th><label for="frmValue1">Test Value 1:</label></th>
										<td><input class="full test_resubmit" type="text" id="frmValue1" name="frmValue1" /></td>
										<td>0%</td>
									</tr>
									<tr>
										<th><label for="frmValue2">Test Value 2:</label></th>
										<td><input class="full test_resubmit" type="text" id="frmValue2" name="frmValue2" /></td>
										<td>0%</td>
									</tr>
								</tbody>
							</table>
						</div>
					</fieldset>
				</form>
				<p>
					This way the validation-script can be used to support complex server-side functionality.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.validateform.js">jquery.classbehaviours.validateform.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.inputformat.js">jquery.classbehaviours.inputformat.js</a></li>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.fileupload.js">jquery.classbehaviours.fileupload.js</a></li>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.datepicker.js">jquery.classbehaviours.datepicker.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=validate-form-fields">validateForm.html</a></li>
					<li>
						Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/validateForm.css">validateForm.css</a>
						<ul>
							<li>Optional Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/inputformat.css">inputformat.css</a></li>
							<li>Optional Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/fileupload.css">fileupload.css</a></li>
							<li>Optional Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/datepicker.css">datepicker.css</a></li>
						</ul>
					</li>
					<li>Example XML / IFRAME: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/validateForm.xml">validateForm.xml</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.validateForm.js"></script>

				<!-- ghosted input text -->
				<link rel="stylesheet" href="http://www.classbehaviours.com/styles/inputformat.css" type="text/css" media="screen" />
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.inputformat.js"></script>

				<!-- file browser -->
				<link rel="stylesheet" href="http://www.classbehaviours.com/styles/fileupload.css" type="text/css" media="screen" />
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.fileupload.js"></script>

				<!-- pop up calendar -->
				<link rel="stylesheet" href="http://www.classbehaviours.com/styles/datepicker.css" type="text/css" media="screen" />
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.datepicker.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Fri, 6 Mar 2009 11:07:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/validateForm.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>spriteFont: Use a Sprite-sheet as a Font</title>
			<link>http://www.classbehaviours.com/default.php?id=use-a-sprite-sheet-as-a-font</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_flashTitle.png"/&gt;
				&lt;p&gt;
					Due to "Imaginary Property" issues, fonts aren't allowed to be included in website templates.
					This makes it very frustrating to use non web-safe fonts for headlines, since every single title has to be saved as a separate image.
				&lt;/p&gt;
				&lt;p&gt;
					This script will use all the characters of a font, rendered as an image and paste together any given title.
				&lt;/p&gt;

				~

			<![CDATA[

				<input id="frmImpactMatrix" type="hidden" value="14,17,23,21,25,22,12,16,16,15,21,12,15,12,17,21,17,20,21,20,21,21,17,21,21,13,13,8,21,21,21,27,20,21,21,21,18,18,21,21,15,16,21,17,25,21,21,20,21,21,20,19,21,21,28,20,19,18,15,17,15,20,21,16,20,20,20,20,20,15,20,21,15,15,19,15,27,21,20,20,20,17,19,15,21,18,24,18,19,16,17,15,17,21,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,14,20,21,21,19,15,20,16,27,16,17,21,8,27,21,16,21,16,16,16,19,22,16,16,14,16,17,23,23,25,21,20,20,20,20,20,20,25,21,18,18,18,18,15,15,15,15,21,21,21,21,21,21,21,21,21,21,21,21,21,19,20,21,20,20,20,20,20,20,26,20,20,20,20,20,15,15,15,15,20,21,20,20,20,20,20,21,20,21,21,21,21,19,32"/>
				<input id="frmImpactTweaks" type="hidden" value="p,-1,n,0,a,0"/>
				<h2 class="clear spriteFont font_impact matrix_frmImpactMatrix tweaks_frmImpactTweaks">Impact Font Example</h2>
				<p>
					The font in the title above was created using the generator below.
					It does not have to be installed on the end-user's computer.
					The individual characters in the title were rendered as images, cut from a single master image; a sprite-sheet.
					This sprite-sheet was generated, with the tool below, on a computer with the required font installed.
				</p>

				<input id="frmHelveticaMatrix" type="hidden" value="19,23,26,26,36,31,16,19,19,20,27,17,19,17,17,8,26,26,26,26,26,26,26,26,26,19,19,8,27,27,28,39,31,31,31,31,29,28,33,31,17,26,31,28,35,31,33,29,33,31,29,28,31,29,38,29,29,28,19,17,19,27,26,19,26,28,26,28,26,19,28,28,17,17,26,17,36,28,28,28,28,20,26,19,28,26,33,26,26,24,20,17,20,27,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,17,19,26,26,26,26,17,26,19,32,20,26,27,8,32,19,21,26,19,19,19,26,26,17,19,19,20,26,35,35,35,28,31,31,31,31,31,31,40,31,29,29,29,29,17,17,17,17,31,31,33,33,33,33,33,27,33,31,31,31,31,29,29,28,26,26,26,26,26,26,36,26,26,26,26,26,17,17,17,17,28,28,28,28,28,28,28,26,28,28,28,28,28,26,28,40"/>
				<h2 class="clear spriteFont font_helvetica matrix_frmHelveticaMatrix">Helvética</h2>
				<p>
					Above the font "Helvetica" is used to the same effect.
					The "matrix" and "tweaks" parameters in the hidden form element is used to set the kerning of the image elements and fine-tune the font.
				</p>

				<input id="frmStoneSansMatrix18" type="hidden" value="14,17,19,19,25,23,14,15,15,18,19,13,14,13,16,8,19,19,19,19,19,19,19,19,19,13,13,8,19,18,17,22,20,19,20,22,18,17,21,21,14,14,20,17,25,22,22,19,22,19,18,18,21,20,26,20,18,19,15,17,15,19,17,17,18,20,17,20,18,14,19,19,13,13,18,13,25,19,19,20,20,15,16,15,19,17,23,17,17,17,15,16,15,19,26"/>
				<h2 class="clear spriteFont font_stonesans18 matrix_frmStoneSansMatrix18">Stone Sans ITC Semi Font Example</h2>
				<h2 class="clear spriteFont font_stonesans18shadow matrix_frmStoneSansMatrix18">Stone Sans ITC Semi Font Example</h2>
				<p>
					This example shows the same font twice, but the second spritesheet had photoshop filters applied to it and reacts to mouse interaction.
				</p>
				<ul class="exampleMenu">
					<li><a href="?1" class="spriteFont font_stonesans18shadow matrix_frmStoneSansMatrix18">Lorem Ipsum</a></li>
					<li><a href="?1" class="spriteFont font_stonesans18shadow matrix_frmStoneSansMatrix18">Dolor Sit</a></li>
					<li><a href="?1" class="spriteFont font_stonesans18shadow matrix_frmStoneSansMatrix18">Amet</a></li>
					<li><a href="?1" class="spriteFont font_stonesans18shadow matrix_frmStoneSansMatrix18">Consectetur Adipisicing</a></li>
				</ul>
				<p>
					The method even works on menus.
				</p>

				<h2>Generating Sprite Map</h2>
				<p>
					The tool below positions and measures all the characters of a font. The generated map can be screen-grabbed and used as a spritesheet.
				</p>
				<fieldset class="border">
					<legend>Sprite Map Generator</legend>
					<h2 id="frmMap">Cut this area out in an image editor to use as a spritesheet</h2>
					<table>
						<tfoot>
							<tr>
								<td></td>
								<td>
									<button class="spriteFont font_frmFont size_frmSize matrix_frmMatrix map_frmMap limit_frmLimit style_frmStyle weight_frmWeight">Calibrate Sprite-map</button>
								</td>
							</tr>
						</tfoot>
						<tbody>
							<tr>
								<th><label for="frmFont">Font Family</label></th>
								<td><input id="frmFont" type="text" value="Impact"/></td>
							</tr>
							<tr>
								<th><label for="frmSize">Font Size</label></th>
								<td><input id="frmSize" type="text" value="24px"/></td>
							</tr>
							<tr>
								<th><label for="frmStyle">Font Style</label></th>
								<td>
									<select id="frmStyle">
										<option value="normal">normal</option>
										<option value="italic">italic</option>
									</select>
								</td>
							</tr>
							<tr>
								<th><label for="frmWeight">Font Weight</label></th>
								<td>
									<select id="frmWeight">
										<option value="normal">normal</option>
										<option value="bold">bold</option>
									</select>
								</td>
							</tr>
							<tr>
								<th><label for="frmLimit">Number of Characters</label></th>
								<td><input id="frmLimit" type="text" value="254"/></td>
							</tr>
							<tr>
								<th><label for="frmMatrix">Sprite Matrix</label></th>
								<td><input id="frmMatrix" type="text" value=""/></td>
							</tr>
						</tbody>
					</table>
					<p>
						This tool doesn't give reproducable results in Internet Explorer.
					</p>
				</fieldset>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.spritefont.js">jquery.classbehaviours.spritefont.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=use-a-sprite-sheet-as-a-font">spriteFont.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/spriteFont.css">spriteFont.css</a></li>
					<li>Example Image: <a href="http://www.classbehaviours.com/images/spriteFont_impact.png">spriteFont_impact.png</a></li>
					<li>Example Image: <a href="http://www.classbehaviours.com/images/spriteFont_helvetica.png">spriteFont_helvetica.png</a></li>
					<li>Example Image: <a href="http://www.classbehaviours.com/images/spriteFont_stonesans.png">spriteFont_stonesans.png</a></li>
					<li>Example Image: <a href="http://www.classbehaviours.com/images/spriteFont_stonesans2.png">spriteFont_stonesans2.png</a></li>
					<li>Example Image: <a href="http://www.classbehaviours.com/images/spriteFont_stonesans3.png">spriteFont_stonesans3.png</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.spritefont.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Mon, 16 Mar 2009 8:12:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/spriteFont.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>sumOfInput: Calculate a Total for Input Fields</title>
			<link>http://www.classbehaviours.com/default.php?id=calculate-a-total-for-input-fields</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_sumOfInput.png"/&gt;
				&lt;p&gt;
					By keeping score of all the entered numbers, this script helps a user fill in a series of values that total 100%.
				&lt;/p&gt;

				~

			<![CDATA[

				<p>
					The indicator under the table will warn a user if the total exceeds 100%;
				</p>
				<fieldset>
					<table>
						<thead>
							<tr>
								<th>Name</th>
								<th>Value</th>
							</tr>
						</thead>
						<tfoot>
							<tr>
								<th>Total:</th>
								<td><span class="sumOfInput min_0 max_100 inLimit" id="frmSumTotal">0</span> %</td>
							</tr>
						</tfoot>
						<tbody>
							<tr>
								<th><label for="frmField1">Percentage 1</label></th>
								<td><input class="sumOfInput id_frmSumTotal" id="frmField1" name="frmField1" type="text"/> %</td>
							</tr>
							<tr>
								<th><label for="frmField2">Percentage 2</label></th>
								<td><input class="sumOfInput id_frmSumTotal" id="frmField2" name="frmField2" type="text"/> %</td>
							</tr>
							<tr>
								<th><label for="frmField3">Percentage 3</label></th>
								<td><input class="sumOfInput id_frmSumTotal" id="frmField3" name="frmField3" type="text"/> %</td>
							</tr>
							<tr>
								<th><label for="frmField4">Percentage 4</label></th>
								<td><input class="sumOfInput id_frmSumTotal" id="frmField4" name="frmField4" type="text"/> %</td>
							</tr>
							<tr>
								<th><label for="frmField5">Percentage 5</label></th>
								<td><input class="sumOfInput id_frmSumTotal" id="frmField5" name="frmField5" type="text"/> %</td>
							</tr>
						</tbody>
					</table>
				</fieldset>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.sumofinput.js">jquery.classbehaviours.sumOfInput.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=calculate-a-total-for-input-fields">sumOfInput.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/sumOfInput.css">sumOfInput.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.sumofinput.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Fri, 30 Jan 2009 15:57:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/sumOfInput.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>maxLength: Restricts the Length of Textarea Input</title>
			<link>http://www.classbehaviours.com/default.php?id=restricts-the-length-of-textarea-input</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_maxLength.png"/&gt;
				&lt;p&gt;
					Setting a hard limit on a text-area doesn't help the user limit his words.
					This indicator counts down while the user types.
				&lt;/p&gt;

				~

			<![CDATA[

				<fieldset>
					<p>
						<textarea class="maxLength max_140 id_maxLengthIndicator" cols="32" id="frmTextarea" name="frmTextarea" rows="8"></textarea><br/>
						<span id="maxLengthIndicator"></span> characters left
					</p>
				</fieldset>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.maxlength.js">jquery.classbehaviours.maxLength.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=restricts-the-length-of-textarea-input">maxLength.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/maxLength.css">maxLength.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.maxlength.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Fri, 30 Jan 2009 16:39:00 +0100</pubDate>
		</item>
		<item>
			<title>displayOnValue: Change a Form's Layout Based on its Values</title>
			<link>http://www.classbehaviours.com/default.php?id=change-a-forms-layout-based-on-its-values</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_displayOnValue.png"/&gt;
				&lt;p&gt;
					Revealing all the components of a form can be confusing when not all information applies to any given input.
					This example shows how a form can change it's layout based on the values that are entered.
				&lt;/p&gt;

				~

			<![CDATA[

				<h3 class="clear">Applied from the target element using "displayOnValue"</h3>
				<p>
					Try the different options in the first two rows of this form. The script will only show the fields related to the choice.
				</p>
				<form action="#">
					<fieldset class="border">
						<table>
							<tbody>
								<tr>
									<th><label for="frmNature">Nature:</label></th>
									<td>
										<input id="frmAnimal" name="frmNature" type="radio" value="animal"/><label for="frmAnimal">Animal</label>
										<input id="frmVegetable" name="frmNature" type="radio" value="vegetable"/><label for="frmVegetable">Vegetable</label>
										<input id="frmMineral" name="frmNature" type="radio" value="mineral"/><label for="frmMineral">Mineral</label>
									</td>
								</tr>
								<tr>
									<th><label for="frmPreparation">Preparation Method:</label></th>
									<td>
										<select id="frmPreparation" name="frmPreparation">
											<option value="none">---</option>
											<option value="oven">Oven</option>
										</select>
									</td>
								</tr>
							</tbody>
							<tbody class="displayOnValue id_frmAnimal">
								<tr>
									<th><hr/><label for="frmBird">Bird:</label></th>
									<td><hr/><input id="frmBird" name="frmBird" type="text" value="Chicken"/></td>
								</tr>
								<tr>
									<th><label for="frmMammal">Mammal:</label></th>
									<td><input id="frmMammal" name="frmMammal" type="text" value="Swine"/></td>
								</tr>
								<tr>
									<th><label for="frmFish">Fish:</label></th>
									<td><input id="frmFish" name="frmFish" type="text" value="Troutslap"/></td>
								</tr>
							</tbody>
							<tbody class="displayOnValue id_frmVegetable">
								<tr>
									<th><hr/><label for="frmIngredient">Ingredient:</label></th>
									<td>
										<hr/>
										<select id="frmIngredient" name="frmIngredient">
											<option>Pineapple</option>
											<option>Quash</option>
											<option>Mushroom</option>
										</select>
									</td>
								</tr>
							</tbody>
							<tbody class="displayOnValue id_frmMineral">
								<tr>
									<th><hr/><label for="frmIngredient2">Ingredient:</label></th>
									<td>
										<hr/>
										<textarea id="frmIngredient2" name="frmIngredient2">Peble, Block or Boulder</textarea>
									</td>
								</tr>
							</tbody>
							<tbody class="displayOnValue id_frmAnimal,frmPreparation value_animal,oven">
								<tr>
									<th><hr/><label for="frmGrilledChicken">Delicious Bacon:</label></th>
									<td><hr/><input id="frmGrilledChicken" name="frmGrilledChicken" type="text"/></td>
								</tr>
							</tbody>
							<tbody class="displayOnValue id_frmVegetable,frmPreparation value_vegetable,oven">
								<tr>
									<th><hr/><label for="frmFriedMushrooms">Vegetarian:</label></th>
									<td><hr/><input id="frmFriedMushrooms" name="frmFriedMushrooms" type="text"/></td>
								</tr>
							</tbody>
							<tbody class="displayOnValue id_frmMineral,frmPreparation value_mineral,oven">
								<tr>
									<th><hr/><label for="frmGrilledChicken">Lava!!!:</label></th>
									<td><hr/><input id="frmGrilledChicken" name="frmGrilledChicken" type="text"/></td>
								</tr>
							</tbody>
						</table>
					</fieldset>
				</form>
				<p>
					This way the user can be guided through a complex form without asking for irrelevant information.
				</p>

				<h3>Applied from the source element using "displayIfChecked"</h3>
				<p>
					The same functionality can also be applied in reverse using "displayIfChecked" instead.
				</p>
				<form action="#">
					<fieldset class="border">
						<table>
							<tbody>
								<tr>
									<th><label for="frmNature">Nature:</label></th>
									<td>
										<input class="displayIfChecked id_tblAnimal" id="frmAnimal2" name="frmNature2" type="radio" value="animal"/><label for="frmAnimal">Animal</label>
										<input class="displayIfChecked id_tblVegetable" id="frmVegetable2" name="frmNature2" type="radio" value="vegetable"/><label for="frmVegetable">Vegetable</label>
										<input class="displayIfChecked id_tblMineral" id="frmMineral2" name="frmNature2" type="radio" value="mineral"/><label for="frmMineral">Mineral</label>
									</td>
								</tr>
							</tbody>
							<tbody id="tblAnimal">
								<tr>
									<th><hr/><label for="frmBird">Bird:</label></th>
									<td><hr/><input id="frmBird2" name="frmBird2" type="text" value="Chicken"/></td>
								</tr>
								<tr>
									<th><label for="frmMammal">Mammal:</label></th>
									<td><input id="frmMammal2" name="frmMammal2" type="text" value="Swine"/></td>
								</tr>
								<tr>
									<th><label for="frmFish">Fish:</label></th>
									<td><input id="frmFish2" name="frmFish2" type="text" value="Troutslap"/></td>
								</tr>
							</tbody>
							<tbody id="tblVegetable">
								<tr>
									<th><hr/><label for="frmIngredient3">Ingredient:</label></th>
									<td>
										<hr/>
										<select id="frmIngredient3" name="frmIngredient3">
											<option>Pineapple</option>
											<option>Quash</option>
											<option>Mushroom</option>
										</select>
									</td>
								</tr>
							</tbody>
							<tbody id="tblMineral">
								<tr>
									<th><hr/><label for="frmIngredient4">Ingredient:</label></th>
									<td>
										<hr/>
										<textarea id="frmIngredient4" name="frmIngredient4">Peble, Block or Boulder</textarea>
									</td>
								</tr>
							</tbody>
						</table>
					</fieldset>
				</form>
				<p>
					Either way can be useful in particular situations.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.displayonvalue.js">jquery.classbehaviours.displayonvalue.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
							<li>Extra Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.zebratable.js">jquery.classbehaviours.zebratable.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=change-a-forms-layout-based-on-its-values">displayOnValue.html</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.zebratable.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.displayonvalue.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 3 Mar 2009 17:42:00 +0100</pubDate>
		</item>
		<item>
			<title>selectContent: Using a Drop-down to Load Content</title>
			<link>http://www.classbehaviours.com/default.php?id=using-a-drop-down-to-load-content</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_selectContent.png"/&gt;
				&lt;p&gt;
					While it's best not to go overboard with loading content using AJAX,
					browsing through FAQ categories can me made a lot faster by loading the questions that way.
				&lt;/p&gt;
				&lt;p&gt;
					This example allows for quick browsing through content using a drop-down list.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Retrieving Content from External Files&lt;/h2&gt;
				&lt;p&gt;
					Changing the selection in the drop-down below starts loading the related content.
					After loading the content is faded in over the old content.
				&lt;/p&gt;
				&lt;form action="" method="get"&gt;
					&lt;fieldset class="border"&gt;
						&lt;label for="selCategory"&gt;Onderwerp:&lt;/label&gt;
						&lt;select id="frmXml" name="frmXml" class="selectContent to_selectContent"&gt;
							&lt;option value="http://www.classbehaviours.com/xml/selectContentA.xml"&gt;Category A (selectContentA.xml)&lt;/option&gt;
							&lt;option value="http://www.classbehaviours.com/xml/selectContentB.xml"&gt;Category B (selectContentB.xml)&lt;/option&gt;
							&lt;option value="http://www.classbehaviours.com/xml/selectContentC.xml"&gt;Category C (selectContentC.xml)&lt;/option&gt;
						&lt;/select&gt;
						&lt;button class="selectContent from_frmXml to_selectContent" type="submit"&gt;Submit&lt;/button&gt;
					&lt;/fieldset&gt;
					&lt;div class="border" id="selectContent"&gt;
						&lt;p&gt;
							This FAQ is the contents of the file: &lt;strong&gt;selectContentA.xml&lt;/strong&gt;. Imported using AJAX.
						&lt;/p&gt;
						&lt;p&gt;
							Lorem ipsum dolor sit amet, &lt;a href="#1"&gt;consectetur adipisicing elit&lt;/a&gt;, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
						&lt;/p&gt;
						&lt;dl id="harmonicaList"&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;9.&lt;/span&gt; Integer volutpat sapien sit amet neque.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;10.&lt;/span&gt; Fusce at dolor ullamcorper ante tincidunt auctor.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;1.&lt;/span&gt; Lorem ipsum dolor sit amet.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;2.&lt;/span&gt; Phasellus ut risus vitae augue suscipit aliquam.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
									Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
									Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;3.&lt;/span&gt; Phasellus dignissim leo vel orci.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;7.&lt;/span&gt; Phasellus quis arcu at felis convallis pellentesque.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;8.&lt;/span&gt; Morbi blandit porttitor purus.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;4.&lt;/span&gt; Etiam sit amet lorem sed nunc hendrerit blandit.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;5.&lt;/span&gt; Pellentesque pretium fringilla eros.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
							&lt;dt class="toggleNextNode family_testFAQ link"&gt;
								&lt;span class="number"&gt;6.&lt;/span&gt; Cras eu quam ut elit consectetuer fermentum.
							&lt;/dt&gt;
							&lt;dd class="hideThisNode"&gt;
								&lt;div class="border"&gt;
									Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
									Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
								&lt;/div&gt;
							&lt;/dd&gt;
						&lt;/dl&gt;
					&lt;/div&gt;
				&lt;/form&gt;
				&lt;p&gt;
					The sumbit button is optional, but used if one is to offer a server-side alternative that works without javascript.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.selectcontent.js">jquery.classbehaviours.selectcontent.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=using-a-drop-down-to-load-content">selectContent.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/selectContent.css">selectContent.css</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/selectContentA.xml">selectContentA.xml</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.selectcontent.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 24 Aug 2008 1:01:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/selectContent.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>matchActiveUrl: Activate Menu Items</title>
			<link>http://www.classbehaviours.com/default.php?id=activate-menu-items</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_matchActiveUrl.png"/&gt;
				&lt;p&gt;
					Marking active menu items is usualy best left to a server-side application.
					If a server-side approach is not possible, this script will seek out and mark active menu items, based on the URL of the page.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Marking Matching Items</h2>
				<p>
					The list below contains many links to this page, called with a different URL each.
					This simulates the many URLs of a web-site. Click on each and observe the selected link light up and its contents revealed.
				</p>
				<ul class="matchActiveUrl sensitivity_90">
					<li>
						<a href="http://www.classbehaviours.com/default.php?id=activate-menu-items&lorem-ipsum-dolor">Lorem ipsum dolor</a>
						<ul>
							<li>
								<a href="http://www.classbehaviours.com/default.php?id=activate-menu-items&sit-amet-consectetur">Sit amet consectetur</a>
							</li>
							<li>
								<a href="http://www.classbehaviours.com/default.php?id=activate-menu-items&magna-aliqua">Magna aliqua</a>
							</li>
							<li>
								<a href="http://www.classbehaviours.com/default.php?id=activate-menu-items&sunt-in-culpa-qui">Sunt in culpa qui</a>
							</li>
						</ul>
					</li>
					<li>
						<a href="#laboris-nisi-ut-aliquip">Laboris nisi ut aliquip</a>
						<ul>
							<li>
								<a href="#ex-ea-commodo-consequat">Ex ea commodo consequat</a>
							</li>
							<li>
								<a href="http://www.classbehaviours.com/default.php?id=activate-menu-items&cillum-dolore-eu">Cillum dolore eu</a>
							</li>
							<li>
								<a href="http://www.classbehaviours.com/default.php?id=activate-menu-items&officia-deserunt">Officia deserunt</a>
							</li>
						</ul>
					<li>
						<a href="http://www.classbehaviours.com/default.php?id=activate-menu-items&mollit-anim">Mollit anim</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/default.php?id=activate-menu-items&id-est-laborum">Id est laborum</a>
					</li>
				</ul>
				<p>
					The script compares the HREF of each link to the URL of the page. When it finds a match, it will add the class-name "active".
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.matchactiveurl.js">jquery.classbehaviours.matchactiveurl.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.classmousehover.js">jquery.classbehaviours.classmousehover.js</a></li>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.srcmousehover.js">jquery.classbehaviours.srcmousehover.js</a></li>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=activate-menu-items">matchActiveUrl.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/matchActiveUrl.css">matchActiveUrl.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.matchactiveurl.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.classmousehover.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.srcmousehover.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Wed, 4 Mar 2009 19:56:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/matchActiveUrl.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>parallaxBackground: Parallax Background Layers</title>
			<link>http://www.classbehaviours.com/default.php?id=parallax-background-layers</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_parallaxBackground.png"/&gt;
				&lt;p&gt;
					Paralax scrolling layers can convey a feeling of depth.
					The effect was often used in the video-games of the 1980's and 90's for pseuso 3D environments.
				&lt;/p&gt;
				&lt;p&gt;
					Used sparingly it can result in an eye-catching effect without taking away from the contents.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Scrolling Layers&lt;/h2&gt;
				&lt;p&gt;
					Scroll the example text below to see how the individual layers of the image move at different rates.
					The effect causes a percieved depth to the image.
				&lt;/p&gt;
				&lt;div class="parallaxBackground scroller_parallaxText" id="parallaxLayer0"&gt;
					&lt;div id="parallaxLayer1"&gt;
						&lt;div id="parallaxLayer2"&gt;
							&lt;div id="parallaxLayer3"&gt;
								&lt;div id="parallaxText" class="layers_parallaxLayer0;80;parallaxLayer1;40;parallaxLayer2;20;parallaxLayer3;10"&gt;
									&lt;h2&gt;Lorem ipsum dolor sit amet&lt;/h2&gt;
									&lt;p&gt;
										Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
										Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
										Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
										Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
									&lt;/p&gt;
									&lt;p&gt;
										Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
										Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
										Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
										Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
										Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
									&lt;/p&gt;
									&lt;h2&gt;At vero eos et accusamus&lt;/h2&gt;
									&lt;p&gt;
										At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
										Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
										Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
									&lt;/p&gt;
									&lt;h2&gt;Lorem ipsum dolor sit amet&lt;/h2&gt;
									&lt;p&gt;
										Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
										Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
										Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
										Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
									&lt;/p&gt;
									&lt;p&gt;
										Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
										Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
										Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
										Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
										Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
									&lt;/p&gt;
									&lt;h2&gt;At vero eos et accusamus&lt;/h2&gt;
									&lt;p&gt;
										At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
										Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
										Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
									&lt;/p&gt;
									&lt;br/&gt;
								&lt;/div&gt;
							&lt;/div&gt;
						&lt;/div&gt;
					&lt;/div&gt;
				&lt;/div&gt;
				&lt;p&gt;
					The border around the  &lt;a href="http://www.woollymittens.nl"&gt;www.woollymittens.nl&lt;/a&gt; site uses the same effect in a decorative way.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.parallaxbackground.js">jquery.classbehaviours.parallaxbackground.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=parallax-background-layers">parallaxBackground.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/parallaxBackground.css">parallaxBackground.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.parallaxbackground.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 17 Aug 2008 16:42:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/parallaxBackground.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>rssChat: Chat Client Based on RSS-feed</title>
			<link>http://www.classbehaviours.com/default.php?id=chat-client-based-on-rss-feed</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_rssChat.png"/&gt;
				&lt;p&gt;
					This chat window is an example of an AJAX application based on the universal XML webservice from an earlier article.
				&lt;/p&gt;
				&lt;p&gt;
					Messages are added to and stored in an XML file following the RSS standard.
					This way one can even subscribe to the replies in the chat using the RSS reader commonly built into browsers and email clients.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Storing Chat Messages in an RSS-feed.</h2>
				<p>
					The message window below continualy updates the list of chat messages from an RSS feed. Using the form, new messages can be added.
				</p>
				<section class="rssChat">
					<header>
						<input type="hidden" value="./webservices/setNode.php?xml=rssChat"/>
						<h3>{title}</h3>
						<meter>{status}</meter>
					</header>
					<article>
						<dl>
							<dt class="prototype">
								<strong class="rssAuthor">{author}</strong>
								<time class="rssPubDate">{pubDate}</time>
								<a href="{link}" class="rssTitle" title="{title}">in reply to</a>
							</dt>
							<dd class="prototype rssDescription">{description}</dd>
						</dl>
					</article>
					<fieldset>
						<table>
							<tfoot>
								<tr>
									<td><a class="showSourceCode" href="./xml/rssChat.xml"><img alt="RSS Feed" src="./images/banner_rss_feed.png"/></a></td>
									<td><button id="rssSubmit" name="rssSubmit">Send</button></td>
								</tr>
							</tfoot>
							<tbody>
								<tr>
									<th><label for="rssAuthor">Name:</label></th>
									<td><input id="rssAuthor" name="rssAuthor" type="text"/></td>
								</tr>
								<tr>
									<th><label for="rssDescription">Message:</label></th>
									<td><textarea cols="24" id="rssDescription" name="rssDescription" rows="8"></textarea></td>
								</tr>
							</tbody>
						</table>
					</fieldset>
				</section>
				<p>
					The script tries to manage the message post times using the client's regional settings. The success of this varies wildly between browsers and operating systems.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.rsschat.js">jquery.classbehaviours.rsschat.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=make-a-prototype-stylesheet">rssChat.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/linkedSelects.css">rssChat.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.rsschat.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Thu, 3 July 2008 20:10:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/rssChat.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>setNode: Changing Values in an XML-file</title>
			<link>http://www.classbehaviours.com/default.php?id=changing-values-in-an-xml-file</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_setNode.png"/&gt;
				&lt;p&gt;
					It's hard to make AJAX applications and still concentrate on the user-interface side of things.
					This simple ASPX / C# web-service can function as a sparring partner for your front-end code.
				&lt;/p&gt;
				&lt;p&gt;
					Please be advised however that there is no security to this whatsoever.
				&lt;/p&gt;

				~

				&lt;p class="clear"&gt;
					This is only meant as something for front-end code to talk to, before a database developer can make a proper web-service with all the proper security and database voodoo.
				&lt;/p&gt;

				&lt;h2&gt;Setting the Values of XML-nodes in an External File&lt;/h2&gt;
				&lt;p&gt;
					This example form sets the values in a small test xml-file.
					By "posting" or "getting" the form, the values can be changed.
				&lt;/p&gt;
				&lt;form action="http://www.classbehaviours.com/webservices/setNode.php" method="get" id="setNode0"&gt;
					&lt;fieldset class="border"&gt;
						&lt;table&gt;
							&lt;tfoot&gt;
								&lt;tr&gt;
									&lt;td colspan="2"&gt;&lt;br/&gt;&lt;button type="submit"&gt;Submit&lt;/button&gt;&lt;/td&gt;
								&lt;/tr&gt;
							&lt;/tfoot&gt;
							&lt;tbody&gt;
								&lt;tr&gt;
									&lt;th&gt;&lt;label for="root"&gt;XML File-name:&lt;/label&gt;&lt;/th&gt;
									&lt;td&gt;
										&lt;select id="xml" name="xml"&gt;
											&lt;option value="setNode"&gt;http://www.classbehaviours.com/xml/setNode.xml&lt;/option&gt;
											&lt;option value="setNode2"&gt;http://www.classbehaviours.com/xml/setNode2.xml&lt;/option&gt;
										&lt;/select&gt;
									&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;th&gt;&lt;label for="root"&gt;Root Element Name:&lt;/label&gt;&lt;/th&gt;
									&lt;td&gt;&lt;input type="text" id="root" name="root" value="items"/&gt;&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;th&gt;&lt;label for="parent"&gt;Parent Element Name:&lt;/label&gt;&lt;/th&gt;
									&lt;td&gt;&lt;input type="text" id="parent" name="parent" value="item"/&gt;&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;th&gt;&lt;label for="indexa"&gt;First Element Index:&lt;/label&gt;&lt;br/&gt;&lt;em&gt;-1 Creates a new node.&lt;/em&gt;&lt;br/&gt;&lt;br/&gt;&lt;/th&gt;
									&lt;td&gt;&lt;input type="text" id="indexa" name="indexa" value="0"/&gt;&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;th&gt;&lt;label for="valuesa"&gt;First Sub-nodes Values:&lt;/label&gt;&lt;br/&gt;&lt;em&gt;You'll get an error if you use&lt;br/&gt;non-existing name/value pairs.&lt;/em&gt;&lt;br/&gt;&lt;br/&gt;&lt;/th&gt;
									&lt;td&gt;&lt;textarea id="valuesa" name="valuesa" cols="32" rows="2"&gt;title;lorem;description;ipsum;&lt;/textarea&gt;&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;th&gt;&lt;label for="indexb"&gt;Second Element Index:&lt;/label&gt;&lt;/th&gt;
									&lt;td&gt;&lt;input type="text" id="indexb" name="indexb" value="1"/&gt;&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;th&gt;&lt;label for="valuesb"&gt;Second Sub-nodes Values:&lt;/label&gt; &lt;/th&gt;
									&lt;td&gt;&lt;textarea id="valuesb" name="valuesb" cols="32" rows="2"&gt;title;dolor;description;sit amet;&lt;/textarea&gt;&lt;/td&gt;
								&lt;/tr&gt;
							&lt;/tbody&gt;
						&lt;/table&gt;
					&lt;/fieldset&gt;
				&lt;/form&gt;
				&lt;p&gt;
					The "setNode.php" or ("setNode.aspx") is called in the AJAX script to read and write nodes in the XML files.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=changing-values-in-an-xml-file">setNode.html</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/setNode.xml">setNode.xml</a></li>
					<li>Web-service Source: <a href="?id=download-classbehaviour&amp;mod=meta">ClassBehaviours.zip</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 29 June 2008 11:10:00 +0100</pubDate>
		</item>
		<item>
			<title>makeStylesheet: Make a Prototype Stylesheet</title>
			<link>http://www.classbehaviours.com/default.php?id=make-a-prototype-stylesheet</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_makeStylesheet.png"/&gt;
				&lt;p&gt;
					If your workflow for making web pages involves making the HTML first and then fill in the styles, this script might make your life a lot more structured.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Generating an Empty Style-sheet</h2>
				<p>
					A typical workflow for creating web pages involves typing out the HTML for the most common things on the page like lists for navigation and "divs" for columns.
					After this one is left with an empty style-sheet that is very tedious to fill and structure properly with styles.
				</p>
				<p>
					The button in the example below will generate an empty style-sheet based on the HTML on this page, structured and cascading <strong>Exactly</strong> like the HTML.
				</p>
				<fieldset class="border" id="makeStylesheet">
					<legend>Create a stylesheet prototype</legend>
					<p>
						<textarea cols="32" id="frmMakeStylesheet" name="frmMakeStylesheet" rows="16"></textarea>
					</p>
					<p>
						<button class="makeStylesheet changesOnly_no id_frmMakeStylesheet simplified_yes left">Convert inserted HTML</button>
						<button class="makeStylesheet changesOnly_no simplified_yes right">convert entire document</button>
					</p>
				</fieldset>
				<p>
					It's a very solid and reproducible method for filling out the styles of every element without losing the overview.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.makestylesheet.js">jquery.classbehaviours.makestylesheet.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=make-a-prototype-stylesheet">makeStylesheet.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/linkedSelects.css">makeStylesheet.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.makestylesheet.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Fri, 13 Feb 2009 15:39:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/makeStylesheet.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>linkedSelects: Linked Selects</title>
			<link>http://www.classbehaviours.com/default.php?id=linked-selects</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_linkedSelects.png"/&gt;
				&lt;p&gt;
					A quick AJAX-based script, that relates two drop-down lists to each other.
					Useful for the usual country / city combination without having all possible combinations on the page to start with.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Selecting Something in Two Steps&lt;/h2&gt;
				&lt;p&gt;
					Selecting a category from the first list will fill the second list with further related options.
				&lt;/p&gt;
				&lt;fieldset class="border"&gt;
					&lt;label for="myselect"&gt;Select Anything&lt;em&gt;*&lt;/em&gt;:&lt;/label&gt;
					&lt;select id="myselect" name="myselect" class="linkedSelects id_myLinkedSelect"&gt;
						&lt;option value=""&gt;--- pick a type ---&lt;/option&gt;
						&lt;option value="http://www.classbehaviours.com/xml/linkedSelects_fruit.xml"&gt;Fruit&lt;/option&gt;
						&lt;option value="http://www.classbehaviours.com/xml/linkedSelects_vegetables.xml"&gt;Vegetables&lt;/option&gt;
						&lt;option value="http://www.classbehaviours.com/xml/linkedSelects_fish.xml"&gt;Fish&lt;/option&gt;
					&lt;/select&gt;
					&lt;select id="myLinkedSelect" name="myLinkedSelect"&gt;
						&lt;option value=""&gt;--- pick a type first ---&lt;/option&gt;
					&lt;/select&gt;
				&lt;/fieldset&gt;
				&lt;p&gt;
					The second list gets updated, on the fly, using AJAX requests.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.linkedselects.js">jquery.classbehaviours.linkedselects.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=linked-selects">linkedSelects.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/linkedSelects.css">linkedSelects.css</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/linkedSelects_fruit.xml">linkedSelects_fruit.xml</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.linkedselects.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 22 June 2008 19:58:00 +0100</pubDate>
		</item>
		<item>
			<title>valueSlider: Set Values with a Slider</title>
			<link>http://www.classbehaviours.com/default.php?id=set-values-with-a-slider</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_valueSlider.png"/&gt;
				&lt;p&gt;
					A slider is curiously missing from the default set of form elements.
					It is however a very attractive way to set values with an upper and lower limit.
					This script allows for easy way to use sliders without degrading the accessibility of the form.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Graphicaly Setting a Value Within Two Limits&lt;/h2&gt;
				&lt;p&gt;
					The graphical indicator is sensitive to mouse clicks and drags.
					The values are synchronized both ways to allow manual input.
				&lt;/p&gt;
				&lt;fieldset class="border"&gt;
					&lt;p&gt;
						&lt;label for="valueSlider0"&gt;Slider Value&lt;/label&gt;
						&lt;div class="valueSlider min_0 max_100"&gt;
							&lt;div class="valueSliderIndicator"&gt;
								&lt;span class="valueSliderValue"&gt;50&lt;/span&gt;
								&lt;span class="valueSliderUnit"&gt;%&lt;/span&gt;
								&lt;img class="valueSliderPointer" alt="" src="http://www.classbehaviours.com/images/valueSliderPointer.png"/&gt;
							&lt;/div&gt;
							&lt;div class="valueSliderCover"&gt;&lt;img alt="" src="http://www.classbehaviours.com/images/valueSliderCover.png"/&gt;&lt;/div&gt;
						&lt;/div&gt;
						&lt;input class="valueSliderInput" id="valueSlider0" type="text" value="50"/&gt; %
					&lt;/p&gt;
				&lt;/fieldset&gt;
				&lt;p&gt;
					Without javascript the value can still be entered manualy.
				&lt;/p&gt;

				&lt;h2&gt;Incremental Slider&lt;/h2&gt;
				&lt;p&gt;
					The following slider was divided into seven steps. The indicator changes colour at every increment.
				&lt;/p&gt;
				&lt;fieldset class="border"&gt;
					&lt;p&gt;
						&lt;label for="valueSlider0"&gt;Slider Value&lt;/label&gt;
						&lt;div class="valueSlider incrementalSlider min_1 max_7 offset_-5 slack_7 step_37"&gt;
							&lt;div class="valueSliderIndicator"&gt;
								&lt;span class="valueSliderValue"&gt;4&lt;/span&gt;
								&lt;span class="valueSliderUnit"&gt;&lt;/span&gt;
								&lt;img class="valueSliderPointer" alt="" src="http://www.classbehaviours.com/images/valueSlider_3.png"/&gt;
							&lt;/div&gt;
							&lt;div class="valueSliderCover"&gt;&lt;img alt="" src="http://www.classbehaviours.com/images/valueSliderCover.png"/&gt;&lt;/div&gt;
						&lt;/div&gt;
						&lt;input class="valueSliderInput" id="valueSlider1" type="hidden" value="4"/&gt;
					&lt;/p&gt;
				&lt;/fieldset&gt;
				&lt;p&gt;
					With a little clever layering this behaviour can be quite versatile.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.valueslider.js">jquery.classbehaviours.valueslider.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=set-values-with-a-slider">valueSlider.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/valueSlider.css">valueSlider.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.valueslider.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 22 June 2008 18:48:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/valueSlider.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>dragAndDrop: Drag and Drop</title>
			<link>http://www.classbehaviours.com/default.php?id=drag-and-drop</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_dragAndDrop.png"/&gt;
				&lt;p&gt;
					This is the most basic example of a "drag and drop" script. It can easily be expanded to accomodate the useful things one can do with "drag and drop".
				&lt;/p&gt;
				&lt;p&gt;
					It is expected that this script will be expanded as soon as someone can think of something actualy useful to do with a "drag and drop" script.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Drag the Text Containers to a Spot&lt;/h2&gt;
				&lt;p&gt;
					In the example below the yellow memos can be dragged around.
				&lt;/p&gt;
				&lt;div id="dragAndDropExample"&gt;
					&lt;li class="dragAndDrop" style="left:50px; top:30px;"&gt;
						&lt;img alt="Bigger" src="http://www.classbehaviours.com/images/cmd_bigger_hover.png"/&gt;
						&lt;h4&gt;Bigger&lt;/h4&gt;
						&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.&lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:250px; top:150px;"&gt;
						&lt;img alt="Copy" src="http://www.classbehaviours.com/images/cmd_copy_hover.png"/&gt;
						&lt;h4&gt;Copy&lt;/h4&gt;
						&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:175px; top:375px;"&gt;
						&lt;img alt="Create Link" src="http://www.classbehaviours.com/images/cmd_createlink_hover.png"/&gt;
						&lt;h4&gt;Create Link&lt;/h4&gt;
						&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:350px; top:150px;"&gt;
						&lt;img alt="Delete" src="http://www.classbehaviours.com/images/cmd_delete_hover.png"/&gt;
						&lt;h4&gt;Delete&lt;/h4&gt;
						&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:275px; top:80px;"&gt;
						&lt;img alt="Insert Image" src="http://www.classbehaviours.com/images/cmd_insertimage_hover.png"/&gt;
						&lt;h4&gt;Insert Image&lt;/h4&gt;
						&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:30px; top:250px;"&gt;
						&lt;img alt="Insert" src="http://www.classbehaviours.com/images/cmd_insert_hover.png"/&gt;
						&lt;h4&gt;Insert&lt;/h4&gt;
						&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:250px; top:50px;"&gt;
						&lt;img alt="Paste" src="http://www.classbehaviours.com/images/cmd_paste_hover.png"/&gt;
						&lt;h4&gt;Paste&lt;/h4&gt;
						&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:125px; top:75px;"&gt;
						&lt;img alt="Toggle HTML" src="http://www.classbehaviours.com/images/cmd_toggleHtml_hover.png"/&gt;
						&lt;h4&gt;Toggle HTML&lt;/h4&gt;
						&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:350px; top:275px;"&gt;
						&lt;img alt="Toggle Text" src="http://www.classbehaviours.com/images/cmd_toggleText_hover.png"/&gt;
						&lt;h4&gt;Toggle Text&lt;/h4&gt;
						&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:10px; top:350px;"&gt;
						&lt;img alt="Undo" src="http://www.classbehaviours.com/images/cmd_undo_hover.png"/&gt;
						&lt;h4&gt;Undo&lt;/h4&gt;
						&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
					&lt;/li&gt;
					&lt;li class="dragAndDrop" style="left:150px; top:20px;"&gt;
						&lt;img alt="Unlink" src="http://www.classbehaviours.com/images/cmd_unlink_hover.png"/&gt;
						&lt;h4&gt;Unlink&lt;/h4&gt;
						&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
					&lt;/li&gt;
				&lt;/div&gt;
				&lt;p&gt;
					I have no idea why yet either, but this script was used to make &lt;a href="http://www.lolitalapine.nl/details.php?id=20040807020049049"&gt;a really neat jigsaw puzzle&lt;/a&gt;.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.draganddrop.js">jquery.classbehaviours.draganddrop.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=drag-and-drop">dragAndDrop.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/dragAndDrop.css">dragAndDrop.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.draganddrop.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 22 June 2008 14:36:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/dragAndDrop.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>centeredThumbnails: Center Thumbnails on a Background</title>
			<link>http://www.classbehaviours.com/default.php?id=center-thumbnails-on-a-background</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_centeredThumbnails.png"/&gt;
				&lt;p&gt;
					Table-layout has thankfully gone the way of the dodo, but how do you center unevenly sized thumbnails now?
				&lt;/p&gt;
				&lt;p&gt;
					This script uses a little javascript to compensate.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Unevenly Sized Thumbnails in a Grid</h2>
				<p>
					The icons below are all centered in a grid, but the individual icons are all of a different height.
					The "centeredThumbnails" script measured up the available space and centers the thumbnails using margins.
				</p>
				<hr/>
				<ul class="exampleThumbnailGrid centeredThumbnails">
					<li><a href="#1"><img alt="classBehaviour" src="./images/icon_classBehaviour.png"/></a></li>
					<li><a href="#1"><img alt="classMouseHover" src="./images/icon_classMouseHover.png"/></a></li>
					<li><a href="#1"><img alt="clickOnParent" src="./images/icon_clickOnParent.png"/></a></li>
					<li><a href="#1"><img alt="datePicker" src="./images/icon_datePicker.png"/></a></li>
					<li><a href="#1"><img alt="debugConsole" src="./images/icon_debugConsole.png"/></a></li>
					<li><a href="#1"><img alt="flashTitle" src="./images/icon_flashTitle.png"/></a></li>
					<li><a href="#1"><img alt="footerAtBottom" src="./images/icon_footerAtBottom.png"/></a></li>
					<li><a href="#1"><img alt="graphicalButtonsThatScale" src="./images/icon_graphicalButtonsThatScale.png"/></a></li>
					<li><a href="#1"><img alt="imageMap" src="./images/icon_imageMap.png"/></a></li>
					<li><a href="#1"><img alt="reloadFromUrl" src="./images/icon_reloadFromUrl.png"/></a></li>
					<li><a href="#1"><img alt="layerPopUp" src="./images/icon_layerPopUp.png"/></a></li>
					<li><a href="#1"><img alt="longdescToolTip" src="./images/icon_longdescToolTip.png"/></a></li>
					<li><a href="#1"><img alt="manyToMany" src="./images/icon_manyToMany.png"/></a></li>
					<li><a href="#1"><img alt="tabbedContent" src="./images/icon_tabbedContent.png"/></a></li>
					<li><a href="#1"><img alt="pseudoHover" src="./images/icon_pseudoHover.png"/></a></li>
					<li><a href="#1"><img alt="richTextEditor" src="./images/icon_richTextEditor.png"/></a></li>
					<li><a href="#1"><img alt="scrollList" src="./images/icon_scrollList.png"/></a></li>
					<li><a href="#1"><img alt="scrollLock" src="./images/icon_scrollLock.png"/></a></li>
					<li><a href="#1"><img alt="sortableTable" src="./images/icon_sortableTable.png"/></a></li>
					<li><a href="#1"><img alt="tabbedContent" src="./images/icon_tabbedContent.png"/></a></li>
					<li><a href="#1"><img alt="thumbnailToPhoto" src="./images/icon_thumbnailToPhoto.png"/></a></li>
					<li><a href="#1"><img alt="toggleNextNode" src="./images/icon_toggleNextNode.png"/></a></li>
					<li><a href="#1"><img alt="validateInput" src="./images/icon_validateInput.png"/></a></li>
					<li><a href="#1"><img alt="zebraTable" src="./images/icon_zebraTable.png"/></a></li>
				</ul>
				<hr/>
				<p>
					Below is the same grid without the script.
				</p>
				<hr/>
				<ul class="exampleThumbnailGrid">
					<li><a href="#1"><img alt="artificialScrollBar" src="./images/icon_artificialScrollBar.png"/></a></li>
					<li><a href="#1"><img alt="autoSizeIframe" src="./images/icon_autoSizeIframe.png"/></a></li>
					<li><a href="#1"><img alt="animatedClassName" src="./images/icon_animatedClassName.png"/></a></li>
				</ul>
				<hr/>
				<h2>Example Without Script</h2>
				<p>
					In the following example the container is displayed as a table-cell and centered using styles.
				</p>
				<div class="exampleThumbnailCells">
					<div class="trim">
						<!--[if lte IE 7]><table><tr><td><![endif]-->
						<a href="#1"><img alt="classBehaviour" src="./images/icon_artificialScrollBar.png"/></a>
						<!--[if lte IE 7]></td><td><![endif]-->
						<a href="#1"><img alt="classBehaviour" src="./images/icon_autoSizeIframe.png"/></a>
						<!--[if lte IE 7]></td><td><![endif]-->
						<a href="#1"><img alt="classBehaviour" src="./images/icon_animatedClassName.png"/></a>
						<!--[if lte IE 7]></td></tr></table><![endif]-->
					</div>
				</div>
				<p>
					For Internet Explorer conditional comments were used to overcome Microsoft's lack of support for "display : table-cell;".
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.centeredthumbnails.js">jquery.classbehaviours.centeredthumbnails.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=center-thumbnails-on-a-background">centeredThumbnails.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/centeredThumbnails.css">centeredThumbnails.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.centeredthumbnails.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 22 June 2008 13:05:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/centeredThumbnails.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>animatedClassName: Animated Class-name</title>
			<link>http://www.classbehaviours.com/default.php?id=animated-class-name</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_animatedClassName.png"/&gt;
				&lt;p&gt;
					This little script replaces the effect you expect from an anim-gif and cycles class-names instead.
					Animation frames can be re-used more creatively and other stylesheet effects can be added.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Cycling Background-positions</h2>

				<p>
					The first example cycles through 4 numbered class-names, each changing the background image into a new animation frame.
				</p>
				<div class="border" id="exampleAnimation">
					<div class="logo animatedClassName load_0,5,0 delay_750">
						&nbsp;
					</div>
				</div>
				<p>
					All the animation frames are stored in one big image containing all steps. This should eliminate any issues with caching.
				</p>

				<h2>Cycling Layered Effects</h2>
				<p>
					The example below cycles through a dozen class-names, changing the opacity of a layer covering a static background.
				</p>
				<div class="border" id="exampleFader">
					<div class="background">
						<div class="logo animatedClassName load_0,12,0 delay_100">
							 &nbsp;
						</div>
					</div>
				</div>
				<p>
					Since fading is very browser-specific, this example might not work consistently.
				</p>

				<h2>Animated Menu Items</h2>
				<p>
					The next example is an animated menu bar. The background shifts when the mouse is moved over the menu items, but the animation doesn't loop.
				</p>
				<div class="border">
					<ul id="exampleMenu">
						<li><a href="#1" class="animatedClassName focus_0,4,4 blur_5,9,9 delay_100">Lorem Ipsum</a></li>
						<li><a href="#1" class="animatedClassName focus_0,4,4 blur_5,9,9 delay_100">Dolor Sit Amet</a></li>
						<li><a href="#1" class="animatedClassName focus_0,4,4 blur_5,9,9 delay_100">Molesti</a></li>
					</ul>
				</div>

				<h2>Triggered Animations</h2>
				<p>
					The most complex involves clicking the following buttons to trigger different animations in a single target element.
				</p>
				<p>
					<button class="logo animatedClassName click_0,3,3 delay_50 id_exampleTarget name_lorem">Lorem Ipsum</button>
					<button class="logo animatedClassName click_0,3,3 delay_50 id_exampleTarget name_dolor">Dolor Sit Amet</button>
					<button class="logo animatedClassName click_0,3,3 delay_50 id_exampleTarget name_molesti">Molesti</button>
				<p>
				<ul class="border" id="exampleTarget">
					<li class="lorem">Lorem Ipsum</li>
					<li class="dolor">Dolor Sit Amet</li>
					<li class="molesti">Molesti</li>
				</ul>

				<h2>A Folding Menu</h2>
				<p>
					The animation effect can be combined with existing folding effects to create a more attractive result.
				</p>
				<div class="border">
					<ul id="exampleFoldingMenu">
						<li class="animatedClassName focus_0,4,4 blur_5,9,9 delay_50">
							<a href="?1">Lorem ipsum</a>
							<ul>
								<li class="animatedClassName focus_0,4,4 blur_5,9,9 delay_50">
									<a class="hasSubNode" href="?1">Dolor sit amet</a>
									<ul>
										<li><a href="?1">Dolor sit amet</a></li>
										<li><a href="?1">Consectetur adipisicing</a></li>
										<li><a href="?1">Elit sed do eiusmod</a></li>
										<li><a href="?1">Tempor incididunt ut</a></li>
										<li><a href="?1">Labore et dolore magna</a></li>
									</ul>
								</li>
								<li class="animatedClassName focus_0,4,4 blur_5,9,9 delay_50">
									<a class="hasSubNode" href="?1">Consectetur adipisicing</a>
									<ul>
										<li><a href="?1">Dolor sit amet</a></li>
										<li><a href="?1">Consectetur adipisicing</a></li>
										<li><a href="?1">Elit sed do eiusmod</a></li>
										<li><a href="?1">Tempor incididunt ut</a></li>
										<li><a href="?1">Labore et dolore magna</a></li>
									</ul>
								</li>
								<li class="animatedClassName focus_0,4,4 blur_5,9,9 delay_50">
									<a class="hasSubNode" href="?1">Elit sed do eiusmod</a>
									<ul>
										<li><a href="?1">Dolor sit amet</a></li>
										<li><a href="?1">Consectetur adipisicing</a></li>
										<li><a href="?1">Elit sed do eiusmod</a></li>
										<li><a href="?1">Tempor incididunt ut</a></li>
										<li><a href="?1">Labore et dolore magna</a></li>
									</ul>
								</li>
								<li><a href="?1">Tempor incididunt ut</a></li>
								<li><a href="?1">Labore et dolore magna</a></li>
							</ul>
						</li>
						<li class="animatedClassName focus_0,4,4 blur_5,9,9 delay_50">
							<a href="?1">Aliqua ut enim ad</a>
							<ul>
								<li><a href="?1">Minim veniam quis</a></li>
								<li><a href="?1">Nostrud exercitation</a></li>
								<li><a href="?1">Ullamco laboris nisi</a></li>
								<li><a href="?1">Ut aliquip ex ea</a></li>
								<li><a href="?1">Commodo consequat</a></li>
							</ul>
						</li>
						<li class="animatedClassName focus_0,4,4 blur_5,9,9 delay_50">
							<a href="?1">Duis aute irure</a>
							<ul>
								<li><a href="?1">Dolor in reprehenderit</a></li>
								<li><a href="?1">In voluptate velit</a></li>
								<li><a href="?1">Esse cillum dolore</a></li>
								<li><a href="?1">Eu fugiat nulla</a></li>
								<li><a href="?1">Pariatur excepteur</a></li>
							</ul>
						</li>
						<li class="animatedClassName focus_0,4,4 blur_5,9,9 delay_50">
							<a href="?1">Sint occaecat</a>
							<ul>
								<li><a href="?1">Cupidatat non</a></li>
								<li><a href="?1">Proident sunt</a></li>
								<li><a href="?1">In culpa qui</a></li>
								<li><a href="?1">Officia deserunt</a></li>
							</ul>
						</li>
					</ul>
				</div>
				<p>
					The menu opens and closes with :hover construction in the stylesheet, but the animation is added using this scripted behaviour.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js">jquery.classbehaviours.animatedclassname.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=animated-class-name">animatedClassName.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/animatedClassName.css">animatedClassName.css</a></li>
					<li>Example Image: <a href="http://www.classbehaviours.com/images/animatedClassName.png">animatedClassName.png</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sat, 21 June 2008 21:23:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/animatedClassName.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>scrollList: Scrolling List</title>
			<link>http://www.classbehaviours.com/default.php?id=scrolling-list</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_scrollList.png"/&gt;
				&lt;p&gt;
					A scroll-text is an eye-catching way to parade large numbers of items along a sceen.
					Of course these things should be used sparingly as not to distract the user.
				&lt;/p&gt;
				&lt;p&gt;
					This example of a scroller allow just about anything to be scrolled without making the content inaccessible.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Looping Contents</h2>
				<p>
					To avoid visible breaks in the scrolling, the content is duplicated to allow the first item to re-enter the screen when the last one leaves.
					This feature sets it apart from the "marquee" element.
				</p>
				<div class="scrollCanvas" id="scrollList0">
					<div class="scrollOverflow">
						<ul>
							<li>
								<img alt="Bigger" src="./images/cmd_bigger_hover.png"/>
								<h3>Bigger</h3>
								<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
							</li>
							<li>
								<img alt="Copy" src="./images/cmd_copy_hover.png"/>
								<h3>Copy</h3>
								<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
							</li>
							<li>
								<img alt="Create Link" src="./images/cmd_createlink_hover.png"/>
								<h3>Create Link</h3>
								<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
							</li>
							<li>
								<img alt="Delete" src="./images/cmd_delete_hover.png"/>
								<h3>Delete</h3>
								<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>
							</li>
							<li>
								<img alt="Insert Image" src="./images/cmd_insertimage_hover.png"/>
								<h3>Insert Image</h3>
								<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
							</li>
							<li>
								<img alt="Insert" src="./images/cmd_insert_hover.png"/>
								<h3>Insert</h3>
								<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
							</li>
							<li>
								<img alt="Paste" src="./images/cmd_paste_hover.png"/>
								<h3>Paste</h3>
								<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>
							</li>
							<li>
								<img alt="Toggle HTML" src="./images/cmd_toggleHtml_hover.png"/>
								<h3>Toggle HTML</h3>
								<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
							</li>
							<li>
								<img alt="Toggle Text" src="./images/cmd_toggleText_hover.png"/>
								<h3>Toggle Text</h3>
								<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
							</li>
							<li>
								<img alt="Undo" src="./images/cmd_undo_hover.png"/>
								<h3>Undo</h3>
								<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>
							</li>
							<li>
								<img alt="Unlink" src="./images/cmd_unlink_hover.png"/>
								<h3>Unlink</h3>
								<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
							</li>
						</ul>
					</div>
					<button class="scrollList scrollDirection_backward id_scrollList0">Scroll to the Left</button>
					<button class="scrollList scrollDirection_forward id_scrollList0">Scroll to the Right</button>
					<div class="clear"></div>
				</div>
				<p>
					Several examples of mouse interactions are provided.
					The buttons interrupt the speed and direction and the default settings reset after a few moments of inactivity.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.scrolllist.js">jquery.classbehaviours.scrolllist.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=scrolling-list">scrollList.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/scrollList.css">scrollList.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.scrolllist.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 17 Mar 2009 10:22:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/scrollList.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>pageList: Paging List</title>
			<link>http://www.classbehaviours.com/default.php?id=paging-list&amp;cat=experimental</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_pageList.png"/&gt;
				&lt;p&gt;
					Lorem ipsum dolor sit amet.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Paging Contents</h2>
				<p>
					Lorem ipsum dolor sit amet.
				</p>
				<section class="pageList buffer_8 pause_10 speed_30">
					<section></section>
					<nav>
						<menu>
							<li><a href="./xml/longdescToolTip_bigger.html">Bigger</a></li>
							<li><a href="./xml/longdescToolTip_copy.html">Copy</a></li>
							<li><a href="./xml/longdescToolTip_createlink.html">Create Link</a></li>
							<li><a href="./xml/longdescToolTip_delete.html">Delte</a></li>
							<li><a href="./xml/longdescToolTip_insert.html">Insert Text</a></li>
							<li><a href="./xml/longdescToolTip_insertimage.html">Inster Image</a></li>
							<li><a href="./xml/longdescToolTip_paste.html">Paste</a></li>
							<li><a href="./xml/longdescToolTip_toggleHtml.html">Toggle HTML</a></li>
							<li><a href="./xml/longdescToolTip_toggleText.html">Toggle Text</a></li>
							<li><a href="./xml/longdescToolTip_undo.html">Undo</a></li>
							<li><a href="./xml/longdescToolTip_unlink.html">Unlink</a></li>
						</menu>
					</nav>
					<footer>
						<button class="direction_backward">Previous Page</button>
						<button class="direction_forward">Next Page</button>
					</footer>
				</section>
				<p>
					Lorem ipsum dolor sit amet.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.pagelist.js">jquery.classbehaviours.pagelist.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=paging-list">pageList.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/pageList.css">pageList.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.pagelist.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,experimental,</category>
			<pubDate>Tue, 16 Mar 2010 9:32:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/pageList.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>thumbnailToPhoto: Thumbnail Photo Slideshow</title>
			<link>http://www.classbehaviours.com/default.php?id=thumbnail_photo_slideshow</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_thumbnailToPhoto.png"/&gt;
				&lt;p&gt;
					Thumb-nailed slide-shows are pretty common and therefor a drag to keep re-using and modifying.
					This script offers the simplest most basic implementation of one, but adds a nice cross-fade effect and mouse-over effect.
				&lt;/p&gt;
				&lt;p&gt;
					Functionality is easy to add, so expect this example to be expanded frequently.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Simple Slideshow Example</h2>
				<p>
					Below is the portfolio page re-used as a slide-show.
					Clicking on the thumbnails will highlight them with some stylesheet-trickery and the main slide will fade over to the large version of the image.
				</p>
				<ul id="thumbnailTarget">
					<li><img alt="Lollem Catsum" title="Lollem Catsum" src="http://www.classbehaviours.com/images/scrolledAnimation2a.jpg"/></li>
					<!-- Put the rest here if you want them preloaded
						<li><img alt="Lorem Ipsum" title="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation3a.jpg"/></li>
						<li><img alt="Lorem Ipsum" title="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation4a.jpg"/></li>
						...
					-->
				</ul>
				<ul id="thumbnailControls">
					<li><button class="previousThumbnailToPhoto id_thumbnailList" name="frmPrevious0" id="frmPrevious0">Previous</button></li>
					<li><button class="nextThumbnailToPhoto id_thumbnailList" name="frmNext0" id="frmNext0">Next</button></li>
				</ul>
				<ul id="thumbnailList">
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation2a.jpg" class="thumbnailToPhoto id_thumbnailTarget active">
							<img alt="Lollem Catsum" src="http://www.classbehaviours.com/images/scrolledAnimation2.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation3a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation3.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation4a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation4.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation5a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation5.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation6a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation6.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation7a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation7.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation8a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation8.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation9a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation9.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation10a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation10.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation11a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation11.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation12a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation12.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation13a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation13.jpg"/><br/>
						</a>
					</li>
					<li>
						<a href="http://www.classbehaviours.com/images/scrolledAnimation14a.jpg" class="thumbnailToPhoto id_thumbnailTarget">
							<img alt="Lorem Ipsum" src="http://www.classbehaviours.com/images/scrolledAnimation14.jpg"/><br/>
						</a>
					</li>
				</ul>
				<hr/>
				<p>
					Without javascript the thumbnails will simply link to the larger version of the image directly.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.thumbnailtophoto.js">jquery.classbehaviours.thumbnailtophoto.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=thumbnail_photo_slideshow">thumbnailToPhoto.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/thumbnailToPhoto.css">thumbnailToPhoto.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.thumbnailtophoto.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Thu, 19 June 2008 19:23:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/thumbnailToPhoto.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>clickOnParent: Click on the Parent of a Link</title>
			<link>http://www.classbehaviours.com/default.php?id=click-on-the-parent-of-a-link</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_clickOnParent.png"/&gt;
				&lt;p&gt;
					Sometimes you just can't avoid the situation where a design requires a large area to be clickable but still have block-layout inside.
					Of course the "A" elements shouldn't just be placed around large swath of block-elements, lest it ruin the layout.
				&lt;/p&gt;

				~

				&lt;p class="clear"&gt;
					This "classBehaviour" function allows the hyperlink to be moved from a link to the containing element.
				&lt;/p&gt;

				&lt;h2&gt;Clickable Table Rows&lt;/h2&gt;
				&lt;p&gt;
					A typical application of this script are table-rows.
					The hyperlinks in the "th" elements below are moved to the entire "TR", so the row becomes a link to click on.
				&lt;/p&gt;
				&lt;table class="data exampleTableRows"&gt;
					&lt;thead&gt;
						&lt;tr&gt;
							&lt;th&gt;&lt;div&gt;Lorem&lt;/div&gt;&lt;/th&gt;
							&lt;th&gt;&lt;div&gt;Ipsum&lt;/div&gt;&lt;/th&gt;
							&lt;th&gt;&lt;div&gt;Dolor&lt;/div&gt;&lt;/th&gt;
						&lt;/tr&gt;
					&lt;/thead&gt;
					&lt;tfoot&gt;
						&lt;tr&gt;
							&lt;td&gt;Total&lt;/td&gt;
							&lt;td&gt;6&lt;/td&gt;
							&lt;td&gt;9&lt;/td&gt;
						&lt;/tr&gt;
					&lt;/tfoot&gt;
					&lt;tbody&gt;
						&lt;tr class="odd"&gt;
							&lt;th&gt;&lt;a href="http://www.google.com/" class="clickOnParent parent_2"&gt;Google&lt;/a&gt;&lt;/th&gt;
							&lt;td&gt;5&lt;/td&gt;
							&lt;td&gt;0&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="even"&gt;
							&lt;th&gt;&lt;a href="http://www.yahoo.com/" class="clickOnParent parent_2"&gt;Yahoo&lt;/a&gt;&lt;/th&gt;
							&lt;td&gt;1&lt;/td&gt;
							&lt;td&gt;4&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="odd"&gt;
							&lt;th&gt;&lt;a href="http://www.firefox.com/" class="clickOnParent parent_2"&gt;Firefox&lt;/a&gt;&lt;/th&gt;
							&lt;td&gt;3&lt;/td&gt;
							&lt;td&gt;2&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="even"&gt;
							&lt;th&gt;&lt;a href="http://www.opera.com/" class="clickOnParent parent_2"&gt;Opera&lt;/a&gt;&lt;/th&gt;
							&lt;td&gt;4&lt;/td&gt;
							&lt;td&gt;1&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="odd"&gt;
							&lt;th&gt;&lt;a href="http://www.apple.com/" class="clickOnParent parent_2"&gt;Apple&lt;/a&gt;&lt;/th&gt;
							&lt;td&gt;2&lt;/td&gt;
							&lt;td&gt;3&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="even"&gt;
							&lt;th&gt;&lt;a href="http://www.w3c.org/" class="clickOnParent parent_2"&gt;W3C&lt;/a&gt;&lt;/th&gt;
							&lt;td&gt;0&lt;/td&gt;
							&lt;td&gt;5&lt;/td&gt;
						&lt;/tr&gt;
					&lt;/tbody&gt;
				&lt;/table&gt;
				&lt;p&gt;
					The "parent_2" class name tells the script to move the link up two levels, from the "A" to the "TR" skipping the "TH"-element.
				&lt;/p&gt;

				&lt;h2&gt;Clickable Article Contents&lt;/h2&gt;
				&lt;p&gt;
					A design that demands the whole article text to be clickable is usually a nightmare, almost demanding an "A" element with some nasty markup on "SPAN" elements and "STRONG" used for heading.
					The trouble is that it's much more semantically correct to use "H1, H2, H3", and "P" elements around the summary contents.
				&lt;/p&gt;
				&lt;div class="border"&gt;
					&lt;ul class="exampleSummaries"&gt;
						&lt;li class="odd classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_bigger.html" class="clickOnParent parent_1"&gt;&lt;img alt="Bigger" src="http://www.classbehaviours.com/images/cmd_bigger_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Bigger&lt;/h4&gt;
								&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.&lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="even classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_copy.html" class="clickOnParent parent_1"&gt;&lt;img alt="Copy" src="http://www.classbehaviours.com/images/cmd_copy_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Copy&lt;/h4&gt;
								&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="odd classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_createlink.html" class="clickOnParent parent_1"&gt;&lt;img alt="Create Link" src="http://www.classbehaviours.com/images/cmd_createlink_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Create Link&lt;/h4&gt;
								&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="even classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_delete.html" class="clickOnParent parent_1"&gt;&lt;img alt="Delete" src="http://www.classbehaviours.com/images/cmd_delete_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Delete&lt;/h4&gt;
								&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="odd classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_insertimage.html" class="clickOnParent parent_1"&gt;&lt;img alt="Insert Image" src="http://www.classbehaviours.com/images/cmd_insertimage_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Insert Image&lt;/h4&gt;
								&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="even classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_insert.html" class="clickOnParent parent_1"&gt;&lt;img alt="Insert" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Insert&lt;/h4&gt;
								&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="odd classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_paste.html" class="clickOnParent parent_1"&gt;&lt;img alt="Paste" src="http://www.classbehaviours.com/images/cmd_paste_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Paste&lt;/h4&gt;
								&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="even classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_toggleHtml.html" class="clickOnParent parent_1"&gt;&lt;img alt="Toggle HTML" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Toggle HTML&lt;/h4&gt;
								&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="odd classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_toggleText.html" class="clickOnParent parent_1"&gt;&lt;img alt="Toggle Text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Toggle Text&lt;/h4&gt;
								&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="even classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_undo.html" class="clickOnParent parent_1"&gt;&lt;img alt="Undo" src="http://www.classbehaviours.com/images/cmd_undo_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Undo&lt;/h4&gt;
								&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
						&lt;li class="odd classMouseHover link"&gt;
							&lt;a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_unlink.html" class="clickOnParent parent_1"&gt;&lt;img alt="Unlink" src="http://www.classbehaviours.com/images/cmd_unlink_link.png"/&gt;&lt;/a&gt;
							&lt;div class="toolTip"&gt;
								&lt;h4&gt;Unlink&lt;/h4&gt;
								&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
							&lt;/div&gt;
						&lt;/li&gt;
					&lt;/ul&gt;
					&lt;div class="clear"&gt;&lt;/div&gt;
				&lt;/div&gt;
				&lt;p&gt;
					In this case the script allows the "A" to be kept from having to envelop the block-elements.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.clickonparent.js">jquery.classbehaviours.clickonparent.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=click-on-the-parent-of-a-link">clickOnParent.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/clickOnParent.css">clickOnParent.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.clickonparent.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 17 June 2008 21:58:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/clickOnParent.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>debugConsole: Javascript Debug Console</title>
			<link>http://www.classbehaviours.com/default.php?id=javascript-debug-console</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_debugConsole.png"/&gt;
				&lt;p&gt;
					Debugging your script using the "alert()" function can be really painful and not all of your browsers come with debuggers built-in or add-on.
					The "classBehaviour" script, contains its own debugger for convenience.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Printing out Variables&lt;/h2&gt;
				&lt;p&gt;
					Clicking the buttons below sends messages to the debugger.
					The debugger itself can always be called, using javascript, from any page with the "classBehaviour" functions.
				&lt;/p&gt;
				&lt;fieldset&gt;
					&lt;h3&gt;Send a Value to the Debugger&lt;/h3&gt;
					&lt;p&gt;
						&lt;input type="text" id="testValue0" value="Lorem Ipsum"/&gt;
						&lt;button onclick="debug(document.getElementById('testValue0').value)"&gt;Send&lt;/button&gt;
					&lt;/p&gt;
					&lt;h3&gt;Send the Mouse Interaction&lt;/h3&gt;
					&lt;p&gt;
						&lt;a href="#1" id="testObject0" onmouseover="debug(this.id, 'over')" onmouseout="debug(this.id, 'out')" onclick="debug(this.id, 'click')"&gt;Test Object 0&lt;/a&gt;
						&lt;a href="#1" id="testObject1" onmouseover="debug(this.id, 'over')" onmouseout="debug(this.id, 'out')" onclick="debug(this.id, 'click')"&gt;Test Object 1&lt;/a&gt;
						&lt;a href="#1" id="testObject2" onmouseover="debug(this.id, 'over')" onmouseout="debug(this.id, 'out')" onclick="debug(this.id, 'click')"&gt;Test Object 2&lt;/a&gt;
					&lt;/p&gt;
					&lt;h3&gt;Send HTML&lt;/h3&gt;
					&lt;p&gt;
						&lt;button onclick="debug(this.parentNode.innerHTML)"&gt;Send&lt;/button&gt;
					&lt;/p&gt;
					&lt;h3&gt;Clear the Console&lt;/h3&gt;
					&lt;p&gt;
						&lt;button onclick="jQuery.classBehaviours.console.clear()"&gt;Send&lt;/button&gt;
					&lt;/p&gt;
				&lt;/fieldset&gt;
				&lt;p&gt;
					&lt;br/&gt;
					To display variables from scripts using the debugger, the call "debug(myVariable, myVariable, myVariable)" can be used, with as many arguments as required.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.scrolllock.js">jquery.classbehaviours.scrolllock.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=javascript-debug-console">debugConsole.html</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 17 June 2008 19:43:00 +0100</pubDate>
		</item>
		<item>
			<title>scrollLock: Scroll-locked Elements</title>
			<link>http://www.classbehaviours.com/default.php?id=scroll-locked-elements</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_scrollLock.png"/&gt;
				&lt;p&gt;
					It can be useful to have things like shopping-baskets and page-navigation follow along with the scrolling of the page.
					This script offers a sinple way to keep these elements up with the scrolling.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Element with a Position Locked to the Screen&lt;/h2&gt;
				&lt;p&gt;
					In the example below to the right, is a list element which is locked to the scroll position of the page.
					The filling text is to provide plenty of space to test scrolling.
				&lt;/p&gt;
				&lt;hr/&gt;
				&lt;div class="exampleScrollArea"&gt;
					&lt;ul class="scrollLock offset_300"&gt;
						&lt;li&gt;Lorem ipsum dolor sit&lt;/li&gt;
						&lt;li&gt;At vero eos et accusamus&lt;/li&gt;
						&lt;li&gt;Sed ut perspiciatis&lt;/li&gt;
					&lt;/ul&gt;
				&lt;/div&gt;
				&lt;div class="exampleContent"&gt;
					&lt;p&gt;
						Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
						Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
						Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
						Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
					&lt;/p&gt;
					&lt;p&gt;
						Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
						Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
						Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
						Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
					&lt;/p&gt;
					&lt;p&gt;
						At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
						Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
						Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
					&lt;/p&gt;
				&lt;/div&gt;
				&lt;hr/&gt;
				&lt;p&gt;
					The "offset_170" class, tells the script to wait and give the element 170 pixels head start before letting it follow the scrolling.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.scrolllock.js">jquery.classbehaviours.scrolllock.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=scroll-locked-elements">scrollLock.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/scrollLock.css">scrollLock.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.scrolllock.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 17 June 2008 19:43:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/scrollLock.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>imageMap: Image Maps with Mouse Interaction</title>
			<link>http://www.classbehaviours.com/default.php?id=image-maps-with-mouse-interaction</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_imageMap.png"/&gt;
				&lt;p&gt;
					Tracing around the shape of a country's borders is a time consuming process.
					Scripting the highlights of all the map regions is not a welcome chore to complement this.
				&lt;/p&gt;
				&lt;p&gt;
					This script, at least, takes away the additional work of scripting mouse-interactions.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Adding Mouse-effects to an Image-map&lt;/h2&gt;
				&lt;p&gt;
					By adding the "imageMap" class to the image element, the script will replace the word "default" in the filename with all the map area's IDs and cache their images.
				&lt;/p&gt;
				&lt;p class="border" &gt;
					&lt;img class="imageMap" id="mapImage" alt="" src="http://www.classbehaviours.com/images/imageMap_default.gif" useMap="#mapAreas"/&gt;
					&lt;map id="mapAreas" name="mapAreas"&gt;
						&lt;area id="zholland" alt="Zuid-Holland" title="Zuid-Holland" shape="poly" coords="87,153,94,157,92,165,94,168,97,167,102,165,106,167,106,168,106,170,112,167,114,170,116,177,111,178,110,180,114,182,120,182,115,185,116,192,112,194,114,198,115,202,119,203,122,199,127,199,133,194,138,200,139,200,137,205,135,209,128,214,122,216,119,215,112,213,115,216,111,221,104,224,102,226,96,229,85,230,80,228,74,224,70,220,74,217,65,218,58,215,54,212,51,205,50,198,53,198,56,202,60,206,64,209,68,209,78,210,83,206,81,203,75,206,71,205,66,202,62,197,58,194,76,175" href="#1"&gt;&lt;/area&gt;
						&lt;area id="brabant" alt="Noord-Brabant" title="Noord-Brabant" shape="poly" coords="74,269,75,257,71,251,69,243,64,237,70,237,84,231,95,233,106,229,118,230,120,228,119,226,114,225,113,221,120,217,126,216,131,218,134,220,139,222,140,221,141,223,140,225,140,226,159,222,162,215,168,219,169,213,172,216,176,216,190,224,197,224,201,228,205,228,206,234,209,238,211,240,212,246,212,248,208,246,202,248,199,248,196,246,196,250,198,255,201,265,204,269,198,275,189,277,185,280,180,284,179,288,176,290,175,290,174,283,169,280,167,282,166,282,164,284,158,284,156,286,148,286,150,278,147,276,143,278,141,272,136,266,139,262,134,256,131,257,131,262,125,267,118,266,116,262,117,258,113,253,104,262,104,264,94,264,93,260,95,258,91,257,83,259,82,262,82,265,85,271,84,271,81,273" href="#1"&gt;&lt;/area&gt;
						&lt;area id="limburg" alt="Limburg" title="Limburg" shape="poly" coords="210,346,214,344,213,340,218,339,218,336,217,333,217,332,215,331,212,327,211,324,206,324,204,325,202,324,202,321,200,319,200,316,202,314,203,313,207,315,218,306,224,303,222,299,218,299,217,297,218,291,226,278,228,276,227,269,227,259,225,254,218,243,219,238,214,236,212,231,206,227,202,223,200,223,201,229,206,232,208,236,213,244,214,251,211,252,204,252,199,253,199,255,200,258,203,266,205,269,203,277,197,281,189,282,183,287,182,290,179,293,182,297,190,298,194,298,195,301,199,300,199,303,198,306,197,308,197,310,195,311,193,314,193,316,195,320,190,326,193,330,184,340,188,346,188,351,190,353,193,349,196,351,198,352,202,350,204,352,210,351,212,353,213,351" href="#1"&gt;&lt;/area&gt;
						&lt;area id="nholland" alt="Noord-Holland" title="Noord-Holland" shape="poly" coords="91,151,98,133,102,110,104,94,106,84,108,76,107,73,108,61,118,44,123,48,123,54,120,60,117,62,112,65,109,66,107,74,111,72,114,75,114,78,120,80,125,80,129,76,133,77,138,87,137,95,140,100,143,102,145,100,150,100,151,102,151,105,148,108,145,112,141,115,139,115,133,113,131,113,130,115,132,121,134,130,133,139,137,138,130,145,127,148,132,152,136,152,141,155,148,157,152,158,148,165,143,172,142,171,140,167,136,166,135,166,130,157,124,159,120,162,115,165,112,165,110,167,106,164,102,165,98,165,96,165,98,159,99,155,99,154,95,154" href="#1"&gt;&lt;/area&gt;
						&lt;area id="utrecht" alt="Utrecht" title="Utrecht" shape="poly" coords="121,199,119,196,117,192,122,191,123,183,127,181,120,179,116,176,121,175,121,171,117,165,131,157,135,164,141,165,141,171,143,172,148,169,152,159,159,162,161,167,165,169,169,174,168,181,169,183,174,181,175,188,180,195,178,197,165,194,163,197,160,195,157,198,151,195,146,197,139,191,133,196,130,195,129,197,128,198,126,198,124,201,123,199" href="#1"&gt;&lt;/area&gt;
						&lt;area id="gelderland" alt="Gelderland" title="Gelderland" shape="poly" coords="163,164,172,161,177,154,185,144,193,139,198,126,203,133,206,134,211,130,214,134,217,137,219,145,216,147,213,153,221,165,233,165,237,164,241,164,247,171,256,173,261,173,262,178,268,178,267,182,263,184,263,188,267,188,274,193,274,195,271,197,271,201,265,205,263,202,245,211,241,209,239,210,240,213,234,211,233,209,225,209,222,205,218,206,221,211,216,211,211,213,207,214,205,213,207,218,207,223,205,224,200,220,197,223,191,223,177,215,173,216,169,215,167,217,163,216,157,224,143,225,141,222,136,221,133,214,139,211,147,198,153,199,157,200,161,198,164,199,167,197,178,201,180,197,179,195,176,186,175,181,170,184,170,176,168,173,165,170,164,168,162,167" href="#1"&gt;&lt;/area&gt;
						&lt;area id="overijssel" alt="Overijssel" title="Overijssel" shape="poly" coords="201,89,205,85,209,88,213,86,217,84,220,87,221,91,220,93,218,95,217,100,221,107,224,107,231,108,234,109,236,113,247,116,249,110,256,108,262,109,263,110,263,115,265,117,266,118,266,119,261,121,263,125,262,129,265,131,271,133,273,133,283,135,286,132,292,145,289,154,291,159,289,161,286,161,283,167,279,168,276,174,269,176,263,175,262,173,262,170,258,169,255,169,249,169,247,166,245,163,241,161,235,160,233,163,232,164,223,162,218,156,214,151,214,148,215,145,218,143,219,137,218,134,214,130,211,129,207,129,203,130,201,129,199,124,198,123,197,119,197,118,197,117,200,116,204,114,210,113,209,107,208,108" href="#1"&gt;&lt;/area&gt;
						&lt;area id="drente" alt="Drenthe" title="Drenthe" shape="poly" coords="225,91,222,83,229,75,233,74,236,77,240,73,243,68,239,61,238,57,236,54,235,53,237,51,241,40,247,40,250,41,258,49,267,50,288,73,287,78,291,80,290,109,281,109,276,105,268,109,267,109,265,108,262,107,263,107,263,108,253,106,251,108,251,113,250,114,248,114,243,112,240,112,239,112,236,107,234,107,230,107,226,105,223,105,222,104,220,100,219,97,221,95" href="#1"&gt;&lt;/area&gt;
						&lt;area id="friesland" alt="Friesland" title="Friesland" shape="poly" coords="234,75,229,72,217,82,209,86,205,83,198,87,194,88,191,86,186,83,183,83,180,82,177,83,175,86,169,83,166,83,162,82,160,78,164,75,163,69,163,64,162,59,161,56,160,53,122,36,137,26,140,26,146,16,174,7,182,6,204,5,225,2,234,0,225,5,220,6,218,7,219,12,222,14,225,20,228,21,230,22,229,26,226,29,224,33,223,37,223,41,222,43,222,48,224,48,227,49,232,51,234,52,234,55,235,58,236,61,237,62,239,65,241,67,240,69,239,71,237,73" href="#1"&gt;&lt;/area&gt;
						&lt;area id="groningen" alt="Groningen" title="Groningen" shape="poly" coords="286,70,265,49,256,47,250,42,244,38,241,38,235,52,232,52,227,49,222,45,224,39,226,31,231,25,230,22,229,20,222,12,223,12,230,13,234,15,241,10,254,9,263,4,274,9,275,19,288,24,290,24,292,29,299,32,300,39,296,45,300,49,300,57,301,62,299,66,295,78,292,80,288,77,287,76" href="#1"&gt;&lt;/area&gt;
						&lt;area id="flevoland" alt="Flevoland" title="Flevoland" shape="poly" coords="164,159,170,158,174,149,176,147,181,141,185,140,192,136,195,127,195,124,193,122,195,117,198,116,205,113,204,107,201,91,199,90,192,90,187,89,184,87,182,89,178,93,176,97,176,103,176,107,176,110,179,114,180,115,189,116,194,117,195,117,192,122,189,122,186,120,180,119,177,119,168,123,166,126,164,130,159,133,151,139,145,142,142,144,140,148,142,151,146,152,149,151,156,157,161,161,164,161" href="#1"&gt;&lt;/area&gt;
						&lt;area id="zeeland" alt="Zeeland" title="Zeeland" shape="poly" coords="49,213,39,215,42,218,45,219,50,218,54,222,54,223,51,225,47,227,41,227,38,226,33,227,29,228,28,230,28,231,33,234,37,234,40,234,43,236,47,240,49,240,51,241,53,243,52,245,49,248,46,251,43,249,42,244,39,242,35,242,31,243,27,244,24,244,21,243,15,243,11,246,7,248,5,249,10,256,14,260,20,261,24,261,26,262,29,265,27,271,15,268,2,268,0,271,1,276,1,281,4,286,12,286,19,281,29,282,33,286,33,293,42,293,59,286,68,276,67,273,58,274,54,272,51,269,46,271,42,274,37,276,35,275,33,274,35,269,41,269,48,262,53,264,59,268,66,268,70,272,71,271,72,268,72,263,66,263,60,262,58,261,56,259,51,255,48,252,55,249,59,253,65,254,67,254,67,249,64,245,63,244,62,242,61,240,60,238,60,238,71,235,76,234,78,230,73,226,64,221,58,218,53,212" href="#1"&gt;&lt;/area&gt;
					&lt;/map&gt;
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.imagemap.js">jquery.classbehaviours.imagemap.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=image-maps-with-mouse-interaction">imageMap.html</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.imagemap.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Mon, 16 June 2008 20:30:00 +0100</pubDate>
		</item>
		<item>
			<title>reloadFromUrl: Insert HTML from an External URL</title>
			<link>http://www.classbehaviours.com/default.php?id=insert-html-from-an-external-url</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_reloadFromUrl.png"/&gt;
				&lt;p&gt;
					This simple little script allows a link to a file to be replaced by the contents of the file using AJAX.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Replacing a Hyperlink with its Linked Content</h2>
				<p>
					In the example below the link to "reloadFromUrl.xml" is used to get the contents of that file using AJAX.
				</p>
				<div class="border">
					<a class="reloadFromUrl" href="http://www.classbehaviours.com/xml/reloadFromUrl.html">Lorem Ipsum Dolor Sit Amet</a>
				</div>
				<p>
					The contents are then inserted in the spot where the link was.
				</p>

				<h2>Loading the Content Automatically</h2>
				<p>
					In the example below this link is loaded automatically.
				</p>
				<div class="border">
					<a class="reloadFromUrl auto_yes" href="http://www.classbehaviours.com/xml/reloadFromUrl.xml">Lorem Ipsum Dolor Sit Amet</a>
				</div>
				<p>
					The optional "interval" class name enables a refresh loop.
				</p>

				<h2>Replacing Specific Content</h2>
				<article id="insertedFragment" class="border">
					<em class="instructions">--- Choose from either of the two fragments below ---</em>
				</article>
				<p>
					The following links will insert just one of a few specific segments of the linked file, indicated by an ID:
				</p>
				<ul>
					<li>Contents of the element named <a class="reloadFromUrl source_insertFragmentA target_insertedFragment" href="http://www.classbehaviours.com/xml/reloadFromUrl.html">"insertFragmentA"</a> from "reloadFromUrl.xml".</li>
					<li>Contents of the element named <a class="reloadFromUrl source_insertFragmentB target_insertedFragment" href="http://www.classbehaviours.com/xml/reloadFromUrl.html">"insertFragmentB"</a> from "reloadFromUrl.xml".</li>
					<li>Continually <a class="reloadFromUrl target_insertedFragment interval_4000" href="http://www.classbehaviours.com/xml/reloadFromUrl.html">refresh</a> the contents of "reloadFromUrl.xml".</li>
				</ul>

				<!--
				<h2>Loading the Contents of an IFRAME Inline Instead.</h2>
				<p>
					The IFRAME below has been replaced by the contents that it was supposed to load seperately.
				</p>
				<div class="border" id="insertedIframe">
					<iframe class="reloadFromUrl target_insertedIframe" frameborder="no" height="256" id="iframe0" name="iframe0" src="http://www.classbehaviours.com/xml/reloadFromUrl.html" width="100%"></iframe>
				</div>
				<p>
					The iframe will only be visible to users without javascript, since the script will replace the IFRAME with inline content.
				</p>
				-->

				<h2>Posting a Form Using AJAX</h2>
				<p>
					Using this same method the values of a form can also be submitted with the new content.
				</p>
				<style>
					@import url(http://www.classbehaviours.com/styles/validateForm.css);
				</style>
				<form class="border reloadFromUrl source_exampleForm target_exampleForm gently_1" id="exampleForm" action="http://www.classbehaviours.com/xml/reloadFromUrl_form.html" method="GET">
					<fieldset class="validateForm">
						<meter> </meter>
						<div class="summary" id="frmSummary0"></div>
						<table>
							<tfoot>
								<tr>
									<th>* required fields</th>
									<td>
										<span class="overlapButton animatedClassName focus_0,4,4 blur_5,9,9"><span class="overlap"><input class="button reloadFromUrl source_exampleForm target_exampleForm gently_1" type="submit" value="Send"/></span></span>
									</td>
								</tr>
							</tfoot>
							<tbody>
								<tr class="odd" id="frmRow1">
									<th><label for="frmRow1Element1">Dolor sit amet<em>*</em></label></th>
									<td>
										<input class="radio reloadFromUrl" id="frmRow1Element1a" name="frmRow1Element1" type="radio" value="0"/>
										<label for="frmRow1Element1a">Dolor</label>
										<input class="radio reloadFromUrl" id="frmRow1Element1b" name="frmRow1Element1" type="radio" value="0"/>
										<label for="frmRow1Element1b">Sit Amet</label>
									</td>
								</tr>
								<tr class="even" id="frmRow2">
									<th><label for="frmRow2Element1">Dolor sit amet<em>*</em></label></th>
									<td>
										<ul>
											<li>
												<input class="radio reloadFromUrl error" id="frmRow2Element1" name="frmRow2Element1" type="radio" value="0"/>
												<label for="frmRow2Element1">Dolor</label>
											</li>
											<li>
												<input class="radio reloadFromUrl error" id="frmRow2Element2" name="frmRow2Element2" type="radio" value="0"/>
												<label for="frmRow2Element2">Sit Amet</label>
											</li>
										</ul>
									</td>
								</tr>
								<tr class="odd" id="frmRow3">
									<th><label for="frmRow3Element1">Lorem ipsum<em>*</em></label></th>
									<td><input class="text full reloadFromUrl" id="frmRow3Element1" name="frmRow3Element1" type="text"/></td>
								</tr>
								<tr class="even" id="frmRow4">
									<th><label for="frmRow4Element1">Lorem ipsum<em>*</em></label></th>
									<td>
										<input class="text medium left reloadFromUrl" id="frmRow4Element1" name="frmRow4Element1" type="text"/>
										<input class="text medium right reloadFromUrl" id="frmRow4Element2" name="frmRow4Element2" type="text"/>
									</td>
								</tr>
								<tr class="odd" id="frmRow5">
									<th><label for="frmRow5Element1">Lorem ipsum<em>*</em></label></th>
									<td>
										<input class="text small left reloadFromUrl" id="frmRow5Element1" name="frmRow5Element1" type="text"/>
										<input class="text large right reloadFromUrl" id="frmRow5Element2" name="frmRow5Element2" type="text"/>
									</td>
								</tr>
								<tr class="even" id="frmRow6">
									<th><label for="frmRow6Element1">Consectetur<em>*</em></label></th>
									<td>
										<select class="full reloadFromUrl" id="frmRow6Element1" name="frmRow6Element1">
											<option>Lorem ipsum</option>
											<option>Dolor</option>
											<option>Sit Amet</option>
										</select>
									</td>
								</tr>
								<tr class="odd" id="frmRow7">
									<th><label for="frmRow7Element1">Consectetur<em>*</em></label></th>
									<td>
										<select class="small left reloadFromUrl" id="frmRow7Element1" name="frmRow7Element1">
											<option>Lorem ipsum</option>
											<option>Dolor</option>
											<option>Sit Amet</option>
										</select>
										<select class="medium center reloadFromUrl" id="frmRow7Element2" name="frmRow7Element2">
											<option>Lorem ipsum</option>
											<option>Dolor</option>
											<option>Sit Amet</option>
										</select>
										<select class="small right reloadFromUrl" id="frmRow7Element3" name="frmRow7Element3">
											<option>Lorem ipsum</option>
											<option>Dolor</option>
											<option>Sit Amet</option>
										</select>
									</td>
								</tr>
								<tr class="even" id="frmRow8">
									<th><label for="frmRow8Element1">Adipisicing<em>*</em></label></th>
									<td><textarea class="full reloadFromUrl" cols="32" id="frmRow8Element1" name="frmRow8Element1" rows="8"> </textarea></td>
								</tr>
								<tr class="odd" id="frmRow9">
									<th><label for="frmRow9Element1">Elit sed do<em>*</em></label></th>
									<td>
										<input class="checkbox reloadFromUrl" id="frmRow9Element1" name="frmRow9Element1" type="checkbox"/>
										<label for="frmTestValue1a">Dolor</label>
									</td>
								</tr>
							</tbody>
						</table>
					</fieldset>
				</form>
				<p>
					By replacing selective ID's, forms can be validated using the server-side code.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.reloadfromurl.js">jquery.classbehaviours.reloadfromurl.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=insert-html-from-an-external-url">reloadFromUrl.html</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/reloadFromUrl.xml">reloadFromUrl.xml</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/reloadFromUrl.css">reloadFromUrl.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.reloadfromurl.js"></script>
			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 17 Mar 2009 11:33:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/reloadFromUrl.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>autoSizeIframe: Resize an Iframe to Fit</title>
			<link>http://www.classbehaviours.com/default.php?id=resize-an-iframe-to-fit</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_autoSizeIframe.png"/&gt;
				&lt;p&gt;
					Sometimes you absolutely have to use an iframe to include content. Apart from not validating under the strictest doctypes, an iframe doesn't scale to the content it contains.
					You're invariably stuck with a frame that is either too large or has scroll-bars. This script resizes an iframes to the size of its contents.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Iframe resizes after loading its contents&lt;/h2&gt;
				&lt;p&gt;
					When the content of the iframe is loaded, its length is measured and the height of the iframe is adjusted accordingly.
				&lt;/p&gt;
				&lt;div class="border"&gt;
					&lt;iframe allowtransparency="true" class="autoSizeIframe" frameborder="no" height="225" id="autoSizeIframeId" name="autoSizeIframeName" src="http://www.classbehaviours.com/xml/autoSizeIframe.html" scrolling="auto" width="100%"&gt;&lt;/iframe&gt;
				&lt;/div&gt;
				&lt;p&gt;
					To illustrate, the following iframe will not have the "autoSizeIframe" class.
				&lt;/p&gt;
				&lt;div class="border"&gt;
					&lt;iframe allowtransparency="true" frameborder="no" height="225" id="autoSizeIframeId" name="autoSizeIframeName" src="http://www.classbehaviours.com/xml/autoSizeIframe.html" scrolling="auto" style="border:none;" width="100%"&gt;&lt;/iframe&gt;
				&lt;/div&gt;
				&lt;p&gt;
					It would be possible to also scale the width of the iframe, but usually this is unwanted behaviour because of column widths.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.autosizeiframe.js">jquery.classbehaviours.autosizeiframe.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=resize-an-iframe-to-fit">autoSizeIframe.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/autoSizeIframe.css">autoSizeIframe.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.autosizeiframe.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 10 June 2008 22:26:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/autoSizeIframe.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>longdescToolTip: ToolTips using the Longdesc</title>
			<link>http://www.classbehaviours.com/default.php?id=tooltips-using-the-longdesc</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_longdescToolTip.png"/&gt;
				&lt;p&gt;
					The longdesc attribute allows a detailed explanation to be linked to an image, but so little people will benefit from this method that generally nobody bothers.
				&lt;/p&gt;
				&lt;p&gt;
					This classbehaviour gives an incentive, by fetching the longdesc content in a custom tooltip using AJAX.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;AJAX Tool-tips using the "longdesc" Attribute&lt;/h2&gt;
				&lt;p&gt;
					Each image below is linked to a longdesc description.
					Hovering the mouse over these images will fetch and display the contents of this longdesc in a floating layer near the mouse.
				&lt;/p&gt;
				&lt;ul class="exampleToolTips"&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Bigger" src="http://www.classbehaviours.com/images/cmd_bigger_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_bigger.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Copy" src="http://www.classbehaviours.com/images/cmd_copy_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_copy.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Create Link" src="http://www.classbehaviours.com/images/cmd_createlink_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_createlink.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Delete" src="http://www.classbehaviours.com/images/cmd_delete_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_delete.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Insert Image" src="http://www.classbehaviours.com/images/cmd_insertimage_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_insertimage.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Insert" src="http://www.classbehaviours.com/images/cmd_insert_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_insert.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Paste" src="http://www.classbehaviours.com/images/cmd_paste_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_paste.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Toggle HTML" src="http://www.classbehaviours.com/images/cmd_toggleHtml_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_toggleHtml.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Toggle Text" src="http://www.classbehaviours.com/images/cmd_toggleText_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_toggleText.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Undo" src="http://www.classbehaviours.com/images/cmd_undo_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_undo.html"/&gt;&lt;/li&gt;
					&lt;li&gt;&lt;img class="longdescToolTip" alt="Unlink" src="http://www.classbehaviours.com/images/cmd_unlink_hover.png" longdesc="http://www.classbehaviours.com/xml/longdescToolTip_unlink.html"/&gt;&lt;/li&gt;
				&lt;/ul&gt;
				&lt;p&gt;
					Presenting the longdesc attribute this way, keeps it perfectly functional as an accessibility feature for the people who really need it.
					However, it also makes the extra information available to every one else.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.longdesctooltip.js">jquery.classbehaviours.longdesctooltip.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=tooltips-using-the-longdesc">longdescToolTip.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/longdescToolTip.css">longdescToolTip.css</a></li>
					<li>Example Longdesc: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/longdescToolTip_unlink.html">longdescToolTip_unlink.html</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.longdesctooltip.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 8 June 2008 15:24:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/longdescToolTip.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Graphical Buttons That Scale</title>
			<link>http://www.classbehaviours.com/default.php?id=graphical-buttons-that-scale&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_graphicalButtonsThatScale.png"/&gt;
				&lt;p&gt;
					Buttons are often designed to have a skin to match a website's style.
					It is quite hard however to get the image background of a button to grow with the text on the button.
					These two examples offer a solution.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Two Overlapping Borders</h2>
				<p>
					In this example the text in the button is surrounded by a DIV, which in turn is also encased in a DIV.
					Both containers have a single background image but at a slight offset.
				</p>

				<p class="exampleButton">
					<span class="overlapButton"><span class="overlap"><input class="button" type="button" value="Consectetur Adipisicing"/></span></span>
					<span class="overlapButton"><span class="overlap"><a class="button" href="?1">Elit Sed Do</a></span></span>
				</p>
				<p>
					This method allow both backgrounds to contain transparency.
					For example the left, right and highlighted backgrounds are all contained in a single image file.
					The stylesheet allows for this re-use, through clever positioning.
				</p>
				<h3>Animated buttons</h3>
				<p>
					Through the addition of another behaviour; "animatedClassNames", the buttons can be given a fading effect.
				</p>
				<p class="exampleButton">
					<span class="overlapButton animatedClassName focus_0,4,4 blur_5,9,9"><span class="overlap"><input class="button" type="button" value="Consectetur Adipisicing"/></span></span>
					<span class="overlapButton animatedClassName focus_0,4,4 blur_5,9,9"><span class="overlap"><a class="button" href="?1">Elit Sed Do</a></span></span>
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=graphical-buttons-that-scale">overlapButton.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/overlapButton.css">overlapButton.css</a></li>
					<li>Example Button Skin: <a href="http://www.classbehaviours.com/images/graphicalButtonsThatScale.png">overlapButton.png</a></li>
					<li>
						Optional jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.animatedclassname.js">jquery.classbehaviours.animatedclassname.js</a>
						<ul>
							<li>Optional prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Wed, 4 June 2008 22:16:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/graphicalButtonsThatScale.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>classMouseHover: Cosmetic Mouse Interaction</title>
			<link>http://www.classbehaviours.com/default.php?id=cosmetic-mouse-interaction</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_classMouseHover.png"/&gt;
				&lt;p&gt;
					When the mouse moves over a button, link or menu-item, some highlighting is expected to indicate its interactivity.
					The javascript involved however is anything but straight forward to implement in an orderly way.
				&lt;/p&gt;
				&lt;p&gt;
					This script simplifies the process to a single class name.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Highlighting Images&lt;/h2&gt;
				&lt;p&gt;
					Images that highlight have been around for so long, that any user is familiar with having a button light up when the mouse is moved over it.
					It's a very common way to indicate that an element is inviting interactivity.
					Below are several examples of achieving a highlighting effect.
				&lt;/p&gt;

				&lt;h3&gt;Cached Image Replacing&lt;/h3&gt;
				&lt;p&gt;
					Replacing the image with a highlighted version is the oldest and most reliable way.
					Implementing it in this way, limits the effort to adding a class-name.
					Move the mouse pointer over the images below to see the script replace the grey version of the images with a pre-loaded coloured one.
				&lt;/p&gt;
				&lt;div class="exampleIcons"&gt;
					&lt;img class="srcMouseHover" alt="Bigger" src="http://www.classbehaviours.com/images/cmd_bigger_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Copy" src="http://www.classbehaviours.com/images/cmd_copy_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Create Link" src="http://www.classbehaviours.com/images/cmd_createlink_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Delete" src="http://www.classbehaviours.com/images/cmd_delete_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Insert Image" src="http://www.classbehaviours.com/images/cmd_insertimage_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Insert" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Paste" src="http://www.classbehaviours.com/images/cmd_paste_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Toggle HTML" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Toggle Text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Undo" src="http://www.classbehaviours.com/images/cmd_undo_link.png"/&gt;
					&lt;img class="srcMouseHover" alt="Unlink" src="http://www.classbehaviours.com/images/cmd_unlink_link.png"/&gt;
				&lt;/div&gt;

				&lt;h3&gt;Fading Image Hovers&lt;/h3&gt;
				&lt;p&gt;
					This is a slightly more decorative method. The highlighted version of the image is faded in over the grey version.
				&lt;/p&gt;
				&lt;div class="exampleIcons"&gt;
					&lt;img class="fadeMouseHover" alt="Bigger" src="http://www.classbehaviours.com/images/cmd_bigger_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Copy" src="http://www.classbehaviours.com/images/cmd_copy_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Create Link" src="http://www.classbehaviours.com/images/cmd_createlink_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Delete" src="http://www.classbehaviours.com/images/cmd_delete_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Insert Image" src="http://www.classbehaviours.com/images/cmd_insertimage_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Insert" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Paste" src="http://www.classbehaviours.com/images/cmd_paste_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Toggle HTML" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Toggle Text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Undo" src="http://www.classbehaviours.com/images/cmd_undo_link.png"/&gt;
					&lt;img class="fadeMouseHover" alt="Unlink" src="http://www.classbehaviours.com/images/cmd_unlink_link.png"/&gt;
				&lt;/div&gt;
				&lt;p&gt;
					This method is more delicate as the highlighted version needs to be positioned accurately.
					The script might not be able to do this in all layout situations.
				&lt;/p&gt;

				&lt;h3&gt;Table Rows&lt;/h3&gt;
				&lt;p&gt;
					Highlights aren't limited to buttons, links and images. Below the table's rows highlight under the mouse.
				&lt;/p&gt;
				&lt;table class="exampleTable data"&gt;
					&lt;thead&gt;
						&lt;tr&gt;
							&lt;th&gt;Icon&lt;/th&gt;
							&lt;th&gt;Description&lt;/th&gt;
						&lt;/tr&gt;
					&lt;/thead&gt;
					&lt;tfoot&gt;
						&lt;tr&gt;
							&lt;th&gt;Total:&lt;/th&gt;
							&lt;td&gt;11&lt;/td&gt;
						&lt;/tr&gt;
					&lt;/tfoot&gt;
					&lt;tbody&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#1"&gt;&lt;img class="srcMouseHover" alt="Bigger" src="http://www.classbehaviours.com/images/cmd_bigger_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Bigger&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#2"&gt;&lt;img class="srcMouseHover" alt="Copy" src="http://www.classbehaviours.com/images/cmd_copy_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Copy&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#3"&gt;&lt;img class="srcMouseHover" alt="Create Link" src="http://www.classbehaviours.com/images/cmd_createlink_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Create Link&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#4"&gt;&lt;img class="srcMouseHover" alt="Delete" src="http://www.classbehaviours.com/images/cmd_delete_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Delete&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#5"&gt;&lt;img class="srcMouseHover" alt="Insert Image" src="http://www.classbehaviours.com/images/cmd_insertimage_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Insert Image&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#6"&gt;&lt;img class="srcMouseHover" alt="Insert" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Insert&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#7"&gt;&lt;img class="srcMouseHover" alt="Paste" src="http://www.classbehaviours.com/images/cmd_paste_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Paste&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#8"&gt;&lt;img class="srcMouseHover" alt="Toggle HTML" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Toggle HTML&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#9"&gt;&lt;img class="srcMouseHover" alt="Toggle Text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Toggle Text&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#10"&gt;&lt;img class="srcMouseHover" alt="Undo" src="http://www.classbehaviours.com/images/cmd_undo_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Undo&lt;/td&gt;
						&lt;/tr&gt;
						&lt;tr class="classMouseHover link"&gt;
							&lt;td&gt;&lt;a class="clickOnParent parent_2" href="#11"&gt;&lt;img class="srcMouseHover" alt="Unlink" src="http://www.classbehaviours.com/images/cmd_unlink_link.png"/&gt;&lt;/a&gt;&lt;/td&gt;
							&lt;td&gt;Unlink&lt;/td&gt;
						&lt;/tr&gt;
					&lt;/tbody&gt;
				&lt;/table&gt;
				&lt;p&gt;
					Making the whole row clickable is achieved using another classbehaviour classname. "clickOnParent parent_2" Moves the functionality from the link to the entire table row.
				&lt;/p&gt;

				&lt;h3&gt;Tool-tip Explanations&lt;/h3&gt;
				&lt;p&gt;
					The example below shows the complexity a simple hover effect can achieve. The tooltip requires no script at all, except in Internet Explorer 6.
				&lt;/p&gt;
				&lt;ul class="exampleToolTips"&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Bigger" src="http://www.classbehaviours.com/images/cmd_bigger_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Bigger&lt;/h4&gt;
							&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.&lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Copy" src="http://www.classbehaviours.com/images/cmd_copy_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Copy&lt;/h4&gt;
							&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Create Link" src="http://www.classbehaviours.com/images/cmd_createlink_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Create Link&lt;/h4&gt;
							&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Delete" src="http://www.classbehaviours.com/images/cmd_delete_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Delete&lt;/h4&gt;
							&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Insert Image" src="http://www.classbehaviours.com/images/cmd_insertimage_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Insert Image&lt;/h4&gt;
							&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Insert" src="http://www.classbehaviours.com/images/cmd_insert_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Insert&lt;/h4&gt;
							&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Paste" src="http://www.classbehaviours.com/images/cmd_paste_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Paste&lt;/h4&gt;
							&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Toggle HTML" src="http://www.classbehaviours.com/images/cmd_toggleHtml_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Toggle HTML&lt;/h4&gt;
							&lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Toggle Text" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Toggle Text&lt;/h4&gt;
							&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Undo" src="http://www.classbehaviours.com/images/cmd_undo_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Undo&lt;/h4&gt;
							&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. &lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
					&lt;li class="classMouseHover link"&gt;
						&lt;img alt="Unlink" src="http://www.classbehaviours.com/images/cmd_unlink_link.png"/&gt;
						&lt;div class="toolTip"&gt;
							&lt;h4&gt;Unlink&lt;/h4&gt;
							&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
						&lt;/div&gt;
					&lt;/li&gt;
				&lt;/ul&gt;
				&lt;p&gt;
					The "&lt;a href="http://www.classbehaviours.com/default.php?id=folding-menu"&gt;Folding Menu&lt;/a&gt;" is an even more complex example of using a hover effect.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.classmousehover.js">jquery.classbehaviours.classmousehover.js</a>
						<ul>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.srcmousehover.js">jquery.classbehaviours.srcmousehover.js</a></li>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.fademousehover.js">jquery.classbehaviours.fademousehover.js</a></li>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=cosmetic-mouse-interaction">classMouseHover.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/classMouseHover.css">classMouseHover.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.classmousehover.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.srcmousehover.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.fademousehover.js"></script>

			]]>


			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 1 June 2008 10:07:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/classMouseHover.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Footer at Bottom</title>
			<link>http://www.classbehaviours.com/default.php?id=footer-at-bottom&amp;cat=markup</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_footerAtBottom.png"/&gt;
				&lt;p&gt;
					The footer belongs under the document, but when the content doesn't fill the screen the footer tends to float in the middle of the page.
					This example solves this problem.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Keeping the footer at the bottom.&lt;/h2&gt;
				&lt;p&gt;
					The iframe below can be resized with the buttons below, to see the effects different sizes have on the position of the footer.
					You'll notice that the footer stays neatly in its place at any size.
				&lt;/p&gt;
				&lt;iframe src="http://www.classbehaviours.com/xml/footerAtBottom.html" width="550" height="300" frameborder="1" scrolling="auto" name="footerAtBottomFrame" id="footerAtBottomFrame"&gt;&lt;/iframe&gt;
				&lt;p&gt;&lt;/p&gt;
				&lt;ul class="buttons"&gt;
					&lt;li&gt;&lt;button onclick="document.getElementById('footerAtBottomFrame').height='200'"&gt;Small&lt;/button&gt;&lt;/li&gt;
					&lt;li&gt;&lt;button onclick="document.getElementById('footerAtBottomFrame').height='300'"&gt;Medium&lt;/button&gt;&lt;/li&gt;
					&lt;li&gt;&lt;button onclick="document.getElementById('footerAtBottomFrame').height='400'"&gt;Large&lt;/button&gt;&lt;/li&gt;
				&lt;/ul&gt;
				&lt;p&gt;
					Alternatively the example can be &lt;a href="http://www.classbehaviours.com/xml/footerAtBottom.html"&gt;opened seperately&lt;/a&gt;.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/xhtml/footerAtBottom.html">footerAtBottom.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/footerAtBottom.css">footerAtBottom.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,markup,</category>
			<pubDate>Fri, 30 May 2008 7:00:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/footerAtBottom.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>artificialScrollBar: Artificial Scroll-bar</title>
			<link>http://www.classbehaviours.com/default.php?id=artificial-scroll-bar</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_artificialScrollBar.png"/&gt;
				&lt;p&gt;
					It is a very bad idea to try and replace the default scrollbar the user is used to.
					Here's how to do just that.
				&lt;/p&gt;
				&lt;p&gt;
					This trickery allows the design of the scrollbar to be completely customized,
					while making a best effort to keep the result accessible.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Scrolling Content with a Custom Scrollbar&lt;/h2&gt;
				&lt;p&gt;
					In below example a best effort has been made to emulate all of the functionality common to scrollbars.
					The markup of it is completely done through the stylesheet and without any inline javascript at all.
					Should no javascript be available, this example will default to the standard scrollbar from the browser.
				&lt;/p&gt;

				&lt;div class="artificialScrollBar"&gt;
					&lt;div class="scrollContent"&gt;
						&lt;h2&gt;Lorem ipsum dolor sit amet&lt;/h2&gt;
						&lt;p&gt;
							Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						&lt;/p&gt;
						&lt;p&gt;
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
							Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
							Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
							Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
						&lt;/p&gt;
						&lt;h3&gt;At vero eos et accusamus&lt;/h3&gt;
						&lt;p&gt;
							At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
							Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
							Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
						&lt;/p&gt;
						&lt;p&gt;
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
							Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
							Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
							Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
						&lt;/p&gt;
					&lt;/div&gt;
					&lt;div class="scrollGutter"&gt;
						&lt;div class="scrollUp"&gt;&lt;img alt="" src="http://www.classbehaviours.com/images/arrow_pointingUp.png"/&gt;&lt;/div&gt;
						&lt;div class="scrollDown"&gt;&lt;img alt="" src="http://www.classbehaviours.com/images/arrow_pointingDown.png"/&gt;&lt;/div&gt;
						&lt;div class="scrollIndicator"&gt;&lt;/div&gt;
						&lt;div class="scrollDetector"&gt;&lt;/div&gt;
					&lt;/div&gt;
				&lt;/div&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.artificialscrollbar.js">jquery.classbehaviours.artificialscrollbar.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=artificial-scroll-bar">artificialScrollBar.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/artificialScrollBar.css">artificialScrollBar.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.artificialscrollbar.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Thu, 29 May 2008 21:58:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/artificialScrollBar.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>sortableTable: Sorting Table Elements</title>
			<link>http://www.classbehaviours.com/default.php?id=sorting-table-elements</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_sortableTable.png"/&gt;
				&lt;p&gt;
					These three methods of sorting tables allow lists of tabular data to be ordered by a user's preference.
				&lt;/p&gt;
				&lt;p&gt;
					The new order can then be submitted to the server.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Sort by Column&lt;/h2&gt;
				&lt;p&gt;
					The first example is the most commonly used. Columns can be sorted alphanumerically by clicking on the headers.
				&lt;/p&gt;
				&lt;form action="" method="get"&gt;
					&lt;fieldset&gt;
						&lt;legend&gt;Order the contents of this table clicking on the column headings&lt;/legend&gt;
						&lt;!--[if lte IE 7]&gt;&lt;br/&gt;&lt;![endif]--&gt;
						&lt;table class="data"&gt;
							&lt;thead&gt;
								&lt;tr&gt;
									&lt;th class="sortByColumn"&gt;&lt;div&gt;Lorem&lt;/div&gt;&lt;/th&gt;
									&lt;th class="sortByColumn"&gt;&lt;div&gt;Ipsum&lt;/div&gt;&lt;/th&gt;
									&lt;th class="sortByColumn"&gt;&lt;div&gt;Dolor&lt;/div&gt;&lt;/th&gt;
								&lt;/tr&gt;
							&lt;/thead&gt;
							&lt;tfoot&gt;
								&lt;tr&gt;
									&lt;td&gt;&lt;button&gt;Submit the new order&lt;/button&gt;&lt;/td&gt;
									&lt;td&gt;6&lt;/td&gt;
									&lt;td&gt;9&lt;/td&gt;
								&lt;/tr&gt;
							&lt;/tfoot&gt;
							&lt;tbody&gt;
								&lt;tr class="odd"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row12" value="12"/&gt;Adipisicing&lt;/th&gt;
									&lt;td&gt;5&lt;/td&gt;
									&lt;td&gt;0&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="even"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row13" value="13"/&gt;Elit&lt;/th&gt;
									&lt;td&gt;1&lt;/td&gt;
									&lt;td&gt;4&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="odd"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row14" value="14"/&gt;Sed&lt;/th&gt;
									&lt;td&gt;3&lt;/td&gt;
									&lt;td&gt;2&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="even"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row15" value="15"/&gt;Do eiusmod&lt;/th&gt;
									&lt;td&gt;4&lt;/td&gt;
									&lt;td&gt;1&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="odd"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row16" value="16"/&gt;Tempor&lt;/th&gt;
									&lt;td&gt;2&lt;/td&gt;
									&lt;td&gt;3&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="even"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row17" value="17"/&gt;Incididunt&lt;/th&gt;
									&lt;td&gt;0&lt;/td&gt;
									&lt;td&gt;5&lt;/td&gt;
								&lt;/tr&gt;
							&lt;/tbody&gt;
						&lt;/table&gt;
					&lt;/fieldset&gt;
				&lt;/form&gt;
				&lt;p&gt;
					&lt;br/&gt;
					Of-course, this doesn't allow for a random order to be set by the user.
				&lt;/p&gt;

				&lt;h2&gt;Drag to Sort&lt;/h2&gt;
				&lt;p&gt;
					In the example below, the rows can be picked up and dragged around by the mouse.
					The rows contain hidden form elements that are used to send the a preferred order to the server by the user.
				&lt;/p&gt;
				&lt;form action="" method="get"&gt;
					&lt;fieldset&gt;
						&lt;legend&gt;Order the contents of this table by dragging the rows&lt;/legend&gt;
						&lt;!--[if lte IE 7]&gt;&lt;br/&gt;&lt;![endif]--&gt;
						&lt;table class="data dragToSort offx_-300 offy_1"&gt;
							&lt;thead&gt;
								&lt;tr id="testH"&gt;
									&lt;th&gt;Lorem&lt;/th&gt;
									&lt;th&gt;Ipsum&lt;/th&gt;
									&lt;th&gt;Dolor&lt;/th&gt;
								&lt;/tr&gt;
							&lt;/thead&gt;
							&lt;tfoot&gt;
								&lt;tr id="testF"&gt;
									&lt;td&gt;&lt;button&gt;Submit the new order&lt;/button&gt;&lt;/td&gt;
									&lt;td&gt;6&lt;/td&gt;
									&lt;td&gt;9&lt;/td&gt;
								&lt;/tr&gt;
							&lt;/tfoot&gt;
							&lt;tbody&gt;
								&lt;tr class="odd"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row0" value="0"/&gt;1. Adipisicing&lt;/th&gt;
									&lt;td&gt;0&lt;/td&gt;
									&lt;td&gt;1&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="even"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row1" value="1"/&gt;2. Elit&lt;/th&gt;
									&lt;td&gt;2&lt;/td&gt;
									&lt;td&gt;3&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="odd"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row2" value="2"/&gt;3. Sed&lt;/th&gt;
									&lt;td&gt;4&lt;/td&gt;
									&lt;td&gt;5&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="even"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row3" value="3"/&gt;4. Adipisicing&lt;/th&gt;
									&lt;td&gt;0&lt;/td&gt;
									&lt;td&gt;1&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="odd"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row4" value="4"/&gt;5. Elit&lt;/th&gt;
									&lt;td&gt;2&lt;/td&gt;
									&lt;td&gt;3&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr class="even"&gt;
									&lt;th&gt;&lt;input type="hidden" name="row5" value="5"/&gt;6. Sed&lt;/th&gt;
									&lt;td&gt;4&lt;/td&gt;
									&lt;td&gt;5&lt;/td&gt;
								&lt;/tr&gt;
							&lt;/tbody&gt;
						&lt;/table&gt;
					&lt;/fieldset&gt;
				&lt;/form&gt;
				&lt;p&gt;
					&lt;br/&gt;
				 	From the submitted query, the new order can the discerned.
				&lt;/p&gt;

				&lt;h2&gt;Click to Sort&lt;/h2&gt;
				&lt;p&gt;
					The next example does not involve dragging things around with the mouse.
					A row is selected and arrows appear to help select a new position for it.
				&lt;/p&gt;
				&lt;form action="" method="get"&gt;
					&lt;fieldset&gt;
						&lt;legend&gt;Click on the row and select a new position in the table&lt;/legend&gt;
						&lt;!--[if lte IE 7]&gt;&lt;br/&gt;&lt;![endif]--&gt;
						&lt;div class="clickToSort"&gt;
							&lt;span class="rowIndicators"&gt;
								&lt;img class="leftRowIndicator" alt="Insert between here" src="http://www.classbehaviours.com/images/rowIndicator_left.png"/&gt;
								&lt;img class="centerRowIndicator" alt="Insert between here" src="http://www.classbehaviours.com/images/rowIndicator_center.png"/&gt;
								&lt;img class="rightRowIndicator" alt="Insert between here" src="http://www.classbehaviours.com/images/rowIndicator_right.png"/&gt;
							&lt;/span&gt;
							&lt;table class="data"&gt;
								&lt;thead&gt;
									&lt;tr&gt;
										&lt;th&gt;Lorem&lt;/th&gt;
										&lt;th&gt;Ipsum&lt;/th&gt;
										&lt;th&gt;Dolor&lt;/th&gt;
									&lt;/tr&gt;
								&lt;/thead&gt;
								&lt;tfoot&gt;
									&lt;tr&gt;
										&lt;td&gt;&lt;button&gt;Submit the new order&lt;/button&gt;&lt;/td&gt;
										&lt;td&gt;6&lt;/td&gt;
										&lt;td&gt;9&lt;/td&gt;
									&lt;/tr&gt;
								&lt;/tfoot&gt;
								&lt;tbody&gt;
									&lt;tr class="odd"&gt;
										&lt;th&gt;&lt;input type="hidden" name="row6" value="6"/&gt;1. Adipisicing&lt;/th&gt;
										&lt;td&gt;0&lt;/td&gt;
										&lt;td&gt;1&lt;/td&gt;
									&lt;/tr&gt;
									&lt;tr class="even"&gt;
										&lt;th&gt;&lt;input type="hidden" name="row7" value="7"/&gt;2. Elit&lt;/th&gt;
										&lt;td&gt;2&lt;/td&gt;
										&lt;td&gt;3&lt;/td&gt;
									&lt;/tr&gt;
									&lt;tr class="odd"&gt;
										&lt;th&gt;&lt;input type="hidden" name="row8" value="8"/&gt;3. Sed&lt;/th&gt;
										&lt;td&gt;4&lt;/td&gt;
										&lt;td&gt;5&lt;/td&gt;
									&lt;/tr&gt;
									&lt;tr class="even"&gt;
										&lt;th&gt;&lt;input type="hidden" name="row9" value="9"/&gt;4. Adipisicing&lt;/th&gt;
										&lt;td&gt;0&lt;/td&gt;
										&lt;td&gt;1&lt;/td&gt;
									&lt;/tr&gt;
									&lt;tr class="odd"&gt;
										&lt;th&gt;&lt;input type="hidden" name="row10" value="10"/&gt;5. Elit&lt;/th&gt;
										&lt;td&gt;2&lt;/td&gt;
										&lt;td&gt;3&lt;/td&gt;
									&lt;/tr&gt;
									&lt;tr class="even"&gt;
										&lt;th&gt;&lt;input type="hidden" name="row11" value="11"/&gt;6. Sed&lt;/th&gt;
										&lt;td&gt;4&lt;/td&gt;
										&lt;td&gt;5&lt;/td&gt;
									&lt;/tr&gt;
								&lt;/tbody&gt;
							&lt;/table&gt;
						&lt;/div&gt;
					&lt;/fieldset&gt;
				&lt;/form&gt;
				&lt;p&gt;
					&lt;br/&gt;
					Something can be said for either method. The latter one may cause less confusion, because nothing flies off with the mouse.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.sortbycolumn.js">jquery.classbehaviours.sortbycolumn.js</a>
						<ul>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.dragtosort.js">jquery.classbehaviours.dragtosort.js</a></li>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.clicktosort.js">jquery.classbehaviours.clicktosort.js</a></li>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=sorting-table-elements">sortableTable.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/sortableTable.css">sortableTable.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.sortbycolumn.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.dragtosort.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.clicktosort.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Mon, 5 May 2008 19:59:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/sortableTable.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>flashTitle: Including Flash for Titles</title>
			<link>http://www.classbehaviours.com/default.php?id=including-flash-for-titles</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_flashTitle.png"/&gt;
				&lt;p&gt;
					To compensate for the inability of browsers to include fonts into web-pages, Adobe's Flash can be used to make adaptable typographic titles.
					But when including flash in a page, it can be a challenge to account for the availability of the plugin and the differences between browsers.
				&lt;/p&gt;
				&lt;p&gt;
					This Classbehaviour example offers an easy and consistent way of including flash.
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;Flash Title Replacement&lt;/h2&gt;
				&lt;p&gt;
					The following title uses a non-standard font and a flash plugin is used to display it correctly.
					For practical use the title's plain text alternative is imported into the Flash file using action-script.
				&lt;/p&gt;
				&lt;h3 class="flashTitle"&gt;
					&lt;span class="flashAlternative"&gt;Title with a Non-standard Font&lt;/span&gt;
					&lt;input type="hidden" name="prototype" value="http://www.classbehaviours.com/xml/flashTitle.xml"/&gt;
					&lt;input type="hidden" name="movie" value="http://www.classbehaviours.com/flash/flashTitle.swf"/&gt;
					&lt;input type="hidden" name="width" value="512"/&gt;
					&lt;input type="hidden" name="height" value="32"/&gt;
					&lt;input type="hidden" name="wmode" value="transparent"/&gt;
					&lt;input type="hidden" name="scale" value="noscale"/&gt;
					&lt;input type="hidden" name="salign" value="lt"/&gt;
					&lt;input type="hidden" name="flashvars" value=""/&gt;
				&lt;/h3&gt;
				&lt;p&gt;
					When flash or javascript is unavailable to the browser, the text with the "flashAlternative" class is displayed as an alternative.
				&lt;/p&gt;

				&lt;h2&gt;Sending Commands to a Flash Plugin&lt;/h2&gt;
				&lt;p&gt;
					The second example shows an extra function available to pass parameters to an included flash file.
					The URL of a sound-file is passed to a simple sound player, which loads and plays it at a press of the button.
				&lt;/p&gt;
				&lt;div class="flashTitle version_7" id="soundPlayer"&gt;
					&lt;div class="flashAlternative"&gt;The sound-player example failed to load...&lt;/div&gt;
					&lt;input type="hidden" name="prototype" value="http://www.classbehaviours.com/xml/flashTitle.xml"/&gt;
					&lt;input type="hidden" name="movie" value="http://www.classbehaviours.com/flash/playSound.swf"/&gt;
					&lt;input type="hidden" name="width" value="1"/&gt;
					&lt;input type="hidden" name="height" value="1"/&gt;
				&lt;/div&gt;
				&lt;ul&gt;
					&lt;li&gt;&lt;button onclick="jQuery.classBehaviours.handlers.flashTitle.setFlashVar('soundPlayer','strPlayUrl','http://www.classbehaviours.com/sounds/tone_0.mp3');"&gt;Play "tone_0"&lt;/button&gt;&lt;/li&gt;
					&lt;li&gt;&lt;button onclick="jQuery.classBehaviours.handlers.flashTitle.setFlashVar('soundPlayer','strPlayUrl','http://www.classbehaviours.com/sounds/tone_1.mp3');"&gt;Play "tone_1"&lt;/button&gt;&lt;/li&gt;
					&lt;li&gt;&lt;button onclick="jQuery.classBehaviours.handlers.flashTitle.setFlashVar('soundPlayer','strPlayUrl','http://www.classbehaviours.com/sounds/tone_2.mp3');"&gt;Play "tone_2"&lt;/button&gt;&lt;/li&gt;
					&lt;li&gt;&lt;button onclick="jQuery.classBehaviours.handlers.flashTitle.setFlashVar('soundPlayer','strPlayUrl','http://www.classbehaviours.com/sounds/tone_3.mp3');"&gt;Play "tone_3"&lt;/button&gt;&lt;/li&gt;
				&lt;/ul&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.flashtitle.js">jquery.classbehaviours.flashtitle.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/AC_RunActiveContent.js">AC_RunActiveContent.js</a> (&copy; Adobe)</li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=including-flash-for-titles">flashTitle.html</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/flashTitle.xml">flashTitle.xml</a></li>
					<li>Example Flash: <a class="showSourceCode" href="http://www.classbehaviours.com/flash/flashTitle.fla">flashTitle.fla</a></li>
					<li>Example Flash: <a class="showSourceCode" href="http://www.classbehaviours.com/flash/playSound.fla">playSound.fla</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.flashtitle.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 4 May 2008 17:01:00 +0100</pubDate>
		</item>
		<item>
			<title>tabbedContent: Tabbed Content</title>
			<link>http://www.classbehaviours.com/default.php?id=tabbed-content</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_tabbedContent.png"/&gt;
				&lt;p&gt;
					With a tab-strip one can hide a lot of surplus content without taking it out of reach of the user.
					It is important however to make sure that the invisible tabs are not made inaccessible.
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					This example of a tab-strip degrades gracefully, to a list of anchors, should javascript be unavailable.
					The classbehaviour script hides all but one of the different sections of text and makes the anchor-links fade between them.
				</p>

				<section class="tabbedContent auto_4000">
					<header>
						<menu id="tabs0" class="contentLinks">
							<li><a href="#tab0">Lorem ipsum</a></li>
							<li><a href="#tab1" class="openedTab">Sed ut</a></li>
							<li><a href="#tab2">At vero eos</a></li>
							<li><a href="#tab3">Duis aute irure</a></li>
						</menu>
					</header>
					<article id="tab0">
						<h2>Lorem ipsum</h2>
						<p>
							Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
						</p>
						<p>
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
					</article>
					<article id="tab1" class="openedTab">
						<h2>Sed ut</h2>
						<p>
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam,
							eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
						</p>
						<p>
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
							sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
						<p>
							Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit,
							sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
						</p>
						<p>
							Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
							Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur,
							vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
						</p>
					</article>
					<article id="tab2">
						<h2>At vero eos</h2>
						<p>
							At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores
							et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi,
							id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
						</p>
						<p>
							Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus,
							omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus
						</p>
						<p>
							saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus,
							ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
						</p>
					</article>
					<article id="tab3">
						<h2>Duis aute irure</h2>
						<p>
							Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
							Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur,
							vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
						</p>
						<p>
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
							sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</p>
					</article>
					<footer>
						<menu class="contentPager">
							<li><button class="previousTab">previous</button></li>
							<li><meter>1/3</meter></li>
							<li><button class="nextTab">next</button></li>
							<li><button class="pauseTabs">pause</button></li>
							<li><button class="playTabs">play</button></li>
						</menu>
					</footer>
				</section>

				<p>
					An optional pager is updated at the bottom to leaf through the pages.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.tabbedcontent.js">jquery.classbehaviours.tabbedcontent.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=tabbed-content">tabbedContent.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/tabbedContent.css">tabbedContent.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.tabbedcontent.js"></script>
				<noscript><style>.tabbedContent .contentTab {display : block !important;}</style></noscript>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Fri, 13 Mar 2009 13:54:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/tabbedContent.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>manyToMany: A Many to Many Selector</title>
			<link>http://www.classbehaviours.com/default.php?id=many-to-many</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_manyToMany.png"/&gt;
				&lt;p&gt;
					This construction is used to make and order a selection from a list of options.
					The classnames on the elements indicate what the desired source and destination-lists are.
				&lt;/p&gt;

				~

				&lt;p class="clear"&gt;
					The arrows in this example are used to move elements from one list to the other and to change their order.
					Clicking on the select-elements themselves also moves items from one list to the other.
				&lt;/p&gt;

				&lt;fieldset class="listItemSelect"&gt;
					&lt;select id="frmListItem0" class="manyToMany to_frmListItem1" size="6"&gt;
						&lt;option&gt;1. Lorem ipsum dolor sit amet&lt;/option&gt;
						&lt;option&gt;2. Consectetur adipisicing elit&lt;/option&gt;
						&lt;option&gt;3. Sed do eiusmod tempor&lt;/option&gt;
					&lt;/select&gt;
					&lt;ul class="move"&gt;
						&lt;li&gt;&lt;button class="toRight manyToMany from_frmListItem0 to_frmListItem1"&gt;&lt;img alt="To Right" src="http://www.classbehaviours.com/images/arrow_right.png"/&gt;&lt;/button&gt;&lt;/li&gt;
						&lt;li&gt;&lt;button class="toLeft manyToMany from_frmListItem1 to_frmListItem0"&gt;&lt;img alt="To left" src="http://www.classbehaviours.com/images/arrow_left.png"/&gt;&lt;/button&gt;&lt;/li&gt;
					&lt;/ul&gt;
					&lt;select id="frmListItem1" class="manyToMany to_frmListItem0" size="6"&gt;
						&lt;option&gt;4. Ut enim ad minim veniam&lt;/option&gt;
						&lt;option&gt;5. Quis nostrud exercitation&lt;/option&gt;
						&lt;option&gt;6. Laboris nisi ut aliquip&lt;/option&gt;
					&lt;/select&gt;
					&lt;ul class="order"&gt;
						&lt;li&gt;&lt;button class="orderUp manyToMany up_frmListItem1"&gt;&lt;img alt="Up" src="http://www.classbehaviours.com/images/arrow_up.png"/&gt;&lt;/button&gt;&lt;/li&gt;
						&lt;li&gt;&lt;button class="orderDown manyToMany down_frmListItem1"&gt;&lt;img alt="Down" src="http://www.classbehaviours.com/images/arrow_down.png"/&gt;&lt;/button&gt;&lt;/li&gt;
					&lt;/ul&gt;
				&lt;/fieldset&gt;

				&lt;p&gt;
					The example below merely allows the ordering of a selection, the rest of the elements are simply removed.
				&lt;/p&gt;

				&lt;fieldset class="listItemSelect"&gt;
					&lt;select id="frmListItem3" size="6"&gt;
						&lt;option&gt;1. Lorem ipsum dolor sit amet&lt;/option&gt;
						&lt;option&gt;2. Consectetur adipisicing elit&lt;/option&gt;
						&lt;option&gt;3. Sed do eiusmod tempor&lt;/option&gt;
						&lt;option&gt;4. Ut enim ad minim veniam&lt;/option&gt;
						&lt;option&gt;5. Quis nostrud exercitation&lt;/option&gt;
						&lt;option&gt;6. Laboris nisi ut aliquip&lt;/option&gt;
					&lt;/select&gt;
					&lt;ul class="order"&gt;
						&lt;li&gt;&lt;button class="orderUp manyToMany up_frmListItem3"&gt;&lt;img alt="Up" src="http://www.classbehaviours.com/images/arrow_up.png"/&gt;&lt;/button&gt;&lt;/li&gt;
						&lt;li&gt;&lt;button class="orderDown manyToMany down_frmListItem3"&gt;&lt;img alt="Down" src="http://www.classbehaviours.com/images/arrow_down.png"/&gt;&lt;/button&gt;&lt;/li&gt;
					&lt;/ul&gt;
				&lt;/fieldset&gt;

				&lt;p&gt;
					Because none of the buttons or lists are dependent on each other, any element can be removed to make variations in the functionality.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.manytomany.js">jquery.classbehaviours.manytomany.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=many-to-many">manyToMany.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/manyToMany.css">manyToMany.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.manytomany.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 20 Apr 2008 15:34:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/manyToMany.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>pseudoHover: Folding Menu</title>
			<link>http://www.classbehaviours.com/default.php?id=folding-menu</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_pseudoHover.png"/&gt;
				&lt;p&gt;
					This implementation the folding menu required no javascript at all to work.
					Only Internet Explorer 6 and older require a little help in the form of a single classbehaviour script.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">The Hover Cascade</h2>
				<p>
					The trick behind having this menu operate without any script is the ":hover"-cascade, which in the stylesheet looks something like this:
					<br/>
					<code>
						ul.pseudoHover {}<br/>
						ul.pseudoHover li:hover ul {}<br/>
						ul.pseudoHover li:hover ul li:hover ul {}<br/>
						ul.pseudoHover li:hover ul li:hover ul li:hover ul {}<br/>
					</code>
					By stacking the effects of the "li:hover" pseudo-class, the mouse can remain active over list-items to an unlimited depth.
				</p>

				<h3>Vertical menu</h3>
				<p>
					For the menu every level in the cascade is marked up to be invisible, but visible when the mouse passes over. The result is a folding menu.
				</p>
				<ul class="pseudoHover verticalMenu">
					<li>
						<a href="#1">Lorem Ipsum</a>
						<ul>
							<li>
								<a href="#1" class="hasSubNode">Dolor Sit Amet</a>
								<ul>
									<li><a href="#1">Consectetur</a></li>
									<li><a href="#1">Adipisicing</a></li>
									<li><a href="#1">Elit Sed Do</a></li>
									<li><a href="#1">Ut Enim</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Eiusmod Tempor</a>
								<ul>
									<li><a href="#1">Incididunt Ut</a></li>
									<li><a href="#1">Labore Et</a></li>
									<li><a href="#1">Dolore Magna</a></li>
									<li><a href="#1">Nostrud</a></li>
									<li><a href="#1">Exercitation</a></li>
									<li><a href="#1">Ad Minim</a></li>
									<li><a href="#1">Veniam Quis</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Aliqua</a>
								<ul>
									<li><a href="#1">Ullamco Laboris</a></li>
									<li><a href="#1">Nisi Ut</a></li>
									<li><a href="#1">Aliquip Ex</a></li>
									<li><a href="#1">Ea Commodo</a></li>
									<li><a href="#1">Consequat</a></li>
								</ul>
							</li>
							<li><a href="#1">Duis Aute Irure</a></li>
							<li><a href="#1">Dolor In</a></li>
							<li><a href="#1">Reprehenderit</a></li>
							<li><a href="#1">In Voluptate</a></li>
						</ul>
					</li>
					<li>
						<a href="#1" class="hasSubNode">Dolor Sit Amet</a>
						<ul>
							<li>
								<a href="#1" class="hasSubNode">Consectetur</a>
								<ul>
									<li><a href="#1">Ullamco Laboris</a></li>
									<li><a href="#1">Nisi Ut</a></li>
									<li><a href="#1">Aliquip Ex</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Adipisicing</a>
								<ul>
									<li><a href="#1">Labore Et</a></li>
									<li><a href="#1">Dolore Magna</a></li>
									<li><a href="#1">Nostrud</a></li>
									<li><a href="#1">Exercitation</a></li>
									<li><a href="#1">Ea Commodo</a></li>
									<li><a href="#1">Consequat</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Elit Sed Do</a>
								<ul>
									<li><a href="#1">Duis Aute Irure</a></li>
									<li><a href="#1">Dolor In</a></li>
									<li><a href="#1">Reprehenderit</a></li>
									<li><a href="#1">In Voluptate</a></li>
									<li><a href="#1">Incididunt Ut</a></li>
								</ul>
							</li>
							<li><a href="#1">Ut Enim</a></li>
							<li><a href="#1">Ad Minim</a></li>
							<li><a href="#1">Veniam Quis</a></li>
						</ul>
					</li>
					<li>
						<a href="#1" class="hasSubNode">Eiusmod Tempor</a>
						<ul>
							<li>
								<a href="#1" class="hasSubNode">Incididunt Ut</a>
								<ul>
									<li><a href="#1">Ullamco Laboris</a></li>
									<li><a href="#1">Nisi Ut</a></li>
									<li><a href="#1">Aliquip Ex</a></li>
									<li><a href="#1">Ea Commodo</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Labore Et</a>
								<ul>
									<li><a href="#1">Incididunt Ut</a></li>
									<li><a href="#1">Labore Et</a></li>
									<li><a href="#1">Dolore Magna</a></li>
									<li><a href="#1">Nostrud</a></li>
									<li><a href="#1">Exercitation</a></li>
									<li><a href="#1">Consequat</a></li>
								</ul>
							</li>
							<li><a href="#1">Dolore Magna</a></li>
							<li><a href="#1">Nostrud</a></li>
							<li><a href="#1">Exercitation</a></li>
						</ul>
					</li>
					<li>
						<a href="#1" class="hasSubNode">Aliqua</a>
						<ul>
							<li>
								<a href="#1" class="hasSubNode">Ullamco Laboris</a>
								<ul>
									<li><a href="#1">Incididunt Ut</a></li>
									<li><a href="#1">Labore Et</a></li>
									<li><a href="#1">Dolore Magna</a></li>
									<li><a href="#1">Nostrud</a></li>
									<li><a href="#1">Exercitation</a></li>
									<li><a href="#1">Ullamco Laboris</a></li>
									<li><a href="#1">Nisi Ut</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Nisi Ut</a>
								<ul>
									<li><a href="#1">Aliquip Ex</a></li>
									<li><a href="#1">Ea Commodo</a></li>
									<li><a href="#1">Consequat</a></li>
								</ul>
							</li>
							<li><a href="#1">Aliquip Ex</a></li>
							<li><a href="#1">Ea Commodo</a></li>
							<li><a href="#1">Consequat</a></li>
						</ul>
					</li>
				</ul>
				<p>
					For any modern browser except Internet Explorer 6, no javascript is needed. The full functionality is contained in the stylesheet.
					For Internet Explorer another version of the stylesheet is included that compensates for the loss of the ":hover" functionality
					by using the class ".hover" and some javascript functions from "classbehaviours.js".
				</p>

				<h3>Horizontal menu</h3>
				<p>
					With a slight modification to the stylesheet the menu can be arranged in a horizontal layout.
				</p>
				<ul class="pseudoHover horizontalMenu">
					<li>
						<a href="#1">Lorem Ipsum</a>
						<ul>
							<li>
								<a href="#1" class="hasSubNode">Dolor Sit Amet</a>
								<ul>
									<li><a href="#1">Consectetur</a></li>
									<li><a href="#1">Adipisicing</a></li>
									<li><a href="#1">Elit Sed Do</a></li>
									<li><a href="#1">Ut Enim</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Eiusmod Tempor</a>
								<ul>
									<li><a href="#1">Incididunt Ut</a></li>
									<li><a href="#1">Labore Et</a></li>
									<li><a href="#1">Dolore Magna</a></li>
									<li><a href="#1">Nostrud</a></li>
									<li><a href="#1">Exercitation</a></li>
									<li><a href="#1">Ad Minim</a></li>
									<li><a href="#1">Veniam Quis</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Aliqua</a>
								<ul>
									<li><a href="#1">Ullamco Laboris</a></li>
									<li><a href="#1">Nisi Ut</a></li>
									<li><a href="#1">Aliquip Ex</a></li>
									<li><a href="#1">Ea Commodo</a></li>
									<li><a href="#1">Consequat</a></li>
								</ul>
							</li>
							<li><a href="#1">Duis Aute Irure</a></li>
							<li><a href="#1">Dolor In</a></li>
							<li><a href="#1">Reprehenderit</a></li>
							<li><a href="#1">In Voluptate</a></li>
						</ul>
					</li>
					<li>
						<a href="#1" class="hasSubNode">Dolor Sit Amet</a>
						<ul>
							<li>
								<a href="#1" class="hasSubNode">Consectetur</a>
								<ul>
									<li><a href="#1">Ullamco Laboris</a></li>
									<li><a href="#1">Nisi Ut</a></li>
									<li><a href="#1">Aliquip Ex</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Adipisicing</a>
								<ul>
									<li><a href="#1">Labore Et</a></li>
									<li><a href="#1">Dolore Magna</a></li>
									<li><a href="#1">Nostrud</a></li>
									<li><a href="#1">Exercitation</a></li>
									<li><a href="#1">Ea Commodo</a></li>
									<li><a href="#1">Consequat</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Elit Sed Do</a>
								<ul>
									<li><a href="#1">Duis Aute Irure</a></li>
									<li><a href="#1">Dolor In</a></li>
									<li><a href="#1">Reprehenderit</a></li>
									<li><a href="#1">In Voluptate</a></li>
									<li><a href="#1">Incididunt Ut</a></li>
								</ul>
							</li>
							<li><a href="#1">Ut Enim</a></li>
							<li><a href="#1">Ad Minim</a></li>
							<li><a href="#1">Veniam Quis</a></li>
						</ul>
					</li>
					<li>
						<a href="#1" class="hasSubNode">Eiusmod Tempor</a>
						<ul>
							<li>
								<a href="#1" class="hasSubNode">Incididunt Ut</a>
								<ul>
									<li><a href="#1">Ullamco Laboris</a></li>
									<li><a href="#1">Nisi Ut</a></li>
									<li><a href="#1">Aliquip Ex</a></li>
									<li><a href="#1">Ea Commodo</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Labore Et</a>
								<ul>
									<li><a href="#1">Incididunt Ut</a></li>
									<li><a href="#1">Labore Et</a></li>
									<li><a href="#1">Dolore Magna</a></li>
									<li><a href="#1">Nostrud</a></li>
									<li><a href="#1">Exercitation</a></li>
									<li><a href="#1">Consequat</a></li>
								</ul>
							</li>
							<li><a href="#1">Dolore Magna</a></li>
							<li><a href="#1">Nostrud</a></li>
							<li><a href="#1">Exercitation</a></li>
						</ul>
					</li>
					<li>
						<a href="#1" class="hasSubNode">Aliqua</a>
						<ul>
							<li>
								<a href="#1" class="hasSubNode">Ullamco Laboris</a>
								<ul>
									<li><a href="#1">Incididunt Ut</a></li>
									<li><a href="#1">Labore Et</a></li>
									<li><a href="#1">Dolore Magna</a></li>
									<li><a href="#1">Nostrud</a></li>
									<li><a href="#1">Exercitation</a></li>
									<li><a href="#1">Ullamco Laboris</a></li>
									<li><a href="#1">Nisi Ut</a></li>
								</ul>
							</li>
							<li>
								<a href="#1" class="hasSubNode">Nisi Ut</a>
								<ul>
									<li><a href="#1">Aliquip Ex</a></li>
									<li><a href="#1">Ea Commodo</a></li>
									<li><a href="#1">Consequat</a></li>
								</ul>
							</li>
							<li><a href="#1">Aliquip Ex</a></li>
							<li><a href="#1">Ea Commodo</a></li>
							<li><a href="#1">Consequat</a></li>
						</ul>
					</li>
				</ul>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.pseudohover.js">jquery.classbehaviours.pseudohover.js (only for MSIE 6)</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js (only for MSIE 6)</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=folding-menu">pseudoHover.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/pseudoHover.css">pseudoHover.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.pseudohover.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Wed, 18 Mar 2009 17:34:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/pseudoHover.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>richTextEditor: Rich Text-Editor</title>
			<link>http://www.classbehaviours.com/default.php?id=rich-text-editor</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_richTextEditor.png"/&gt;
				&lt;p&gt;
					Most browsers have some sort of WYSIWYG (what you see is what you get) text editing function.
					Sadly, not all browsers implement this in the same manner.
					This classbehaviour function allows any textarea to be turned into a "rich" text-editor with a single classname.
				&lt;/p&gt;

				~

				&lt;h2&gt;The scripted version a normal textarea&lt;/h2&gt;
				&lt;p&gt;
					When the "richTextEditor" classname is added to this textarea, the WYSIWG functions are turned on and a bank of buttons is imported from an external XML file.
					To work in Gecko based browsers, like Firefox, the editable area needs to be an iframe, so this is imported as well and takes the place of the textarea.
					The contents are constantly synchronized between the iframe and the texteditor so the submitted page will contain the edited text in a form element.
				&lt;/p&gt;
				&lt;div&gt;
					Two extra functions were added to allow for easier editing:
					&lt;ul&gt;
						&lt;li&gt;
							&lt;img alt="Text-mode" src="http://www.classbehaviours.com/images/cmd_toggleText_link.png"/&gt;
							The "Text-mode" button switches the WYSIWG editor on and off and allows for manual editing of the generated HTML markup.
						&lt;/li&gt;
						&lt;li&gt;
							&lt;img alt="Resize" src="http://www.classbehaviours.com/images/cmd_bigger_link.png"/&gt;
							The "Resize" button lets the editor grow larger to give more room to work in.
						&lt;/li&gt;
					&lt;/ul&gt;
				&lt;/div&gt;
				&lt;fieldset class="richTextEditor"&gt;
					&lt;input type="hidden" value="http://www.classbehaviours.com/xml/richTextEditor.xml"/&gt;
					&lt;textarea cols="64" rows="12"&gt;
&amp;lt;h1&amp;gt;Lorem ipsum dolor sit amet&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;
	Lorem ipsum dolor sit amet, &amp;lt;strong&amp;gt;consectetur adipisicing elit&amp;lt;/strong&amp;gt;, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
	Ut enim ad minim veniam, &amp;lt;a href="#1"&amp;gt;quis nostrud exercitation&amp;lt;/a&amp;gt; ullamco laboris nisi ut aliquip ex ea commodo consequat.
	Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
	Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
&amp;lt;/p&amp;gt;
&amp;lt;h2&amp;gt;Lorem ipsum dolor sit amet&amp;lt;/h2&amp;gt;
&amp;lt;p&amp;gt;
	Lorem ipsum dolor sit amet, &amp;lt;strong&amp;gt;consectetur adipisicing elit&amp;lt;/strong&amp;gt;, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
	Ut enim ad minim veniam, &amp;lt;a href="#1"&amp;gt;quis nostrud exercitation&amp;lt;/a&amp;gt; ullamco laboris nisi ut aliquip ex ea commodo consequat.
	Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
	Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
&amp;lt;/p&amp;gt;
&amp;lt;h3&amp;gt;Lorem ipsum dolor sit amet&amp;lt;/h3&amp;gt;
&amp;lt;ul&amp;gt;
	&amp;lt;li&amp;gt;Duis aute irure dolor&amp;lt;/li&amp;gt;
	&amp;lt;li&amp;gt;In reprehenderit in voluptate&amp;lt;/li&amp;gt;
	&amp;lt;li&amp;gt;Velit esse cillum dolore eu&amp;lt;/li&amp;gt;
	&amp;lt;li&amp;gt;Fugiat nulla&amp;lt;/li&amp;gt;
	&amp;lt;li&amp;gt;Pariatur&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
&amp;lt;p&amp;gt;
	Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
&amp;lt;/p&amp;gt;
					&lt;/textarea&gt;
				&lt;/fieldset&gt;
				&lt;p&gt;
					Not all functions seem to work as well in all browsers and by no means is this implementation complete yet, but there is enough functionality to offer a useful text-editor.
				&lt;/p&gt;

			<![CDATA[

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.richtexteditor.js">jquery.classbehaviours.richtexteditor.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.togglenextnode.js">jquery.classbehaviours.togglenextnode.js</a></li>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=rich-text-editor">richTextEditor.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/richTextEditor.css">richTextEditor.css</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/richTextEditor.xml">richTextEditor.xml</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.richtexteditor.js"></script>

			]]>


			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Sun, 13 Apr 2008 18:30:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/richTextEditor.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>datePicker: Picking a Calendar Date</title>
			<link>http://www.classbehaviours.com/default.php?id=date_picker</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_datePicker.png"/&gt;
				&lt;p&gt;
					Filling in a date in a form can go wrong in many different ways:
					Days and months, dashes and slashes get switched around according to local conventions.
					Sometimes it all goes in one box. Sometimes it's split up.
				&lt;/p&gt;
				&lt;p&gt;
					A little popup calendar like the one demonstrated here makes things a lot easier and it doesn't interfere with the normal way of using the text-boxes.
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					The markup for the calendar pop-up is kept in an external xml file to keep the code from getting cluttered with many instances of the calendar markup.
				</p>

				<form action="#" class="clear" method="get">
					<fieldset class="border validateForm">
						<table>
							<tbody>
								<tr class="odd">
									<th><label for="frmDay3">Date:</label></th>
									<td>
										<!-- datePicker -->
										<div class="dateTime">
											<select class="day" id="frmDay3" name="frmDay3">
												<option>--</option>
												<option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option>
												<option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option><option>17</option><option>18</option><option>19</option><option>20</option>
												<option>21</option><option>22</option><option>23</option><option>24</option><option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option>
												<option>31</option>
											</select>
											<select class="month" id="frmMonth3" name="frmMonth3">
												<option>--</option>
												<option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option>
												<option>11</option><option>12</option>
											</select>
											<select class="year" id="frmYear3" name="frmYear3">
												<option>----</option>
												<option>1900</option><option>1901</option><option>1902</option><option>1903</option><option>1904</option><option>1905</option><option>1906</option><option>1907</option><option>1908</option><option>1909</option>
												<option>1910</option><option>1911</option><option>1912</option><option>1913</option><option>1914</option><option>1915</option><option>1916</option><option>1917</option><option>1918</option><option>1919</option>
												<option>1920</option><option>1921</option><option>1922</option><option>1923</option><option>1924</option><option>1925</option><option>1926</option><option>1927</option><option>1928</option><option>1929</option>
												<option>1930</option><option>1931</option><option>1932</option><option>1933</option><option>1934</option><option>1935</option><option>1936</option><option>1937</option><option>1938</option><option>1939</option>
												<option>1940</option><option>1941</option><option>1942</option><option>1943</option><option>1944</option><option>1945</option><option>1946</option><option>1947</option><option>1948</option><option>1949</option>
												<option>1950</option><option>1951</option><option>1952</option><option>1953</option><option>1954</option><option>1955</option><option>1956</option><option>1957</option><option>1958</option><option>1959</option>
												<option>1960</option><option>1961</option><option>1962</option><option>1963</option><option>1964</option><option>1965</option><option>1966</option><option>1967</option><option>1968</option><option>1969</option>
												<option>1970</option><option>1971</option><option>1972</option><option>1973</option><option>1974</option><option>1975</option><option>1976</option><option>1977</option><option>1978</option><option>1979</option>
												<option>1980</option><option>1981</option><option>1982</option><option>1983</option><option>1984</option><option>1985</option><option>1986</option><option>1987</option><option>1988</option><option>1989</option>
												<option>1990</option><option>1991</option><option>1992</option><option>1993</option><option>1994</option><option>1995</option><option>1996</option><option>1997</option><option>1998</option><option>1999</option>
												<option>2000</option><option>2001</option><option>2002</option><option>2003</option><option>2004</option><option>2005</option><option>2006</option><option>2007</option><option>2008</option><option>2009</option>
												<option>2010</option><option>2011</option><option>2012</option><option>2013</option><option>2014</option><option>2015</option><option>2016</option><option>2017</option><option>2018</option><option>2019</option>
											</select>
											<button class="datePicker"><img alt="Pick a date" src="./images/cmd_date_hover.png"/></button>
											<div class="hideThisNode dateCalendar"><input type="hidden" value="http://www.classbehaviours.com/xml/datePicker.xml"/></div>
										</div>
										<!-- /datePicker -->
									</td>
								</tr>
								<tr>
									<th><label for="frmDay2">Date:</label></th>
									<td>
										<!-- datePicker -->
										<div class="dateTime">
											<input type="text" class="text day inputFormat" id="frmDay" title="dd" value=""/>
											<input type="text" class="text month inputFormat" id="frmMonth" title="mm" value=""/>
											<input type="text" class="text year inputFormat" id="frmYear" title="yyyy" value=""/>
											<button class="datePicker"><img alt="Pick a date" src="./images/cmd_date_hover.png"/></button>
											<div class="hideThisNode dateCalendar"><input type="hidden" value="http://www.classbehaviours.com/xml/datePicker.xml"/></div>
										</div>
										<!-- /datePicker -->
									</td>
								</tr>
								<tr class="odd">
									<th><label for="frmDay1">Date:</label></th>
									<td>
										<!-- datePicker -->
										<div class="dateTime">
											<input type="text" class="text date inputFormat" id="frmYear2" title="dd-mm-yyyy" value=""/>
											<button class="datePicker"><img alt="Pick a date" src="./images/cmd_date_hover.png"/></button>
											<div class="hideThisNode dateCalendar"><input type="hidden" value="http://www.classbehaviours.com/xml/datePicker.xml"/></div>
										</div>
										<!-- /datePicker -->
									</td>
								</tr>
							</tbody>
						</table>
					</fieldset>
				</form>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.datepicker.js">jquery.classbehaviours.datepicker.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.togglenextnode.js">jquery.classbehaviours.togglenextnode.js</a></li>
							<li>Optional Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.inputformat.js">jquery.classbehaviours.inputformat.js</a></li>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=date_picker">datePicker.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/toggleNextNode.css">datePicker.css</a></li>
					<li>Example XML: <a class="showSourceCode" href="http://www.classbehaviours.com/xml/datePicker.xml">datePicker.xml</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.datepicker.js"></script>
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.inputformat.js"></script>
				<link rel="stylesheet" href="http://www.classbehaviours.com/styles/validateForm.css" type="text/css" media="all" />

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Wed, 18 Feb 2009 15:35:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/datePicker.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>toggleNextNode: Opening and Closing Things</title>
			<link>http://www.classbehaviours.com/default.php?id=toggle-next-node</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_toggleNextNode.png"/&gt;
				&lt;p&gt;
					These examples illustrate how one can make layout elements that open and close, without having blocks of script inline.
					Instead, classnames are used to give the elements their scripted behaviour.
				&lt;/p&gt;
				&lt;p&gt;
					The simplicity of this method allows many different user-interface elements to be constructed. Several examples are worked-out in detail below.
				&lt;/p&gt;

				~

			<![CDATA[

				<h2 class="clear">Making an adjacent object disappear and re-appear</h2>

				<h3>Adjacent objects</h3>
				<p>
					Clicking on the link will
					<a href="http://www.classbehaviours.com/images/captcha_0.png" class="toggleNextNode">make an image disappear and re-appear</a>
					<img alt="Bunny" src="http://www.classbehaviours.com/images/captcha_0.png"/>.
				</p>

				<h3>Unrelated objects</h3>
				<p>
					Clicking this link will
					<a href="http://www.classbehaviours.com/images/captcha_0.png" class="toggleNextNode id_myImage">make an image disappear and re-appear</a>
					that is not adjacent to it.
					<img id="myImage" alt="Bunny" src="http://www.classbehaviours.com/images/captcha_0.png"/>
				</p>

				<h2>The Harmonica List</h2>

				<h3>Revealing a single description in a list</h3>
				<p>
					Clicking on the titles will reveal or hide one of the hidden descriptions.
				</p>
				<dl class="harmonicaList">
					<dt class="toggleNextNode family_myName active">Lorem ipsum dolor sit amet</dt>
					<dd class="showThisNode">
						<div class="border">
							Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
							Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
						</div>
					</dd>
					<dt class="toggleNextNode family_myName link">Ut enim ad minim veniam</dt>
					<dd class="hideThisNode">
						<div class="border">
							Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
							Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
							Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
						</div>
					</dd>
					<dt class="toggleNextNode family_myName link">Duis aute irure dolor</dt>
					<dd class="hideThisNode">
						<div class="border">
							Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
							Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
							Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
						</div>
					</dd>
					<dt class="toggleNextNode family_myName link">Excepteur sint occaecat</dt>
					<dd class="hideThisNode">
						<div class="border">
							At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
							Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
							Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
						</div>
					</dd>
				</dl>

				<h2>Folding menu</h2>
				<p>
					Here a simple folding menu was constructed that extends on over the rest of the page.
				</p>
				<menu class="foldingMenu" type="toolbar">
					<li>
						<a href="#1" class="toggleNextNode family_recursion0 link">Lorem ipsum</a>
						<ul class="hideThisNode">
							<li>
								<a href="#1">Sed do eiusmod</a>
							</li>
							<li>
								<a href="#2">Tempor incididunt</a>
							</li>
							<li>
								<a href="#3">Ut labore et</a>
							</li>
						</ul>
					</li>
					<li>
						<a href="#2" class="toggleNextNode family_recursion0 link">Dolor sit amet</a>
						<ul class="hideThisNode">
							<li>
								<a href="#1">Sed do eiusmod</a>
							</li>
							<li>
								<a href="#2">Tempor incididunt</a>
							</li>
							<li>
								<a href="#3">Ut labore et</a>
							</li>
						</ul>
					</li>
					<li>
						<a href="#3" class="toggleNextNode family_recursion0 link">Consectetur</a>
						<ul class="hideThisNode">
							<li>
								<a href="#1">Sed do eiusmod</a>
							</li>
							<li>
								<a href="#2">Tempor incididunt</a>
							</li>
							<li>
								<a href="#3">Ut labore et</a>
							</li>
						</ul>
					</li>
				</menu>

				<h2>Explorer Tree</h2>
				<p>
					The arrows control the folding action of the tree below.
				</p>
				<menu class="explorerTree" type="list">
					<li>
						<button class="toggleNextNode id_tree0 link"><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
						<a href="#1">Lorem ipsum</a>
						<ul id="tree0" class="hideThisNode">
							<li>
								<button class="toggleNextNode id_tree1 link"><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#1">Sed do eiusmod</a>
								<ul id="tree1" class="hideThisNode">
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#1">Dolore magna aliqua</a>
									</li>
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#2">Ut enim ad minim</a>
									</li>
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#3">Veniam quis</a>
									</li>
								</ul>
							</li>
							<li>
								<button class="toggleNextNode id_tree2 link"><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#2">Tempor incididunt</a>
								<ul id="tree2" class="hideThisNode">
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#1">Dolore magna aliqua</a>
									</li>
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#2">Ut enim ad minim</a>
									</li>
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#3">Veniam quis</a>
									</li>
								</ul>
							</li>
							<li>
								<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#3">Ut labore et</a>
							</li>
						</ul>
					</li>
					<li>
						<button class="toggleNextNode id_tree3 link"><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
						<a href="#2">Dolor sit amet</a>
						<ul id="tree3" class="hideThisNode">
							<li>
								<button class="toggleNextNode id_tree4 link"><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#1">Sed do eiusmod</a>
								<ul id="tree4" class="hideThisNode">
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#1">Dolore magna aliqua</a>
									</li>
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#2">Ut enim ad minim</a>
									</li>
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#3">Veniam quis</a>
									</li>
								</ul>
							</li>
							<li>
								<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#2">Tempor incididunt</a>
							</li>
							<li>
								<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#3">Ut labore et</a>
							</li>
						</ul>
					</li>
					<li>
						<button class="toggleNextNode id_tree5 link"><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
						<a href="#3">Consectetur adipisicing</a>
						<ul id="tree5" class="hideThisNode">
							<li>
								<button class="toggleNextNode id_tree6 link"><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#1">Sed do eiusmod</a>
								<ul id="tree6" class="hideThisNode">
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#1">Dolore magna aliqua</a>
									</li>
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#2">Ut enim ad minim</a>
									</li>
									<li>
										<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
										<a href="#3">Veniam quis</a>
									</li>
								</ul>
							</li>
							<li>
								<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#2">Tempor incididunt</a>
							</li>
							<li>
								<button><img alt="" src="http://www.classbehaviours.com/images/tree_empty.png"/></button>
								<a href="#3">Ut labore et</a>
							</li>
						</ul>
					</li>
				</menu>

				<h2>Help Bubbles in a Form</h2>
				<p>
					Tabbing or clicking through the fields will toggle helpful explanations next to the fields.
				</p>
				<style>
					@import url(./styles/validateForm.css);
				</style>
				<fieldset class="validateForm" style="width:50em; position:relative;">
					<table>
						<tfoot>
							<tr>
								<th>* required fields</th>
								<td>
									<span class="overlapButton animatedClassName focus_0,4,4 blur_5,9,9"><span class="overlap"><input class="button" type="submit" value="Zoeken"/></span></span>
								</td>
							</tr>
						</tfoot>
						<tbody>
							<tr class="odd" id="frmRow1">
								<th><label for="frmTestValue2a">Dolor sit amet<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation0a">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
									</article>
									<article class="explanation hideThisNode" id="explanation0b">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
									</article>
									<input class="radio toggleNextNode id_explanation0a family_explanations" id="frmTestValue2a" name="frmTestValue2" type="radio" value="0"/>
									<label for="frmTestValue2a">Dolor</label>
									<input class="radio toggleNextNode id_explanation0b family_explanations" id="frmTestValue2b" name="frmTestValue2" type="radio" value="0"/>
									<label for="frmTestValue2b">Sit Amet</label>
								</td>
							</tr>
							<tr class="even" id="frmRow1a">
								<th><label for="frmTestValue2c">Dolor sit amet<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation1">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
									</article>
									<ul>
										<li>
											<input class="radio toggleNextNode id_explanation1 family_explanations" id="frmTestValue2c" name="frmTestValue2" type="radio" value="0"/>
											<label for="frmTestValue2c">Dolor</label>
										</li>
										<li>
											<input class="radio toggleNextNode id_explanation1 family_explanations" id="frmTestValue2d" name="frmTestValue2" type="radio" value="0"/>
											<label for="frmTestValue2d">Sit Amet</label>
										</li>
									</ul>
								</td>
							</tr>
							<tr class="odd" id="frmRow0">
								<th><label for="frmTestValue1a">Lorem ipsum<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation2">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
									</article>
									<input class="text full toggleNextNode id_explanation2 family_explanations" id="frmTestValue1a" name="frmTestValue1a" type="text"/>
								</td>
							</tr>
							<tr class="even" id="frmRow0a">
								<th><label for="frmTestValue1b">Lorem ipsum<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation3a">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
									</article>
									<article class="explanation hideThisNode" id="explanation3b">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
									</article>
									<input class="text medium left toggleNextNode id_explanation3a family_explanations" id="frmTestValue1b" name="frmTestValue1b" type="text"/>
									<input class="text medium right toggleNextNode id_explanation3b family_explanations" id="frmTestValue1c" name="frmTestValue1c" type="text"/>
								</td>
							</tr>
							<tr class="odd" id="frmRow0b">
								<th><label for="frmTestValue1d">Lorem ipsum<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation4a">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
									</article>
									<article class="explanation hideThisNode" id="explanation4b">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
									</article>
									<input class="text small left toggleNextNode id_explanation4a family_explanations" id="frmTestValue1d" name="frmTestValue1d" type="text"/>
									<input class="text large right toggleNextNode id_explanation4b family_explanations" id="frmTestValue1e" name="frmTestValue1e" type="text"/>
								</td>
							</tr>
							<tr class="even" id="frmRow2">
								<th><label for="frmTestValue3">Consectetur<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation5">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
									</article>
									<select class="full toggleNextNode id_explanation5 family_explanations" id="frmTestValue3" name="frmTestValue3">
										<option>Lorem ipsum</option>
										<option>Dolor</option>
										<option>Sit Amet</option>
									</select>
								</td>
							</tr>
							<tr class="odd" id="frmRow2a">
								<th><label for="frmTestValue3a">Consectetur<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation6a">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
									</article>
									<article class="explanation hideThisNode" id="explanation6b">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
									</article>
									<article class="explanation hideThisNode" id="explanation6c">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
									</article>
									<select class="small left toggleNextNode id_explanation6a family_explanations" id="frmTestValue3a" name="frmTestValue3a">
										<option>Lorem ipsum</option>
										<option>Dolor</option>
										<option>Sit Amet</option>
									</select>
									<select class="medium center toggleNextNode id_explanation6b family_explanations" id="frmTestValue3b" name="frmTestValue3b">
										<option>Lorem ipsum</option>
										<option>Dolor</option>
										<option>Sit Amet</option>
									</select>
									<select class="small right toggleNextNode id_explanation6c family_explanations" id="frmTestValue3c" name="frmTestValue3c">
										<option>Lorem ipsum</option>
										<option>Dolor</option>
										<option>Sit Amet</option>
									</select>
								</td>
							</tr>
							<tr class="even" id="frmRow3">
								<th><label for="frmTestValue4">Adipisicing<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation7">
										<img alt="" src="./images/valueSliderPointer.png"/>
										At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
									</article>
									<textarea class="full toggleNextNode id_explanation7 family_explanations" cols="32" id="frmTestValue4" name="frmTestValue4" rows="8"> </textarea>
								</td>
							</tr>
							<tr class="odd" id="frmRow4">
								<th><label for="frmTestValue5">Elit sed do<em>*</em></label></th>
								<td>
									<article class="explanation hideThisNode" id="explanation8">
										<img alt="" src="./images/valueSliderPointer.png"/>
										Et harum quidem rerum facilis est et expedita distinctio.
									</article>
									<input class="checkbox toggleNextNode id_explanation8 family_explanations" id="frmTestValue5" name="frmTestValue5" type="checkbox"/>
									<label for="frmTestValue1a">Dolor</label>
								</td>
							</tr>
						</tbody>
					</table>
				</fieldset>
				<p>
					The individual explanations are stored near the field and toggled on and off as required.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.togglenextnode.js">jquery.classbehaviours.togglenextnode.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/webservices/showSourceCode.php?id=toggle-next-node">toggleNextNode.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/toggleNextNode.css">toggleNextNode.css</a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,classbehaviour,</category>
			<pubDate>Tue, 3 Feb 2009 16:52:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/toggleNextNode.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>spriteCanvas: A Canvas Based Sprites Display</title>
			<link>http://www.classbehaviours.com/default.php?id=a-canvas-based-sprites-display&amp;cat=experimental</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_testCanvas.png"/&gt;
				&lt;p&gt;
					Lorem ipsum dolor sit amet.
				&lt;/p&gt;

				~

			<![CDATA[

				<p class="clear">
					Lorem ipsum dolor sit amet.
				</p>
				<canvas class="spriteCanvas" height="300" width="400"></canvas>
				<p>
					Lorem ipsum dolor sit amet.
				</p>

				<h2>Required Files</h2>
				<ul>
					<li>
						jQuery Addon Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.spritecanvas.js">jquery.classbehaviours.spritecanvas.js</a>
						<ul>
							<li>Prerequisite Script: <a class="showSourceCode" href="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js">jquery.classbehaviours.js</a></li>
						</ul>
					</li>
					<li>Example Markup: <a class="showSourceCode" href="http://www.classbehaviours.com/default.php?id=a-canvas-based-sprites-display&amp;cat=experimental">spriteCanvas.html</a></li>
					<li>Example Stylesheet: <a class="showSourceCode" href="http://www.classbehaviours.com/styles/spriteCanvas.css">spriteCanvas.css</a></li>
				</ul>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.spritecanvas.js"></script>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,experimental,</category>
			<pubDate>Thu, 25 Mar 2010 08:41:00 +0100</pubDate>
			<enclosure url="http://www.classbehaviours.com/styles/spriteCanvas.css" length="4096" type="text/css" />
		</item>
		<item>
			<title>Introduction</title>
			<link>http://www.classbehaviours.com/default.php?id=classbehaviour-introduction&amp;mod=meta</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_classBehaviour.png"/&gt;
				&lt;p&gt;
					Inline javascripts tend to be hard to maintain in the clutter of code that forms when web-developers and web-designers have to work in the same documents.
				&lt;/p&gt;
				&lt;p&gt;
					The classBehaviour script was written in an effort to separate the markup of a page from the scripting and thus eliminate inline scripting altogether.
				&lt;/p&gt;
				&lt;p&gt;
					&lt;strong&gt;ClassBehaviour effects can be implemented without writing a single line of code.&lt;/strong&gt;
				&lt;/p&gt;

				~

				&lt;h2 class="clear"&gt;The Idea Behind It&lt;/h2&gt;
				&lt;p&gt;
					ClassBehaviour is my method for the rapid development of accessible yet dynamic browser-based user-interfaces.
				&lt;/p&gt;

				&lt;h3&gt;Not a Framework&lt;/h3&gt;
				&lt;p&gt;
					ClassBehaviour is <strong>not</strong> yet another javascript framework.
					I abhor the needless flood of "frameworks" trying to make javascript "easier" by adding another layer of abstraction.
					Instead, what I call, "classbehaviours" are simple scripts which are easily applied through the class-names in an HTML document.
				&lt;/p&gt;

				&lt;h2&gt;What It Does&lt;/h2&gt;
				&lt;p&gt;
					To apply event-handlers to html-elements, classnames are used.
					The classBehaviour script will scan every html-element in the page for certain keywords in the classnames and apply event-handlers accordingly.
					The "classbehaviours.js" contains the main parsing section of the script, while the "classBehaviours.js" contains all the seperate behaviours required on the page.
					These seperate functions can be removed and added freely to avoid the lengthy download of the complete collection.
				&lt;/p&gt;
				&lt;p&gt;
					The example below explains how a simple dhtml effect would be implemented:
				&lt;/p&gt;
				&lt;p&gt;
					There are &lt;span class="blink"&gt;blinking&lt;/span&gt; &lt;span class="blink jiffy_2"&gt;words&lt;/span&gt; in this sentence.
				&lt;/p&gt;
				&lt;p&gt;
					&lt;textarea class="sourceCode" cols="24" rows="15"&gt;
&amp;lt;html&amp;gt;
   &amp;lt;head&amp;gt;
      &amp;lt;title&amp;gt;Blink Example&amp;lt;/title&amp;gt;
   &amp;lt;/head&amp;gt;
   &amp;lt;body&amp;gt;
      &amp;lt;p&amp;gt;
         There are &lt;span class="blink"&gt;blinking&lt;/span&gt; &lt;span class="blink jiffy_2"&gt;words&lt;/span&gt; in this sentence.
      &amp;lt;/p&amp;gt;
      &amp;lt;script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.js"&amp;gt;&amp;lt;/script&amp;gt;
      &amp;lt;script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js"&amp;gt;&amp;lt;/script&amp;gt;
      &amp;lt;script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.blink.js"&amp;gt;&amp;lt;/script&amp;gt;
   &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
					&lt;/textarea&gt;
				&lt;/p&gt;
				&lt;p&gt;
					The script works best if it doesn't have to wait for the whole document including all graphics and plugins to be loaded.
					Therefor the optimal place is near the bottom of the documents with the "classbehaviours.js" preceding "classbehaviours.js".
				&lt;/p&gt;
				&lt;p&gt;
					The example below is also a valid way to include the scripts, however the parser will rely on the "onload" event to start the effects.
					This may introduce a noticeable delay in pages rich in media.
				&lt;/p&gt;
				&lt;p&gt;
					&lt;textarea class="sourceCode" cols="24" rows="15"&gt;
&amp;lt;html&amp;gt;
   &amp;lt;head&amp;gt;
      &amp;lt;title&amp;gt;Blink Example&amp;lt;/title&amp;gt;
      &amp;lt;script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.js"&amp;gt;&amp;lt;/script&amp;gt;
      &amp;lt;script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.js"&amp;gt;&amp;lt;/script&amp;gt;
      &amp;lt;script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.blink.js"&amp;gt;&amp;lt;/script&amp;gt;
   &amp;lt;/head&amp;gt;
   &amp;lt;body&amp;gt;
      &amp;lt;p&amp;gt;
         There are &lt;span class="blink"&gt;blinking&lt;/span&gt; &lt;span class="blink jiffy_2"&gt;words&lt;/span&gt; in this sentence.
      &amp;lt;/p&amp;gt;
   &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
					&lt;/textarea&gt;
				&lt;/p&gt;

				&lt;h2&gt;How It Works&lt;/h2&gt;
				&lt;p&gt;
					Inside the classBehaviour include the following function scans all the tags for keywords.
				&lt;/p&gt;
				&lt;p&gt;
					&lt;textarea class="sourceCode" cols="24" rows="19"&gt;
// scan the document object model for target classNames
parseNode: function(node)
{
   // for all childnodes of the given node
   var allNodes = node.getElementsByTagName("*");
   for(var a=0; a&lt;allNodes.length; a++){
      // get its className
      nodeClass = ' ' + allNodes[a].className + ' ';
      // if this node has a className
      if(nodeClass!=null)
         // for all class behaviours
         for (b in jQuery.classBehaviours.handlers)
            // if the behaviour name is in the className tested node
            if(nodeClass.indexOf(' ' + jQuery.classBehaviours.handlers[b].name + ' ')&gt;-1)
               // apply its respective behaviour
               jQuery.classBehaviours.handlers[b].start(allNodes[a]);
   }
}
					&lt;/textarea&gt;
				&lt;/p&gt;
				&lt;p&gt;
	 				In this case it applies the "blink" function to tag it finds.
	 				This function alternates the element between two classnames defined in the stylesheet to make it blink.
				&lt;/p&gt;
				&lt;p&gt;
					&lt;textarea class="sourceCode" cols="24" rows="44"&gt;
jQuery.classBehaviours.handlers.blink = {
   // properties
   name:          'blink',
   nodes:         new Array(),
   index:         -1,
   interval:      null,
   // methods
   start:         function(node){
                     // set the starting class, if not present
                     if(node.className.indexOf('blinkon')&lt;0) node.className += " blinkon";
                     // make new blink entry and fill it with the node's settings
                     blinkObject = new jQuery.classBehaviours.handlers.blink.BlinkObject;
                     blinkObject.node = node;
                     blinkObject.jiffy = parseInt(
                     	jQuery.classBehaviours.utilities.getClassParameter(node, 'jiffy', '1')
                     );
                     this.nodes[this.nodes.length] = blinkObject;
                     // start blink loop only the first time
                     if(this.index&lt;0){
                     	this.index++;
                     	this.interval = setInterval("jQuery.classBehaviours.handlers.blink.loop()", 512);
                     }
                  },
   // events
   loop:         function(blinkIndex){
                     var blk = jQuery.classBehaviours.handlers.blink;
                     // count this update
                     blk.index = (blk.index&gt;100000) ? 0 : blk.index + 1 ;
                     // for all blink objects in the list
                     for(var a=0; a&lt;blk.nodes.length; a++)
                        // check if this count is the right jiffy
                        if(blk.index%blk.nodes[a].jiffy==0)
                           // toggle the blink class
                           blk.nodes[a].node.className = (blk.nodes[a].node.className.indexOf('blinkoff')&gt;-1) ?
                              blk.nodes[a].node.className.replace('blinkoff','blinkon') :
                              blk.nodes[a].node.className.replace('blinkon','blinkoff') ;
                  }
}
   jQuery.classBehaviours.handlers.blink.BlinkObject = function(){
      this.node = null;
      this.jiffy = 1;
   }
					&lt;/textarea&gt;
				&lt;/p&gt;

				&lt;h2&gt;Conclusion&lt;/h2&gt;
				&lt;p&gt;
					The example above demonstrated how much inline javascript clutter is avoided using this method.
					The DHTML behaviour can easily be applied and degrades gracefully:
					Should javascript or stylesheets be disabled or overridden there should be no impact on the usability of the content.
				&lt;/p&gt;
				&lt;p&gt;
					Most examples on &lt;a href="http://www.classbehaviours.com/"&gt;www.classbehaviours.com&lt;/a&gt; have been developed using this principle.
				&lt;/p&gt;

			<![CDATA[
				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.blink.js"></script>
			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,category,</category>
			<pubDate>Sat, 5 Apr 2008 15:12:00 +0100</pubDate>
		</item>
		<item>
			<title>About jQuery</title>
			<link>http://www.classbehaviours.com/default.php?id=jquery&amp;mod=meta</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/jquery.png"/&gt;
				&lt;p&gt;
					&lt;a href="http://jquery.com/"&gt;jQuery&lt;/a&gt; is a Javascript meta-language that makes it easy to apply scripts to web pages.
					jQuery can be downloaded from &lt;a href="http://jquery.com/"&gt;jQuery.com&lt;/a&gt; and is also open source software.
				&lt;/p&gt;
				&lt;p&gt;
					The ClassBehaviours library is a collection of plugins for jQuery that expand on its functionality with easy to implement examples of often used DHTML effects.
				&lt;/p&gt;

				~

			<![CDATA[
				<h2>How ClassBehaviours Expand the jQuery Object</h2>
				<ul>
					<li>
						<strong>jQuery</strong>
						<ul>
							<li>
								<strong>jQuery.fn</strong>
								<ul>
									<li><strong>jQuery.fn.animatedClassName</strong></li>
									<li><strong>jQuery.fn.artificialScrollBbar</strong></li>
									<li><strong>jQuery.fn.autoSizeFromIframe</strong></li>
									<li><strong>etc.</strong></li>
								</ul>
								<p>
									The individual ClassBehaviour scripts add themselves here for use in the jQuery syntax.
								</p>
							</li>
							<li>
								<strong>jQuery.classBehaviours</strong>
								<ul>
									<li>
										<strong>jQuery.classBehaviours.ajax</strong>
										<p>
											A custom AJAX HTTP-request object with queueing and virtual events handler.
										</p>
									</li>
									<li>
										<strong>jQuery.classBehaviours.console</strong>
										<p>
											A simple debugging console to output classBehaviour related messages in a non-intrusive way.
										</p>
									</li>
									<li>
										<strong>jQuery.classBehaviours.cookies</strong>
										<p>
											An object to standardize the handling of cookies within ClassBehaviours.
										</p>
									</li>
									<li>
										<strong>jQuery.classBehaviours.fader</strong>
										<p>
											A collection of reusable fades and whipes with virtual event handlers.
										</p>
									</li>
									<li>
										<strong>jQuery.classBehaviours.utilities</strong>
										<p>
											Generic functions that compliment the XML DOM.
										</p>
									</li>
									<li>
										<strong>jQuery.classBehaviours.parser</strong>
										<p>
											An object vital to ClassBehaviours, that facilitates the efficient parsing of HTML documents for class-names.
										</p>
									</li>
									<li>
										<strong>jQuery.classBehaviours.handlers</strong>
										<ul>
											<li><strong>jQuery.classBehaviours.handlers.animatedClassName</strong></li>
											<li><strong>jQuery.classBehaviours.handlers.artificialScrollBbar</strong></li>
											<li><strong>jQuery.classBehaviours.handlers.autoSizeFromIframe</strong></li>
											<li><strong>etc.</strong></li>
										</ul>
										<p>
											The individual ClassBehaviour scripts add themselves to this object for interoperability within ClassBehaviours.
										</p>
									</li>
								</ul>
							</li>
						</ul>
					</li>
				</ul>
				<h2>No Scripting Required</h2>
				<p>
					All classBehaviour scripts forsee in their own functionality by default, parsing the page for targetted class-names.
					For example; just adding the ClassBehaviour "jquery.classbehaviours.openlayerpopup.js" to the document would cause the script to manifest itsself like this:
				</p>
				<p>
					<strong>$(".openLayerPopUp").openLayerPopUp();</strong>
				</p>
				<p>
					This does not have to be scripted manually by the user of ClassBehaviours.
				</p>
			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,category,</category>
			<pubDate>Wed, 20 Aug 2008 21:14:00 +0100</pubDate>
		</item>
		<item>
			<title>Download</title>
			<link>http://www.classbehaviours.com/default.php?id=download-classbehaviour&amp;mod=meta</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_classBehaviour.png"/&gt;
				&lt;p&gt;
					The ClassBehaviours library contains many scripts that assign functionality to html elements through their class-names.
				&lt;/p&gt;
				&lt;p&gt;
					The "jquery.classbehaviours.js" script contains the main parser function and several helper functions. It is (almost) always needed when applying class-behaviours.
					To implement the examples listed on this site addons like "jquery.classbehaviours.blink.js" and "jquery.classbehaviours.togglenextnode.js" can be downloaded seperately.
				&lt;/p&gt;

				~

			<![CDATA[

				<hr/>

				<h2 class="clear">Download Individual "classBehaviours" jQuery Add-ons</h2>
				<p>
					Individial jQuery add-ons can be downloaded from the bottom of their respective documentation pages in the
					<a href="?id=classbehaviour-examples&cat=classbehaviour&mod=category">list of examples</a>.
				</p>
				<div class="toCenter">
					<p>
						<a href="?id=classbehaviour-examples&cat=classbehaviour&mod=category"><img class="bordzered" src="http://www.classbehaviours.com/images/download.png" alt="Downloads" /></a>
					</p>
				</div>

				<hr/>

				<h2>Download the Complete "classBehaviours" Source Code</h2>
				<p>
					The complete download contains all scripts and support files needed to implement the examples.
				</p>

				<h3>SourceForge Project</h3>
				<p>
					<a href="http://sourceforge.net/projects/classbehaviours/"><strong>Download</strong></a> classBehaviours - Archive Release
				</p>
				<div class="toCenter">
					<p>
						<a href="http://sourceforge.net/projects/classbehaviours"><img class="bordered" src="http://www.classbehaviours.com/images/sflogo2.png" width="150" height="40" alt="Get classBehaviours at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a>
					</p>
				</div>

				<h3>Google Code Project</h3>
				<p>
					<a href="http://code.google.com/p/classbehaviours/"><strong>Download</strong></a> classBehaviours - Archive Release
				</p>
				<div class="toCenter">
					<p>
						<a href="http://code.google.com/p/classbehaviours/"><img class="bordered" src="http://www.classbehaviours.com/images/GoogleCode2.png" alt="Google Code Logo" /></a>
					</p>
				</div>

				<!--
				<hr/>

				<h2>Install the Reference Documentation</h2>
				<p>
					This Adobe AIR application allows for quick access to all the classBehaviour examples:
				</p>
				<div class="toCenter">
					<div class="flashTitle">
						<div class="flashAlternative">The Adobe Air version requires Adobe Flash</div>
						<input type="hidden" name="prototype" value="http://www.classbehaviours.com/xml/flashTitle.xml"/>
						<input type="hidden" name="movie" value="http://www.classbehaviours.com/flash/badge.swf"/>
						<input type="hidden" name="width" value="217"/>
						<input type="hidden" name="height" value="180"/>
						<input type="hidden" name="flashvars" value="appname=classBehaviours&appurl=http://www.classbehaviours.com/downloads/classBehaviours.air&airversion=1.0&imageurl=http://www.classbehaviours.com/downloads/classBehaviours.png"/>
					</div>
				</div>

				<script type="text/javascript" src="http://www.classbehaviours.com/scripts/jquery.classbehaviours.flashtitle.js"></script>
				-->
			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,category,</category>
			<pubDate>Wed, 20 Aug 2008 21:14:00 +0100</pubDate>
		</item>
		<item>
			<title>License</title>
			<link>http://www.classbehaviours.com/default.php?id=classbehaviour-license&amp;mod=meta</link>
			<description>

				&lt;a href="http://www.gnu.org/licenses/gpl.html"&gt;&lt;img alt="GNU General Public License" class="illustration" src="http://www.classbehaviours.com/images/banner_gplv3-127x51.png"/&gt;&lt;/a&gt;
				&lt;p&gt;
				    classBehaviour is a javascript "framework" based on class-name parsing.&lt;br/&gt;
				    Copyright (C) 2008  Maurice van Creij
				&lt;/p&gt;
				&lt;p class="clear"&gt;
				    classBehaviour is free software: you can redistribute it and/or modify
				    it under the terms of the GNU General Public License as published by
				    the Free Software Foundation, either version 3 of the License, or
				    (at your option) any later version.
				&lt;/p&gt;
				&lt;p&gt;
				    classBehaviour is distributed in the hope that it will be useful,
				    but WITHOUT ANY WARRANTY; without even the implied warranty of
				    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
				    GNU General Public License for more details.
				&lt;/p&gt;
				&lt;p&gt;
				    You should have received a copy of the GNU General Public License
				    along with classBehaviour.  If not, see http://www.gnu.org/licenses/gpl.html
				&lt;/p&gt;

				~

				&lt;h3 class="clear" style="text-align: center;"&gt;GNU GENERAL PUBLIC LICENSE&lt;/h3&gt;
				&lt;p style="text-align: center;"&gt;Version 3, 29 June 2007&lt;/p&gt;

				&lt;p&gt;Copyright &amp;copy; 2007 Free Software Foundation, Inc. &lt;http://fsf.org/&gt;&lt;/p&gt;&lt;p&gt;

				 Everyone is permitted to copy and distribute verbatim copies
				 of this license document, but changing it is not allowed.&lt;/p&gt;

				&lt;h3&gt;&lt;a name="preamble"&gt;&lt;/a&gt;Preamble&lt;/h3&gt;

				&lt;p&gt;The GNU General Public License is a free, copyleft license for
				software and other kinds of works.&lt;/p&gt;

				&lt;p&gt;The licenses for most software and other practical works are designed
				to take away your freedom to share and change the works.  By contrast,
				the GNU General Public License is intended to guarantee your freedom to
				share and change all versions of a program--to make sure it remains free
				software for all its users.  We, the Free Software Foundation, use the
				GNU General Public License for most of our software; it applies also to
				any other work released this way by its authors.  You can apply it to
				your programs, too.&lt;/p&gt;

				&lt;p&gt;When we speak of free software, we are referring to freedom, not
				price.  Our General Public Licenses are designed to make sure that you
				have the freedom to distribute copies of free software (and charge for
				them if you wish), that you receive source code or can get it if you
				want it, that you can change the software or use pieces of it in new
				free programs, and that you know you can do these things.&lt;/p&gt;

				&lt;p&gt;To protect your rights, we need to prevent others from denying you
				these rights or asking you to surrender the rights.  Therefore, you have
				certain responsibilities if you distribute copies of the software, or if
				you modify it: responsibilities to respect the freedom of others.&lt;/p&gt;

				&lt;p&gt;For example, if you distribute copies of such a program, whether
				gratis or for a fee, you must pass on to the recipients the same
				freedoms that you received.  You must make sure that they, too, receive
				or can get the source code.  And you must show them these terms so they
				know their rights.&lt;/p&gt;

				&lt;p&gt;Developers that use the GNU GPL protect your rights with two steps:
				(1) assert copyright on the software, and (2) offer you this License
				giving you legal permission to copy, distribute and/or modify it.&lt;/p&gt;

				&lt;p&gt;For the developers' and authors' protection, the GPL clearly explains
				that there is no warranty for this free software.  For both users' and
				authors' sake, the GPL requires that modified versions be marked as
				changed, so that their problems will not be attributed erroneously to
				authors of previous versions.&lt;/p&gt;

				&lt;p&gt;Some devices are designed to deny users access to install or run
				modified versions of the software inside them, although the manufacturer
				can do so.  This is fundamentally incompatible with the aim of
				protecting users' freedom to change the software.  The systematic
				pattern of such abuse occurs in the area of products for individuals to
				use, which is precisely where it is most unacceptable.  Therefore, we
				have designed this version of the GPL to prohibit the practice for those
				products.  If such problems arise substantially in other domains, we
				stand ready to extend this provision to those domains in future versions
				of the GPL, as needed to protect the freedom of users.&lt;/p&gt;

				&lt;p&gt;Finally, every program is threatened constantly by software patents.
				States should not allow patents to restrict development and use of
				software on general-purpose computers, but in those that do, we wish to
				avoid the special danger that patents applied to a free program could
				make it effectively proprietary.  To prevent this, the GPL assures that
				patents cannot be used to render the program non-free.&lt;/p&gt;

				&lt;p&gt;The precise terms and conditions for copying, distribution and
				modification follow.&lt;/p&gt;

				&lt;h3&gt;&lt;a name="terms"&gt;&lt;/a&gt;TERMS AND CONDITIONS&lt;/h3&gt;

				&lt;h4&gt;&lt;a name="section0"&gt;&lt;/a&gt;0. Definitions.&lt;/h4&gt;

				&lt;p&gt;&amp;ldquo;This License&amp;rdquo; refers to version 3 of the GNU General Public License.&lt;/p&gt;

				&lt;p&gt;&amp;ldquo;Copyright&amp;rdquo; also means copyright-like laws that apply to other kinds of
				works, such as semiconductor masks.&lt;/p&gt;


				&lt;p&gt;&amp;ldquo;The Program&amp;rdquo; refers to any copyrightable work licensed under this
				License.  Each licensee is addressed as &amp;ldquo;you&amp;rdquo;.  &amp;ldquo;Licensees&amp;rdquo; and
				&amp;ldquo;recipients&amp;rdquo; may be individuals or organizations.&lt;/p&gt;

				&lt;p&gt;To &amp;ldquo;modify&amp;rdquo; a work means to copy from or adapt all or part of the work
				in a fashion requiring copyright permission, other than the making of an
				exact copy.  The resulting work is called a &amp;ldquo;modified version&amp;rdquo; of the
				earlier work or a work &amp;ldquo;based on&amp;rdquo; the earlier work.&lt;/p&gt;

				&lt;p&gt;A &amp;ldquo;covered work&amp;rdquo; means either the unmodified Program or a work based
				on the Program.&lt;/p&gt;

				&lt;p&gt;To &amp;ldquo;propagate&amp;rdquo; a work means to do anything with it that, without
				permission, would make you directly or secondarily liable for
				infringement under applicable copyright law, except executing it on a
				computer or modifying a private copy.  Propagation includes copying,
				distribution (with or without modification), making available to the
				public, and in some countries other activities as well.&lt;/p&gt;

				&lt;p&gt;To &amp;ldquo;convey&amp;rdquo; a work means any kind of propagation that enables other
				parties to make or receive copies.  Mere interaction with a user through
				a computer network, with no transfer of a copy, is not conveying.&lt;/p&gt;

				&lt;p&gt;An interactive user interface displays &amp;ldquo;Appropriate Legal Notices&amp;rdquo;
				to the extent that it includes a convenient and prominently visible
				feature that (1) displays an appropriate copyright notice, and (2)
				tells the user that there is no warranty for the work (except to the
				extent that warranties are provided), that licensees may convey the
				work under this License, and how to view a copy of this License.  If
				the interface presents a list of user commands or options, such as a
				menu, a prominent item in the list meets this criterion.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section1"&gt;&lt;/a&gt;1. Source Code.&lt;/h4&gt;

				&lt;p&gt;The &amp;ldquo;source code&amp;rdquo; for a work means the preferred form of the work
				for making modifications to it.  &amp;ldquo;Object code&amp;rdquo; means any non-source
				form of a work.&lt;/p&gt;

				&lt;p&gt;A &amp;ldquo;Standard Interface&amp;rdquo; means an interface that either is an official
				standard defined by a recognized standards body, or, in the case of
				interfaces specified for a particular programming language, one that
				is widely used among developers working in that language.&lt;/p&gt;

				&lt;p&gt;The &amp;ldquo;System Libraries&amp;rdquo; of an executable work include anything, other
				than the work as a whole, that (a) is included in the normal form of
				packaging a Major Component, but which is not part of that Major
				Component, and (b) serves only to enable use of the work with that
				Major Component, or to implement a Standard Interface for which an
				implementation is available to the public in source code form.  A
				&amp;ldquo;Major Component&amp;rdquo;, in this context, means a major essential component
				(kernel, window system, and so on) of the specific operating system
				(if any) on which the executable work runs, or a compiler used to
				produce the work, or an object code interpreter used to run it.&lt;/p&gt;

				&lt;p&gt;The &amp;ldquo;Corresponding Source&amp;rdquo; for a work in object code form means all
				the source code needed to generate, install, and (for an executable
				work) run the object code and to modify the work, including scripts to
				control those activities.  However, it does not include the work's
				System Libraries, or general-purpose tools or generally available free
				programs which are used unmodified in performing those activities but
				which are not part of the work.  For example, Corresponding Source
				includes interface definition files associated with source files for
				the work, and the source code for shared libraries and dynamically
				linked subprograms that the work is specifically designed to require,
				such as by intimate data communication or control flow between those
				subprograms and other parts of the work.&lt;/p&gt;

				&lt;p&gt;The Corresponding Source need not include anything that users
				can regenerate automatically from other parts of the Corresponding
				Source.&lt;/p&gt;

				&lt;p&gt;The Corresponding Source for a work in source code form is that
				same work.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section2"&gt;&lt;/a&gt;2. Basic Permissions.&lt;/h4&gt;

				&lt;p&gt;All rights granted under this License are granted for the term of
				copyright on the Program, and are irrevocable provided the stated
				conditions are met.  This License explicitly affirms your unlimited
				permission to run the unmodified Program.  The output from running a
				covered work is covered by this License only if the output, given its
				content, constitutes a covered work.  This License acknowledges your
				rights of fair use or other equivalent, as provided by copyright law.&lt;/p&gt;

				&lt;p&gt;You may make, run and propagate covered works that you do not
				convey, without conditions so long as your license otherwise remains
				in force.  You may convey covered works to others for the sole purpose
				of having them make modifications exclusively for you, or provide you
				with facilities for running those works, provided that you comply with
				the terms of this License in conveying all material for which you do
				not control copyright.  Those thus making or running the covered works
				for you must do so exclusively on your behalf, under your direction
				and control, on terms that prohibit them from making any copies of
				your copyrighted material outside their relationship with you.&lt;/p&gt;

				&lt;p&gt;Conveying under any other circumstances is permitted solely under
				the conditions stated below.  Sublicensing is not allowed; section 10
				makes it unnecessary.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section3"&gt;&lt;/a&gt;3. Protecting Users' Legal Rights From Anti-Circumvention Law.&lt;/h4&gt;

				&lt;p&gt;No covered work shall be deemed part of an effective technological
				measure under any applicable law fulfilling obligations under article
				11 of the WIPO copyright treaty adopted on 20 December 1996, or
				similar laws prohibiting or restricting circumvention of such
				measures.&lt;/p&gt;

				&lt;p&gt;When you convey a covered work, you waive any legal power to forbid
				circumvention of technological measures to the extent such circumvention
				is effected by exercising rights under this License with respect to
				the covered work, and you disclaim any intention to limit operation or
				modification of the work as a means of enforcing, against the work's
				users, your or third parties' legal rights to forbid circumvention of
				technological measures.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section4"&gt;&lt;/a&gt;4. Conveying Verbatim Copies.&lt;/h4&gt;

				&lt;p&gt;You may convey verbatim copies of the Program's source code as you
				receive it, in any medium, provided that you conspicuously and
				appropriately publish on each copy an appropriate copyright notice;
				keep intact all notices stating that this License and any
				non-permissive terms added in accord with section 7 apply to the code;
				keep intact all notices of the absence of any warranty; and give all
				recipients a copy of this License along with the Program.&lt;/p&gt;

				&lt;p&gt;You may charge any price or no price for each copy that you convey,
				and you may offer support or warranty protection for a fee.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section5"&gt;&lt;/a&gt;5. Conveying Modified Source Versions.&lt;/h4&gt;

				&lt;p&gt;You may convey a work based on the Program, or the modifications to
				produce it from the Program, in the form of source code under the
				terms of section 4, provided that you also meet all of these conditions:&lt;/p&gt;

				&lt;ul&gt;
				&lt;li&gt;a) The work must carry prominent notices stating that you modified
				    it, and giving a relevant date.&lt;/li&gt;

				&lt;li&gt;b) The work must carry prominent notices stating that it is
				    released under this License and any conditions added under section
				    7.  This requirement modifies the requirement in section 4 to
				    &amp;ldquo;keep intact all notices&amp;rdquo;.&lt;/li&gt;

				&lt;li&gt;c) You must license the entire work, as a whole, under this
				    License to anyone who comes into possession of a copy.  This
				    License will therefore apply, along with any applicable section 7
				    additional terms, to the whole of the work, and all its parts,
				    regardless of how they are packaged.  This License gives no
				    permission to license the work in any other way, but it does not
				    invalidate such permission if you have separately received it.&lt;/li&gt;

				&lt;li&gt;d) If the work has interactive user interfaces, each must display
				    Appropriate Legal Notices; however, if the Program has interactive
				    interfaces that do not display Appropriate Legal Notices, your
				    work need not make them do so.&lt;/li&gt;
				&lt;/ul&gt;

				&lt;p&gt;A compilation of a covered work with other separate and independent
				works, which are not by their nature extensions of the covered work,
				and which are not combined with it such as to form a larger program,
				in or on a volume of a storage or distribution medium, is called an
				&amp;ldquo;aggregate&amp;rdquo; if the compilation and its resulting copyright are not
				used to limit the access or legal rights of the compilation's users
				beyond what the individual works permit.  Inclusion of a covered work
				in an aggregate does not cause this License to apply to the other
				parts of the aggregate.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section6"&gt;&lt;/a&gt;6. Conveying Non-Source Forms.&lt;/h4&gt;

				&lt;p&gt;You may convey a covered work in object code form under the terms
				of sections 4 and 5, provided that you also convey the
				machine-readable Corresponding Source under the terms of this License,
				in one of these ways:&lt;/p&gt;

				&lt;ul&gt;
				&lt;li&gt;a) Convey the object code in, or embodied in, a physical product
				    (including a physical distribution medium), accompanied by the
				    Corresponding Source fixed on a durable physical medium
				    customarily used for software interchange.&lt;/li&gt;

				&lt;li&gt;b) Convey the object code in, or embodied in, a physical product
				    (including a physical distribution medium), accompanied by a
				    written offer, valid for at least three years and valid for as
				    long as you offer spare parts or customer support for that product
				    model, to give anyone who possesses the object code either (1) a
				    copy of the Corresponding Source for all the software in the
				    product that is covered by this License, on a durable physical
				    medium customarily used for software interchange, for a price no
				    more than your reasonable cost of physically performing this
				    conveying of source, or (2) access to copy the
				    Corresponding Source from a network server at no charge.&lt;/li&gt;

				&lt;li&gt;c) Convey individual copies of the object code with a copy of the
				    written offer to provide the Corresponding Source.  This
				    alternative is allowed only occasionally and noncommercially, and
				    only if you received the object code with such an offer, in accord
				    with subsection 6b.&lt;/li&gt;

				&lt;li&gt;d) Convey the object code by offering access from a designated
				    place (gratis or for a charge), and offer equivalent access to the
				    Corresponding Source in the same way through the same place at no
				    further charge.  You need not require recipients to copy the
				    Corresponding Source along with the object code.  If the place to
				    copy the object code is a network server, the Corresponding Source
				    may be on a different server (operated by you or a third party)
				    that supports equivalent copying facilities, provided you maintain
				    clear directions next to the object code saying where to find the
				    Corresponding Source.  Regardless of what server hosts the
				    Corresponding Source, you remain obligated to ensure that it is
				    available for as long as needed to satisfy these requirements.&lt;/li&gt;

				&lt;li&gt;e) Convey the object code using peer-to-peer transmission, provided
				    you inform other peers where the object code and Corresponding
				    Source of the work are being offered to the general public at no
				    charge under subsection 6d.&lt;/li&gt;
				&lt;/ul&gt;

				&lt;p&gt;A separable portion of the object code, whose source code is excluded
				from the Corresponding Source as a System Library, need not be
				included in conveying the object code work.&lt;/p&gt;

				&lt;p&gt;A &amp;ldquo;User Product&amp;rdquo; is either (1) a &amp;ldquo;consumer product&amp;rdquo;, which means any
				tangible personal property which is normally used for personal, family,
				or household purposes, or (2) anything designed or sold for incorporation
				into a dwelling.  In determining whether a product is a consumer product,
				doubtful cases shall be resolved in favor of coverage.  For a particular
				product received by a particular user, &amp;ldquo;normally used&amp;rdquo; refers to a
				typical or common use of that class of product, regardless of the status
				of the particular user or of the way in which the particular user
				actually uses, or expects or is expected to use, the product.  A product
				is a consumer product regardless of whether the product has substantial
				commercial, industrial or non-consumer uses, unless such uses represent
				the only significant mode of use of the product.&lt;/p&gt;

				&lt;p&gt;&amp;ldquo;Installation Information&amp;rdquo; for a User Product means any methods,
				procedures, authorization keys, or other information required to install
				and execute modified versions of a covered work in that User Product from
				a modified version of its Corresponding Source.  The information must
				suffice to ensure that the continued functioning of the modified object
				code is in no case prevented or interfered with solely because
				modification has been made.&lt;/p&gt;

				&lt;p&gt;If you convey an object code work under this section in, or with, or
				specifically for use in, a User Product, and the conveying occurs as
				part of a transaction in which the right of possession and use of the
				User Product is transferred to the recipient in perpetuity or for a
				fixed term (regardless of how the transaction is characterized), the
				Corresponding Source conveyed under this section must be accompanied
				by the Installation Information.  But this requirement does not apply
				if neither you nor any third party retains the ability to install
				modified object code on the User Product (for example, the work has
				been installed in ROM).&lt;/p&gt;

				&lt;p&gt;The requirement to provide Installation Information does not include a
				requirement to continue to provide support service, warranty, or updates
				for a work that has been modified or installed by the recipient, or for
				the User Product in which it has been modified or installed.  Access to a
				network may be denied when the modification itself materially and
				adversely affects the operation of the network or violates the rules and
				protocols for communication across the network.&lt;/p&gt;

				&lt;p&gt;Corresponding Source conveyed, and Installation Information provided,
				in accord with this section must be in a format that is publicly
				documented (and with an implementation available to the public in
				source code form), and must require no special password or key for
				unpacking, reading or copying.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section7"&gt;&lt;/a&gt;7. Additional Terms.&lt;/h4&gt;

				&lt;p&gt;&amp;ldquo;Additional permissions&amp;rdquo; are terms that supplement the terms of this
				License by making exceptions from one or more of its conditions.
				Additional permissions that are applicable to the entire Program shall
				be treated as though they were included in this License, to the extent
				that they are valid under applicable law.  If additional permissions
				apply only to part of the Program, that part may be used separately
				under those permissions, but the entire Program remains governed by
				this License without regard to the additional permissions.&lt;/p&gt;

				&lt;p&gt;When you convey a copy of a covered work, you may at your option
				remove any additional permissions from that copy, or from any part of
				it.  (Additional permissions may be written to require their own
				removal in certain cases when you modify the work.)  You may place
				additional permissions on material, added by you to a covered work,
				for which you have or can give appropriate copyright permission.&lt;/p&gt;

				&lt;p&gt;Notwithstanding any other provision of this License, for material you
				add to a covered work, you may (if authorized by the copyright holders of
				that material) supplement the terms of this License with terms:&lt;/p&gt;

				&lt;ul&gt;
				&lt;li&gt;a) Disclaiming warranty or limiting liability differently from the
				    terms of sections 15 and 16 of this License; or&lt;/li&gt;

				&lt;li&gt;b) Requiring preservation of specified reasonable legal notices or
				    author attributions in that material or in the Appropriate Legal
				    Notices displayed by works containing it; or&lt;/li&gt;

				&lt;li&gt;c) Prohibiting misrepresentation of the origin of that material, or
				    requiring that modified versions of such material be marked in
				    reasonable ways as different from the original version; or&lt;/li&gt;

				&lt;li&gt;d) Limiting the use for publicity purposes of names of licensors or
				    authors of the material; or&lt;/li&gt;

				&lt;li&gt;e) Declining to grant rights under trademark law for use of some
				    trade names, trademarks, or service marks; or&lt;/li&gt;

				&lt;li&gt;f) Requiring indemnification of licensors and authors of that
				    material by anyone who conveys the material (or modified versions of
				    it) with contractual assumptions of liability to the recipient, for
				    any liability that these contractual assumptions directly impose on
				    those licensors and authors.&lt;/li&gt;
				&lt;/ul&gt;

				&lt;p&gt;All other non-permissive additional terms are considered &amp;ldquo;further
				restrictions&amp;rdquo; within the meaning of section 10.  If the Program as you
				received it, or any part of it, contains a notice stating that it is
				governed by this License along with a term that is a further
				restriction, you may remove that term.  If a license document contains
				a further restriction but permits relicensing or conveying under this
				License, you may add to a covered work material governed by the terms
				of that license document, provided that the further restriction does
				not survive such relicensing or conveying.&lt;/p&gt;

				&lt;p&gt;If you add terms to a covered work in accord with this section, you
				must place, in the relevant source files, a statement of the
				additional terms that apply to those files, or a notice indicating
				where to find the applicable terms.&lt;/p&gt;

				&lt;p&gt;Additional terms, permissive or non-permissive, may be stated in the
				form of a separately written license, or stated as exceptions;
				the above requirements apply either way.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section8"&gt;&lt;/a&gt;8. Termination.&lt;/h4&gt;

				&lt;p&gt;You may not propagate or modify a covered work except as expressly
				provided under this License.  Any attempt otherwise to propagate or
				modify it is void, and will automatically terminate your rights under
				this License (including any patent licenses granted under the third
				paragraph of section 11).&lt;/p&gt;

				&lt;p&gt;However, if you cease all violation of this License, then your
				license from a particular copyright holder is reinstated (a)
				provisionally, unless and until the copyright holder explicitly and
				finally terminates your license, and (b) permanently, if the copyright
				holder fails to notify you of the violation by some reasonable means
				prior to 60 days after the cessation.&lt;/p&gt;

				&lt;p&gt;Moreover, your license from a particular copyright holder is
				reinstated permanently if the copyright holder notifies you of the
				violation by some reasonable means, this is the first time you have
				received notice of violation of this License (for any work) from that
				copyright holder, and you cure the violation prior to 30 days after
				your receipt of the notice.&lt;/p&gt;

				&lt;p&gt;Termination of your rights under this section does not terminate the
				licenses of parties who have received copies or rights from you under
				this License.  If your rights have been terminated and not permanently
				reinstated, you do not qualify to receive new licenses for the same
				material under section 10.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section9"&gt;&lt;/a&gt;9. Acceptance Not Required for Having Copies.&lt;/h4&gt;

				&lt;p&gt;You are not required to accept this License in order to receive or
				run a copy of the Program.  Ancillary propagation of a covered work
				occurring solely as a consequence of using peer-to-peer transmission
				to receive a copy likewise does not require acceptance.  However,
				nothing other than this License grants you permission to propagate or
				modify any covered work.  These actions infringe copyright if you do
				not accept this License.  Therefore, by modifying or propagating a
				covered work, you indicate your acceptance of this License to do so.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section10"&gt;&lt;/a&gt;10. Automatic Licensing of Downstream Recipients.&lt;/h4&gt;

				&lt;p&gt;Each time you convey a covered work, the recipient automatically
				receives a license from the original licensors, to run, modify and
				propagate that work, subject to this License.  You are not responsible
				for enforcing compliance by third parties with this License.&lt;/p&gt;

				&lt;p&gt;An &amp;ldquo;entity transaction&amp;rdquo; is a transaction transferring control of an
				organization, or substantially all assets of one, or subdividing an
				organization, or merging organizations.  If propagation of a covered
				work results from an entity transaction, each party to that
				transaction who receives a copy of the work also receives whatever
				licenses to the work the party's predecessor in interest had or could
				give under the previous paragraph, plus a right to possession of the
				Corresponding Source of the work from the predecessor in interest, if
				the predecessor has it or can get it with reasonable efforts.&lt;/p&gt;

				&lt;p&gt;You may not impose any further restrictions on the exercise of the
				rights granted or affirmed under this License.  For example, you may
				not impose a license fee, royalty, or other charge for exercise of
				rights granted under this License, and you may not initiate litigation
				(including a cross-claim or counterclaim in a lawsuit) alleging that
				any patent claim is infringed by making, using, selling, offering for
				sale, or importing the Program or any portion of it.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section11"&gt;&lt;/a&gt;11. Patents.&lt;/h4&gt;

				&lt;p&gt;A &amp;ldquo;contributor&amp;rdquo; is a copyright holder who authorizes use under this
				License of the Program or a work on which the Program is based.  The
				work thus licensed is called the contributor's &amp;ldquo;contributor version&amp;rdquo;.&lt;/p&gt;

				&lt;p&gt;A contributor's &amp;ldquo;essential patent claims&amp;rdquo; are all patent claims
				owned or controlled by the contributor, whether already acquired or
				hereafter acquired, that would be infringed by some manner, permitted
				by this License, of making, using, or selling its contributor version,
				but do not include claims that would be infringed only as a
				consequence of further modification of the contributor version.  For
				purposes of this definition, &amp;ldquo;control&amp;rdquo; includes the right to grant
				patent sublicenses in a manner consistent with the requirements of
				this License.&lt;/p&gt;

				&lt;p&gt;Each contributor grants you a non-exclusive, worldwide, royalty-free
				patent license under the contributor's essential patent claims, to
				make, use, sell, offer for sale, import and otherwise run, modify and
				propagate the contents of its contributor version.&lt;/p&gt;

				&lt;p&gt;In the following three paragraphs, a &amp;ldquo;patent license&amp;rdquo; is any express
				agreement or commitment, however denominated, not to enforce a patent
				(such as an express permission to practice a patent or covenant not to
				sue for patent infringement).  To &amp;ldquo;grant&amp;rdquo; such a patent license to a
				party means to make such an agreement or commitment not to enforce a
				patent against the party.&lt;/p&gt;

				&lt;p&gt;If you convey a covered work, knowingly relying on a patent license,
				and the Corresponding Source of the work is not available for anyone
				to copy, free of charge and under the terms of this License, through a
				publicly available network server or other readily accessible means,
				then you must either (1) cause the Corresponding Source to be so
				available, or (2) arrange to deprive yourself of the benefit of the
				patent license for this particular work, or (3) arrange, in a manner
				consistent with the requirements of this License, to extend the patent
				license to downstream recipients.  &amp;ldquo;Knowingly relying&amp;rdquo; means you have
				actual knowledge that, but for the patent license, your conveying the
				covered work in a country, or your recipient's use of the covered work
				in a country, would infringe one or more identifiable patents in that
				country that you have reason to believe are valid.&lt;/p&gt;


				&lt;p&gt;If, pursuant to or in connection with a single transaction or
				arrangement, you convey, or propagate by procuring conveyance of, a
				covered work, and grant a patent license to some of the parties
				receiving the covered work authorizing them to use, propagate, modify
				or convey a specific copy of the covered work, then the patent license
				you grant is automatically extended to all recipients of the covered
				work and works based on it.&lt;/p&gt;

				&lt;p&gt;A patent license is &amp;ldquo;discriminatory&amp;rdquo; if it does not include within
				the scope of its coverage, prohibits the exercise of, or is
				conditioned on the non-exercise of one or more of the rights that are
				specifically granted under this License.  You may not convey a covered
				work if you are a party to an arrangement with a third party that is
				in the business of distributing software, under which you make payment
				to the third party based on the extent of your activity of conveying
				the work, and under which the third party grants, to any of the
				parties who would receive the covered work from you, a discriminatory
				patent license (a) in connection with copies of the covered work
				conveyed by you (or copies made from those copies), or (b) primarily
				for and in connection with specific products or compilations that
				contain the covered work, unless you entered into that arrangement,
				or that patent license was granted, prior to 28 March 2007.&lt;/p&gt;

				&lt;p&gt;Nothing in this License shall be construed as excluding or limiting
				any implied license or other defenses to infringement that may
				otherwise be available to you under applicable patent law.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section12"&gt;&lt;/a&gt;12. No Surrender of Others' Freedom.&lt;/h4&gt;

				&lt;p&gt;If conditions are imposed on you (whether by court order, agreement or
				otherwise) that contradict the conditions of this License, they do not
				excuse you from the conditions of this License.  If you cannot convey a
				covered work so as to satisfy simultaneously your obligations under this
				License and any other pertinent obligations, then as a consequence you may
				not convey it at all.  For example, if you agree to terms that obligate you
				to collect a royalty for further conveying from those to whom you convey
				the Program, the only way you could satisfy both those terms and this
				License would be to refrain entirely from conveying the Program.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section13"&gt;&lt;/a&gt;13. Use with the GNU Affero General Public License.&lt;/h4&gt;

				&lt;p&gt;Notwithstanding any other provision of this License, you have
				permission to link or combine any covered work with a work licensed
				under version 3 of the GNU Affero General Public License into a single
				combined work, and to convey the resulting work.  The terms of this
				License will continue to apply to the part which is the covered work,
				but the special requirements of the GNU Affero General Public License,
				section 13, concerning interaction through a network will apply to the
				combination as such.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section14"&gt;&lt;/a&gt;14. Revised Versions of this License.&lt;/h4&gt;

				&lt;p&gt;The Free Software Foundation may publish revised and/or new versions of
				the GNU General Public License from time to time.  Such new versions will
				be similar in spirit to the present version, but may differ in detail to
				address new problems or concerns.&lt;/p&gt;

				&lt;p&gt;Each version is given a distinguishing version number.  If the
				Program specifies that a certain numbered version of the GNU General
				Public License &amp;ldquo;or any later version&amp;rdquo; applies to it, you have the
				option of following the terms and conditions either of that numbered
				version or of any later version published by the Free Software
				Foundation.  If the Program does not specify a version number of the
				GNU General Public License, you may choose any version ever published
				by the Free Software Foundation.&lt;/p&gt;

				&lt;p&gt;If the Program specifies that a proxy can decide which future
				versions of the GNU General Public License can be used, that proxy's
				public statement of acceptance of a version permanently authorizes you
				to choose that version for the Program.&lt;/p&gt;

				&lt;p&gt;Later license versions may give you additional or different
				permissions.  However, no additional obligations are imposed on any
				author or copyright holder as a result of your choosing to follow a
				later version.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section15"&gt;&lt;/a&gt;15. Disclaimer of Warranty.&lt;/h4&gt;

				&lt;p&gt;THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
				APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
				HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &amp;ldquo;AS IS&amp;rdquo; WITHOUT WARRANTY
				OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
				THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
				PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
				IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
				ALL NECESSARY SERVICING, REPAIR OR CORRECTION.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section16"&gt;&lt;/a&gt;16. Limitation of Liability.&lt;/h4&gt;

				&lt;p&gt;IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
				WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
				THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
				GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
				USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
				DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
				PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
				EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
				SUCH DAMAGES.&lt;/p&gt;

				&lt;h4&gt;&lt;a name="section17"&gt;&lt;/a&gt;17. Interpretation of Sections 15 and 16.&lt;/h4&gt;

				&lt;p&gt;If the disclaimer of warranty and limitation of liability provided
				above cannot be given local legal effect according to their terms,
				reviewing courts shall apply local law that most closely approximates
				an absolute waiver of all civil liability in connection with the
				Program, unless a warranty or assumption of liability accompanies a
				copy of the Program in return for a fee.&lt;/p&gt;

				&lt;p&gt;END OF TERMS AND CONDITIONS&lt;/p&gt;

				&lt;h3&gt;&lt;a name="howto"&gt;&lt;/a&gt;How to Apply These Terms to Your New Programs&lt;/h3&gt;

				&lt;p&gt;If you develop a new program, and you want it to be of the greatest
				possible use to the public, the best way to achieve this is to make it
				free software which everyone can redistribute and change under these terms.&lt;/p&gt;

				&lt;p&gt;To do so, attach the following notices to the program.  It is safest
				to attach them to the start of each source file to most effectively
				state the exclusion of warranty; and each file should have at least
				the &amp;ldquo;copyright&amp;rdquo; line and a pointer to where the full notice is found.&lt;/p&gt;

				&lt;pre&gt;
[one line to give the program's name and a brief idea of what it does.];
Copyright (C) [year]  [name of author]

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see [http://www.gnu.org/licenses/].
				&lt;/pre&gt;

				&lt;p&gt;Also add information on how to contact you by electronic and paper mail.&lt;/p&gt;

				&lt;p&gt;If the program does terminal interaction, make it output a short
				notice like this when it starts in an interactive mode:&lt;/p&gt;

				&lt;pre&gt;
[program]  Copyright (C) [year]  [name of author]

This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
				&lt;/pre&gt;

				&lt;p&gt;The hypothetical commands `show w' and `show c' should show the appropriate
				parts of the General Public License.  Of course, your program's commands
				might be different; for a GUI interface, you would use an &amp;ldquo;about box&amp;rdquo;.&lt;/p&gt;

				&lt;p&gt;You should also get your employer (if you work as a programmer) or school,
				if any, to sign a &amp;ldquo;copyright disclaimer&amp;rdquo; for the program, if necessary.
				For more information on this, and how to apply and follow the GNU GPL, see
				[http://www.gnu.org/licenses/].&lt;/p&gt;

				&lt;p&gt;The GNU General Public License does not permit incorporating your program
				into proprietary programs.  If your program is a subroutine library, you
				may consider it more useful to permit linking proprietary applications with
				the library.  If this is what you want to do, use the GNU Lesser General
				Public License instead of this License.  But first, please read
				[http://www.gnu.org/philosophy/why-not-lgpl.html].&lt;/p&gt;

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,meta,</category>
			<pubDate>Wed, 20 Aug 2008 21:14:00 +0100</pubDate>
		</item>
		<item>
			<title>Contact</title>
			<link>http://www.classbehaviours.com/default.php?id=news&amp;mod=meta</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_classBehaviour.png"/&gt;
				&lt;p&gt;
					Look here for updates and comments, by the author and users of the site.
				&lt;/p&gt;

				~

			<![CDATA[

				<ul class="clear" id="banners">
					<li class="bordered">
						<a href="http://code.google.com/p/classbehaviours/"><img alt="Google Code" src="http://www.classbehaviours.com/images/banner_GoogleCode.png"/></a>
					</li>
					<li class="bordered">
						<a href="http://sourceforge.net/projects/classbehaviours"><img src="http://www.classbehaviours.com/images/banner_sflogo.png" width="120" height="30" alt="Get classBehaviours at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a>
					</li>
					<li>
						<a href="http://www.gnu.org/licenses/gpl.html"><img alt="GNU General Public License" src="http://www.classbehaviours.com/images/banner_gplv3-88x31.png"/></a>
					</li>
					<li class="bordered">
						<a href="http://www.linkedin.com/profile?viewProfile=&key=7577033"><img alt="Linkedin profile" src="http://www.classbehaviours.com/images/banner_linkedIn.png"/></a>
					</li>
					<li class="bordered">
						<a href="http://www.facebook.com/profile.php?id=1628686855"><img alt="Facebook" src="http://www.classbehaviours.com/images/banner_facebook.png"/></a>
					</li>
					<li class="bordered">
						<a href="http://twitter.com/WoollyMittens"><img alt="Twitter updates" src="http://www.classbehaviours.com/images/banner_twitter.png"/></a>
					</li>
					<li class="bordered">
						<a href="http://jquery.com"><img alt="jQuery" src="http://www.classbehaviours.com/images/banner_jquery2.png"/></a>
					</li>
					<li class="bordered">
						<a class="showSourceCode" href="http://www.classbehaviours.com/xml/rssSearch.xml"><img alt="RSS Feed" src="http://www.classbehaviours.com/images/banner_rss_feed.png"/></a>
					</li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,meta,</category>
			<pubDate>Thu, 21 Aug 2008 17:48:00 +0100</pubDate>
		</item>
		<item>
			<title>jQuery Add-ons</title>
			<link>http://www.classbehaviours.com/default.php?id=classbehaviour-examples&amp;cat=classbehaviour&amp;mod=category</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_classBehaviour.png"/&gt;
				&lt;p&gt;
					A collection of working examples for all available "ClassBehaviour" scripts.
				&lt;/p&gt;

				~

			<![CDATA[

				<ul class="clear" id="showCase">
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=animated-class-name"><img alt="" src="http://www.classbehaviours.com/images/icon64_animatedClassName.png"/><br/><em>Animated Class-Name</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=toggle-next-node"><img alt="" src="http://www.classbehaviours.com/images/icon64_toggleNextNode.png"/><br/><em>Toggle Next Node</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=pop-up-layer"><img alt="" src="http://www.classbehaviours.com/images/icon64_layerPopUp.png"/><br/><em>Pop-up Layer</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=insert-html-from-an-external-url"><img alt="" src="http://www.classbehaviours.com/images/icon64_reloadFromUrl.png"/><br/><em>Reload From Url</em></a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,category,</category>
			<pubDate>Thu, 16 Oct 2008 9:01:00 +0100</pubDate>
		</item>
		<item>
			<title>HTML/CSS Examples</title>
			<link>http://www.classbehaviours.com/default.php?id=interface-examples&amp;cat=markup&amp;mod=category</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_classBehaviour.png"/&gt;
				&lt;p&gt;
					Ready made markup examples of often used user-interface elements.
				&lt;/p&gt;

				~

			<![CDATA[

				<ul class="clear" id="showCase">
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=animated-class-name"><img alt="" src="http://www.classbehaviours.com/images/icon64_animatedClassName.png"/><br/><em>Animated Class-Name</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=toggle-next-node"><img alt="" src="http://www.classbehaviours.com/images/icon64_toggleNextNode.png"/><br/><em>Toggle Next Node</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=pop-up-layer"><img alt="" src="http://www.classbehaviours.com/images/icon64_layerPopUp.png"/><br/><em>Pop-up Layer</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=insert-html-from-an-external-url"><img alt="" src="http://www.classbehaviours.com/images/icon64_reloadFromUrl.png"/><br/><em>Reload From Url</em></a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,category,</category>
			<pubDate>Mon, 20 Jul 2009 8:39:00 +0100</pubDate>
		</item>
		<item>
			<title>Undocumented Stuff</title>
			<link>http://www.classbehaviours.com/default.php?id=experimental-behaviours&amp;cat=experimental&amp;mod=category</link>
			<description>

				&lt;img alt="" class="illustration" src="http://www.classbehaviours.com/images/icon128_classBehaviour.png"/&gt;
				&lt;p&gt;
					"ClassBehaviour" scripts that are still under construction or otherwise unstable.
				&lt;/p&gt;

				~

			<![CDATA[

				<ul class="clear" id="showCase">
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=animated-class-name"><img alt="" src="http://www.classbehaviours.com/images/icon64_animatedClassName.png"/><br/><em>Animated Class-Name</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=toggle-next-node"><img alt="" src="http://www.classbehaviours.com/images/icon64_toggleNextNode.png"/><br/><em>Toggle Next Node</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=pop-up-layer"><img alt="" src="http://www.classbehaviours.com/images/icon64_layerPopUp.png"/><br/><em>Pop-up Layer</em></a></li>
					<li><a class="animatedClassName focus_0,7,0 blur_0,0,0" href="?id=insert-html-from-an-external-url"><img alt="" src="http://www.classbehaviours.com/images/icon64_reloadFromUrl.png"/><br/><em>Reload From Url</em></a></li>
				</ul>

			]]>

			</description>
			<author>Woolly@WoollyMittens.nl</author>
			<category>,category,</category>
			<pubDate>Thu, 16 Oct 2008 9:01:00 +0100</pubDate>
		</item>
	</channel>
</rss>
