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

<channel>
	<title>Eklog &#187; DOM</title>
	<atom:link href="http://www.ekstasis.net/log/category/dom/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ekstasis.net/log</link>
	<description></description>
	<lastBuildDate>Sun, 13 Sep 2009 21:21:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Good Web Development Books</title>
		<link>http://www.ekstasis.net/log/2007/12/15/latest-books/</link>
		<comments>http://www.ekstasis.net/log/2007/12/15/latest-books/#comments</comments>
		<pubDate>Sat, 15 Dec 2007 10:52:59 +0000</pubDate>
		<dc:creator>mat</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ekstasis.net/log/2007/12/15/latest-books/</guid>
		<description><![CDATA[Good web dev reference books:




]]></description>
			<content:encoded><![CDATA[<p>Good web dev reference books:</p>
<p><a class="books" href="http://www.amazon.co.uk/gp/product/0980285801?ie=UTF8&#038;tag=httpwwwekstas-21&#038;linkCode=as2&#038;camp=1634&#038;creative=6738&#038;creativeASIN=0980285801"><img  class="reflect rheight10 ropacity30" src="/images/blog/affilliate/simply-javascript.jpg"></a><img class="amazonLinkBlock" src="http://www.assoc-amazon.co.uk/e/ir?t=httpwwwekstas-21&#038;l=as2&#038;o=2&#038;a=0980285801" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><a class="books" href="http://www.amazon.co.uk/gp/product/1590597311?ie=UTF8&#038;tag=httpwwwekstas-21&#038;linkCode=as2&#038;camp=1634&#038;creative=6738&#038;creativeASIN=1590597311"><img class="reflect rheight10 ropacity30"  src="/images/blog/affilliate/php-solutions.jpg"></a><img class="amazonLinkBlock" src="http://www.assoc-amazon.co.uk/e/ir?t=httpwwwekstas-21&#038;l=as2&#038;o=2&#038;a=1590597311" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><a class="books" href="http://www.amazon.co.uk/gp/product/1590598563?ie=UTF8&#038;tag=httpwwwekstas-21&#038;linkCode=as2&#038;camp=1634&#038;creative=6738&#038;creativeASIN=1590598563"><img class="reflect rheight10 ropacity30"  src="/images/blog/affilliate/dom-scripting.jpg"></a><img class="amazonLinkBlock" src="http://www.assoc-amazon.co.uk/e/ir?t=httpwwwekstas-21&#038;l=as2&#038;o=2&#038;a=1590598563" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<hr class="clear" />
]]></content:encoded>
			<wfw:commentRss>http://www.ekstasis.net/log/2007/12/15/latest-books/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOM drag-sort lists</title>
		<link>http://www.ekstasis.net/log/2006/04/05/dom-drag-sort-lists/</link>
		<comments>http://www.ekstasis.net/log/2006/04/05/dom-drag-sort-lists/#comments</comments>
		<pubDate>Thu, 06 Apr 2006 00:20:48 +0000</pubDate>
		<dc:creator>mat</dc:creator>
				<category><![CDATA[DOM]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ekstasis.net/log/?p=9</guid>
		<description><![CDATA[DOM-Drag is a dragging API for modern DHTML browsers. It allows users to move elements of a page. The movement can be unrestricted, or constrained to a area, such as an ordered list. The same functionality has also been developed using PHP. It&#8217;s a great way to add some dynamics to otherwise static HTML/CSS layouts.
There&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>DOM-Drag is a dragging API for modern DHTML browsers. It allows users to move elements of a page. The movement can be unrestricted, or constrained to a area, such as an ordered list. The same functionality has also been developed using PHP. It&#8217;s a great way to add some dynamics to otherwise static HTML/CSS layouts.</p>
<p>There&#8217;s a fantastic application from Tim at <a href="http://tool-man.org/examples/">ToolMan.org</a>. It lets visitors rearrange the position of an item in a list, and if the elements contain text they can a edit the titles as they see fit. It could be a navigation menu or a bunch of MP3s.</p>
<p>I&#8217;ve created an adjustable site link list you can play with in this site &#8211; it&#8217;s here: <a href="/resources/domlist.php">drag-sort site link list</a>. It has the cookie script working so the items stay in place when you return to the site.</p>
<p>The examples on the Toolman site for sorting and edit in place don&#8217;t store the order in a cookie. After advice from The (very kind) Tool Man, I got cookies working on the &#8217;sorting in two dimensions&#8217; by adding a unique ID to each list item. The cookie script is from <a href="http://www.quirksmode.org/">Quirksmode.org</a>. Cookies are a necessity, as most applications are only useful if a user can keep the chosen order when returning to the page.</p>
<p>There are a number of alternative approaches to drop-drag lists. <a href="http://www.youngpup.net/2001/domdrag">Youngpup</a> has a site with useful tutorials and examples. He also uses DOM JavaScript. <a href="http://neb.net/playground/dragdrop/">Neb.net </a>is an example of dragging between two lists using PHP. The first application that comes to mind is allowing visitors to move their preferred links from a main menu to a &#8216;quick links&#8217; or &#8216;favourites&#8217; menu. <a href="http://demo.script.aculo.us/shop">Scriptaculous drag-drop cart</a> has a drag-drop shopping cart. Looks great and really easy to use. <a href="http://cyberdummy.co.uk/test/cart.php">Cyberdummy drag-drop cart</a> has created a version using PHP. Cyberdummy  also demonstrates a <a href="http://cyberdummy.co.uk/test/dd.php">PHP drag-drop</a> version where you can save the order using a database.</p>
<p>There&#8217;s number of useful DOM-drag-drop-DHTML links listed in the <a href="/site/dhs/dom_drag">DOM-drag JavaScript scripts</a> section.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ekstasis.net/log/2006/04/05/dom-drag-sort-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
