<?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>Abdelkader ELKALDI - Web Application Developer &#187; mootools</title>
	<atom:link href="http://updel.com/tag/mootools/feed/" rel="self" type="application/rss+xml" />
	<link>http://updel.com</link>
	<description>Just another Web Application Developer</description>
	<lastBuildDate>Mon, 23 May 2011 17:49:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Marquee using mootools</title>
		<link>http://updel.com/marquee-mootools/</link>
		<comments>http://updel.com/marquee-mootools/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 05:01:00 +0000</pubDate>
		<dc:creator>UpDeL</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[marquee]]></category>
		<category><![CDATA[marquee mootools]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://updel.com/?p=265</guid>
		<description><![CDATA[I think that everyone has a love story with marquee, I remember my first html page in notepad with a lot of &#60;Marquee&#62;. Today too, this tag still has the same charm, I love it. I&#8217;ve made a little class using mootools to reborn my favorite html tag. Easy to setup. Stop &#8220;onmouseover&#8221; Restart &#8220;onmouseout&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I think that everyone has a love story with <strong>marquee</strong>, I remember my first html page in notepad with a lot of <strong>&lt;Marquee&gt;</strong>.</p>
<p>Today too, this tag still has the same charm, I love it.<br />
I&#8217;ve made a little class using <strong>mootools</strong> to reborn my favorite html tag.</p>
<ul>
<li>Easy to setup.</li>
<li>Stop &#8220;onmouseover&#8221;</li>
<li>Restart &#8220;onmouseout&#8221;</li>
</ul>
<p><a class="demolink" title="Marquee using mootools" href="http://updel.com/demos/moomarquee/" target="_blank">See demo</a></p>
<p><span style="color: #ff0000;">For this moment, this class support only &#8220;slide&#8221; from right to left, I&#8217;ll add direction option when I&#8217;ve finished some works.</span></p>
<p><a class="demolink" title="Marquee using mootools" href="http://updel.com/demos/moomarquee/moomarquee.rar" target="_blank">Download script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://updel.com/marquee-mootools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thumbnail Drag then Crop like facebook using mootools</title>
		<link>http://updel.com/drag-and-crop-picture-inside-box/</link>
		<comments>http://updel.com/drag-and-crop-picture-inside-box/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 22:57:17 +0000</pubDate>
		<dc:creator>UpDeL</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Drag and Drop]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://updel.com/?p=24</guid>
		<description><![CDATA[I like facebook profile code, when you upload picture you can drag and drop it inside a small box, to get a thumbnail showing the good part of the picture. It&#8217;s very easy to do it using mootools core and mootools Drag plugin Click here to see demo First you have to call the mootools [...]]]></description>
			<content:encoded><![CDATA[<p>I like facebook profile code, when you upload picture you can drag and drop it inside a small box, to get a thumbnail showing the good part of the picture.</p>
<div style="text-align:center;"><img class="size-full wp-image-25 alignnone" title="facebook_thumbnail" src="http://updel.com/wp-content/uploads/facebook_thumbnail.jpg" alt="facebook_thumbnail" width="486" height="153" /></div>
<p>It&#8217;s very easy to do it using <a title="Mootools framework" href="http://mootools.net/" target="_blank">mootools</a> core and <a title="Mootools Drag plugin" href="http://mootools.net/docs/more/Drag/Drag" target="_blank">mootools Drag plugin</a></p>
<p><a class="demolink" title="Drag and Crop using mootools like facebook" href="http://updel.com/demos/dragcrop/" target="_blank">Click here to see demo</a><br />
<span id="more-24"></span><br />
First you have to call the <a title="Mootools framework" href="http://mootools.net/" target="_blank">mootools core</a> and <a title="Mootools Drag plugin" href="http://mootools.net/docs/more/Drag/Drag" target="_blank">mootools Drag plugin</a></p>
<pre class="brush: jscript;">
&lt;script src=&quot;mootools-1.2.3-core-yc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;mootools-1.2.3.1-more.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p><strong>The Javascript code :</strong></p>
<pre class="brush: jscript;">
var DivID		=	$('CropFrom');
var ImgID		=	$('CropMe');
var InputUrlID	=	$('UrlID');
var InputTopID	=	$('TopID');
var InputLeftID	=	$('LeftID');

InputUrlID.set('value',ImgID.get('src'));	// Add URL to form
var DragInDiv = new Drag(DivID, {
modifiers: {
x: 'scrollLeft',
y: 'scrollTop',
},
style: false,
invert: true,
onSnap: function(el){
ImgID.setStyles({'opacity':0.5})
},
onComplete: function(el){
ImgID.setStyles({'opacity':1})
InputTopID.set('value',	ImgID.getCoordinates(DivID).top); // Add new TOP to form
InputLeftID.set('value',	ImgID.getCoordinates(DivID).left); // Add new LEFT to form
}
});
</pre>
<p><strong>CSS code :</strong></p>
<pre class="brush: css;">
#CropFrom {
height		:	100px;
width		:	100px;
overflow	:	hidden;
cursor		:	move;
margin		:	0 auto;
}
</pre>
<p><strong>The Html code :</strong></p>
<pre class="brush: xml;">
		&lt;div id=&quot;CropFrom&quot;&gt;
			&lt;img id=&quot;CropMe&quot; src=&quot;elkalidi_abdelkader.jpg&quot;  /&gt;
		&lt;/div&gt;
		&lt;input id=&quot;UrlID&quot; type=&quot;hidden&quot; name=&quot;url&quot; value=&quot;&quot; /&gt;
		&lt;input id=&quot;TopID&quot; type=&quot;hidden&quot; name=&quot;top&quot; value=&quot;0&quot; /&gt;
		&lt;input id=&quot;LeftID&quot; type=&quot;hidden&quot; name=&quot;left&quot; value=&quot;0&quot; /&gt;
</pre>
<p><img title="show_trick" src="../wp-content/uploads/show_trick1.gif" alt="show_trick" width="430" height="258" /></p>
<p><a class="demolink" title="Download Drag and Crop" href="http://updel.com/demos/dragcrop/dragcrop.rar" target="_blank">Download full script</a></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 171px; width: 1px; height: 1px;"><strong>Here is the</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://updel.com/drag-and-crop-picture-inside-box/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>

