<?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>Abhi&#039;s Weblog &#187; Draggable DIV</title>
	<atom:link href="http://abhinavsingh.com/blog/tag/draggable-div/feed/" rel="self" type="application/rss+xml" />
	<link>http://abhinavsingh.com/blog</link>
	<description>PHP, Memcached, XMPP and Web Development</description>
	<lastBuildDate>Sat, 04 Sep 2010 10:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iGoogle Portal Implementation: How to do it?</title>
		<link>http://abhinavsingh.com/blog/2008/06/igoogle-portal-implementation-how-to-do-it/</link>
		<comments>http://abhinavsingh.com/blog/2008/06/igoogle-portal-implementation-how-to-do-it/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 17:44:18 +0000</pubDate>
		<dc:creator>Abhinav Singh</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[Draggable DIV]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iGoogle]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/igoogle-portal-implementation-how-to-do-it/</guid>
		<description><![CDATA[
			
				
			
		
After developing the draggable div application the other day, I was itched to implement the whole iGoogle portal. Probably the drive came when a few of you asked me &#8220;These draggable divs are just like iGoogle&#8221;, so I thought why not to give a shot at it.
 Here is what I was able to come [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fabhinavsingh.com%2Fblog%2F2008%2F06%2Figoogle-portal-implementation-how-to-do-it%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fabhinavsingh.com%2Fblog%2F2008%2F06%2Figoogle-portal-implementation-how-to-do-it%2F&amp;source=imoracle&amp;style=normal&amp;service=bit.ly&amp;service_api=R_f027b5a79a20a49b713f16282f1e0857&amp;hashtags=API,CSS,Demo,Draggable+DIV,Google,iGoogle,javascript,Portal" height="61" width="50" /><br />
			</a>
		</div>
<p>After developing the draggable div application the other day, I was itched to implement the whole <a href="http://www.google.co.in/ig">iGoogle</a> portal. Probably the drive came when a few of you asked me &#8220;These draggable divs are just like iGoogle&#8221;, so I thought why not to give a shot at it.</p>
<p> Here is what I was able to come up with while sitting idle at the office. I have shown 3 tabs for making it look more of a realistic demo. However only the news tab is operational as of now. Feel free to drag and drop any of the news box to any corner of the page and rest of the boxes will make place for it. <img src='http://abhinavsingh.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://abhinavsingh.com/webdemos/igoogleportal/">Find the implementation of this application here</a>.</p>
<p>Basically it proved out to be a derivative of the previous application i.e. <a href="http://abhinavsingh.com/webdemos/draggablediv/">draggable div</a>. However this one is a bit more modular, will easily fit into any changes made to the tabs and tab names or what ever.</p>
<p>Feel free to post a comment or two at the blog here.</p>
<p>Finally make your portals like iGoogle <img src='http://abhinavsingh.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/api.tweetmeme.com\/share?url=http%3A%2F%2Fabhinavsingh.com%2Fblog%2F2008%2F06%2Figoogle-portal-implementation-how-to-do-it%2F","http:\/\/www.google.co.in\/ig","http:\/\/abhinavsingh.com\/webdemos\/igoogleportal\/","http:\/\/abhinavsingh.com\/webdemos\/draggablediv\/"];var wordpress_toolbar_url = "http://abhinavsingh.com/blog/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "oinw";var wordpress_toolbar_hash = "aHR0cDovL2FiaGluYXZzaW5naC5jb20vYmxvZy8yMDA4LzA2L2lnb29nbGUtcG9ydGFsLWltcGxlbWVudGF0aW9uLWhvdy10by1kby1pdC88d3B0Yj5pR29vZ2xlIFBvcnRhbCBJbXBsZW1lbnRhdGlvbjogSG93IHRvIGRvIGl0Pzx3cHRiPmh0dHA6Ly9hYmhpbmF2c2luZ2guY29tL2Jsb2c8d3B0Yj5BYmhpJiMwMzk7cyBXZWJsb2c%3D";</script><!-- Jaxl IM embed starts -->
<script type="text/javascript">
(function() {
var jaxlChat = document.createElement("script");
jaxlChat.type = "text/javascript";
jaxlChat.async = true;
jaxlChat.src = "http://im.jaxl.im/ui/jaxl.js";
(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(jaxlChat);
})();
</script>
<!-- Jaxl IM embed ends --><ul class="related_post"><li><a href="http://abhinavsingh.com/blog/2008/06/draggable-divs-how-to-make-one/" title="Draggable DIVs : How to make one?">Draggable DIVs : How to make one?</a> (9)</li><li><a href="http://abhinavsingh.com/blog/2008/05/gmail-type-attachment-how-to-make-one/" title="Gmail Type Attachment &#8211; How to make one?">Gmail Type Attachment &#8211; How to make one?</a> (17)</li><li><a href="http://abhinavsingh.com/blog/2008/07/calendar-with-auto-notification-api-and-demo/" title="Calendar with Auto-Notification : API and demo.">Calendar with Auto-Notification : API and demo.</a> (8)</li><li><a href="http://abhinavsingh.com/blog/2008/07/photo-cropper-api-how-is-it-achieved/" title="Photo Cropper API: How is it achieved?">Photo Cropper API: How is it achieved?</a> (6)</li><li><a href="http://abhinavsingh.com/blog/2008/06/photo-tagging-api-easy-plugin-for-your-websites-and-blogs/" title="Photo Tagging API : Easy plugin for your websites and blogs">Photo Tagging API : Easy plugin for your websites and blogs</a> (14)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://abhinavsingh.com/blog/2008/06/igoogle-portal-implementation-how-to-do-it/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Draggable DIVs : How to make one?</title>
		<link>http://abhinavsingh.com/blog/2008/06/draggable-divs-how-to-make-one/</link>
		<comments>http://abhinavsingh.com/blog/2008/06/draggable-divs-how-to-make-one/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 14:59:19 +0000</pubDate>
		<dc:creator>Abhinav Singh</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[Draggable DIV]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/draggable-divs-how-to-make-one/</guid>
		<description><![CDATA[
			
				
			
		
You all must have seen a similar thing on your iGoogle home page. Further for years this application is an integral part of Yahoo User Interface Library i.e. YUI. I tried to tweak into the iGoogle and YUI implementation of the draggable div implementation, but somehow I found them rather too complex to understand. Hence [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fabhinavsingh.com%2Fblog%2F2008%2F06%2Fdraggable-divs-how-to-make-one%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fabhinavsingh.com%2Fblog%2F2008%2F06%2Fdraggable-divs-how-to-make-one%2F&amp;source=imoracle&amp;style=normal&amp;service=bit.ly&amp;service_api=R_f027b5a79a20a49b713f16282f1e0857&amp;hashtags=API,CSS,Demo,Draggable+DIV,javascript" height="61" width="50" /><br />
			</a>
		</div>
<p>You all must have seen a similar thing on your <a href="http://www.google.co.in/ig">iGoogle</a> home page. Further for years this application is an integral part of Yahoo User Interface Library i.e. <a href="http://developer.yahoo.com/yui/">YUI</a>. I tried to tweak into the iGoogle and YUI implementation of the draggable div implementation, but somehow I found them rather too complex to understand. Hence I thought of better write a short application and see if I can do the same magic. <img src='http://abhinavsingh.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is what I came up with. Still not modular enough, I coded everything as per the requirements for this demo. Probably in future I should be able to come up with a modular stuff to let others use the same.</p>
<p><a href="http://abhinavsingh.com/webdemos/draggablediv">Click for the demo here</a>.</p>
<p>Basically it proved out to be much simpler as it looked. However if you have observed and used YUI, they have a concept of proxy element for the same implementation. Basically what proxy allows you is, while you are dragging the DIV, it doesn&#8217;t actually moves the original DIV. However it simply creates a proxy DIV, which will be visibily move when we try to move the DIV.</p>
<p>Feel free to post a comment or two here. <img src='http://abhinavsingh.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Happy dragging!</p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/api.tweetmeme.com\/share?url=http%3A%2F%2Fabhinavsingh.com%2Fblog%2F2008%2F06%2Fdraggable-divs-how-to-make-one%2F","http:\/\/www.google.co.in\/ig","http:\/\/developer.yahoo.com\/yui\/","http:\/\/abhinavsingh.com\/webdemos\/draggablediv"];var wordpress_toolbar_url = "http://abhinavsingh.com/blog/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "oinw";var wordpress_toolbar_hash = "aHR0cDovL2FiaGluYXZzaW5naC5jb20vYmxvZy8yMDA4LzA2L2RyYWdnYWJsZS1kaXZzLWhvdy10by1tYWtlLW9uZS88d3B0Yj5EcmFnZ2FibGUgRElWcyA6IEhvdyB0byBtYWtlIG9uZT88d3B0Yj5odHRwOi8vYWJoaW5hdnNpbmdoLmNvbS9ibG9nPHdwdGI%2BQWJoaSYjMDM5O3MgV2VibG9n";</script><!-- Jaxl IM embed starts -->
<script type="text/javascript">
(function() {
var jaxlChat = document.createElement("script");
jaxlChat.type = "text/javascript";
jaxlChat.async = true;
jaxlChat.src = "http://im.jaxl.im/ui/jaxl.js";
(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(jaxlChat);
})();
</script>
<!-- Jaxl IM embed ends --><ul class="related_post"><li><a href="http://abhinavsingh.com/blog/2008/06/igoogle-portal-implementation-how-to-do-it/" title="iGoogle Portal Implementation: How to do it?">iGoogle Portal Implementation: How to do it?</a> (11)</li><li><a href="http://abhinavsingh.com/blog/2008/07/calendar-with-auto-notification-api-and-demo/" title="Calendar with Auto-Notification : API and demo.">Calendar with Auto-Notification : API and demo.</a> (8)</li><li><a href="http://abhinavsingh.com/blog/2008/07/photo-cropper-api-how-is-it-achieved/" title="Photo Cropper API: How is it achieved?">Photo Cropper API: How is it achieved?</a> (6)</li><li><a href="http://abhinavsingh.com/blog/2008/06/photo-tagging-api-easy-plugin-for-your-websites-and-blogs/" title="Photo Tagging API : Easy plugin for your websites and blogs">Photo Tagging API : Easy plugin for your websites and blogs</a> (14)</li><li><a href="http://abhinavsingh.com/blog/2008/05/gmail-type-attachment-how-to-make-one/" title="Gmail Type Attachment &#8211; How to make one?">Gmail Type Attachment &#8211; How to make one?</a> (17)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://abhinavsingh.com/blog/2008/06/draggable-divs-how-to-make-one/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
