<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Mootools text drop-shadow</title>
	<link>http://pr0digy.com/mootools/text-dropshadows/</link>
	<description>Web development with CodeIgniter and Mootools.</description>
	<pubDate>Thu, 28 Aug 2008 05:23:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Alex</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-873</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 19 Aug 2008 09:40:59 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-873</guid>
		<description>It's doable.  Personally, I don't see much use for it.</description>
		<content:encoded><![CDATA[<p>It&#8217;s doable.  Personally, I don&#8217;t see much use for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmed</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-870</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Tue, 19 Aug 2008 00:29:50 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-870</guid>
		<description>I wonder if the same technique can be used to add glow effect. Some browsers will not display the CSS glow effect you know.</description>
		<content:encoded><![CDATA[<p>I wonder if the same technique can be used to add glow effect. Some browsers will not display the CSS glow effect you know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: batman42ca</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-857</link>
		<dc:creator>batman42ca</dc:creator>
		<pubDate>Fri, 08 Aug 2008 11:56:52 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-857</guid>
		<description>Daniel,

Thanks for spotting the typo. The corrected changes to convert from 1.1 to 1.2 are:

Inside applyDropShadow(), do the following

add this:

&lt;code&gt;
var size = el.getSize();
&lt;/code&gt;

replace this

&lt;code&gt;
height: el.getSize().size.y + offsetY,
width: el.getSize().size.x + offsetX
&lt;/code&gt;

with this

&lt;code&gt;
height: size.y + offsetY,
width: size.x + offsetX
&lt;/code&gt;

and replace this

&lt;code&gt;
el.remove();
&lt;/code&gt;

with this

&lt;code&gt;
el.destroy();
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>Thanks for spotting the typo. The corrected changes to convert from 1.1 to 1.2 are:</p>
<p>Inside applyDropShadow(), do the following</p>
<p>add this:</p>
<p><code><br />
var size = el.getSize();<br />
</code></p>
<p>replace this</p>
<p><code><br />
height: el.getSize().size.y + offsetY,<br />
width: el.getSize().size.x + offsetX<br />
</code></p>
<p>with this</p>
<p><code><br />
height: size.y + offsetY,<br />
width: size.x + offsetX<br />
</code></p>
<p>and replace this</p>
<p><code><br />
el.remove();<br />
</code></p>
<p>with this</p>
<p><code><br />
el.destroy();<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Buchner</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-855</link>
		<dc:creator>Daniel Buchner</dc:creator>
		<pubDate>Fri, 08 Aug 2008 01:53:34 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-855</guid>
		<description>Wow, that was stupid, I was missing one ellipsis dot for the JS file path!

But when that was fixed I did get one error that needed correction from what batman42ca posted:

height: el.size.y + offsetY,
width: el.size.x + offsetX

his fix for this section should not have the el before size.x and size.y, I got a firebug break on that and it cleared right up when the el was erased.

Anywho, sorry for that last dumbassical post, great script Alex and thanks for the help with the 1.2 convert Batman - Blamo, Pow!

old school batman stuff, in case you didn't get that :)</description>
		<content:encoded><![CDATA[<p>Wow, that was stupid, I was missing one ellipsis dot for the JS file path!</p>
<p>But when that was fixed I did get one error that needed correction from what batman42ca posted:</p>
<p>height: el.size.y + offsetY,<br />
width: el.size.x + offsetX</p>
<p>his fix for this section should not have the el before size.x and size.y, I got a firebug break on that and it cleared right up when the el was erased.</p>
<p>Anywho, sorry for that last dumbassical post, great script Alex and thanks for the help with the 1.2 convert Batman - Blamo, Pow!</p>
<p>old school batman stuff, in case you didn&#8217;t get that :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-853</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 07 Aug 2008 18:59:35 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-853</guid>
		<description>Hmm, looks like you forgot to include the drop shadow script...  Essentially, the error means, that TextDropShadow object does not exist.</description>
		<content:encoded><![CDATA[<p>Hmm, looks like you forgot to include the drop shadow script&#8230;  Essentially, the error means, that TextDropShadow object does not exist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Buchner</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-852</link>
		<dc:creator>Daniel Buchner</dc:creator>
		<pubDate>Thu, 07 Aug 2008 15:57:38 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-852</guid>
		<description>I am kind of frustrated, even before batman42ca's post I was tinkering with things to try and get it working with 1.2 and kept getting this:

&lt;code&gt;
TextDropShadow is not defined

start()
E()mootools-1.2-core... (line 56)
extend(undefined)mootools-1.2-core... (line 57)
fireEvent(function())mootools-1.2-core... (line 173)
fireEvent("domready", undefined, undefined)mootools-1.2-core... (line 174)
onAdd()mootools-1.2-core... (line 248)
C()mootools-1.2-core... (line 168)
[Break on this error] new TextDropShadow($$('.textshadow'), {color:'#fff', top:1, left:1})...&lt;code&gt;

even after the changes posted I still get the undefined error.

I have the exact same instantiation as the demo, save my elements switched in under the object's, and it blows up every time.

for some reason the instantiation of this class looks wierd...

here is my page's script init: 

&lt;code&gt;
 
 var Site = {
	
			    start: function(){        
                  new TextDropShadow($$('.textshadow'), {color:'#fff', top:1, left:1});
                }	
		    };

   window.addEvent('domready', Site.start);
&lt;code&gt;

Any help here would be greatly appreciated</description>
		<content:encoded><![CDATA[<p>I am kind of frustrated, even before batman42ca&#8217;s post I was tinkering with things to try and get it working with 1.2 and kept getting this:</p>
<p><code><br />
TextDropShadow is not defined</p>
<p>start()<br />
E()mootools-1.2-core... (line 56)<br />
extend(undefined)mootools-1.2-core... (line 57)<br />
fireEvent(function())mootools-1.2-core... (line 173)<br />
fireEvent("domready", undefined, undefined)mootools-1.2-core... (line 174)<br />
onAdd()mootools-1.2-core... (line 248)<br />
C()mootools-1.2-core... (line 168)<br />
[Break on this error] new TextDropShadow($$('.textshadow'), {color:'#fff', top:1, left:1})...</code><code></p>
<p>even after the changes posted I still get the undefined error.</p>
<p>I have the exact same instantiation as the demo, save my elements switched in under the object's, and it blows up every time.</p>
<p>for some reason the instantiation of this class looks wierd...</p>
<p>here is my page's script init: </p>
<p></code><code></p>
<p> var Site = {</p>
<p>			    start: function(){<br />
                  new TextDropShadow($$('.textshadow'), {color:'#fff', top:1, left:1});<br />
                }<br />
		    };</p>
<p>   window.addEvent('domready', Site.start);<br />
</code><code></p>
<p>Any help here would be greatly appreciated</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-851</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 07 Aug 2008 15:04:44 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-851</guid>
		<description>Thanks for that, Batman :)  I'll be converting most of the scripts to 1.2, soon :)</description>
		<content:encoded><![CDATA[<p>Thanks for that, Batman :)  I&#8217;ll be converting most of the scripts to 1.2, soon :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: batman42ca</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-850</link>
		<dc:creator>batman42ca</dc:creator>
		<pubDate>Thu, 07 Aug 2008 12:36:08 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-850</guid>
		<description>I just converted it to 1.2. All you have to do is the following:

Inside applyDropShadow(), do the following

add this:

  var size = el.getSize();

replace this

  height: el.getSize().size.y + offsetY,
  width:  el.getSize().size.x + offsetX

with this

  height: el.size.y + offsetY,
  width:  el.size.x + offsetX

and replace this
 el.remove();

with this
  el.destroy();</description>
		<content:encoded><![CDATA[<p>I just converted it to 1.2. All you have to do is the following:</p>
<p>Inside applyDropShadow(), do the following</p>
<p>add this:</p>
<p>  var size = el.getSize();</p>
<p>replace this</p>
<p>  height: el.getSize().size.y + offsetY,<br />
  width:  el.getSize().size.x + offsetX</p>
<p>with this</p>
<p>  height: el.size.y + offsetY,<br />
  width:  el.size.x + offsetX</p>
<p>and replace this<br />
 el.remove();</p>
<p>with this<br />
  el.destroy();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-836</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 26 Jul 2008 10:24:54 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-836</guid>
		<description>Hi Florian, I'm thinking of rewriting (adjusting) the scripts for 1.2.  Though I can't really give you the time frame on that :(</description>
		<content:encoded><![CDATA[<p>Hi Florian, I&#8217;m thinking of rewriting (adjusting) the scripts for 1.2.  Though I can&#8217;t really give you the time frame on that :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian Hofmann</title>
		<link>http://pr0digy.com/mootools/text-dropshadows/#comment-834</link>
		<dc:creator>Florian Hofmann</dc:creator>
		<pubDate>Thu, 24 Jul 2008 21:07:11 +0000</pubDate>
		<guid>http://pr0digy.com/mootools/text-dropshadows/#comment-834</guid>
		<description>hi,

will you touch it again to make it also working with mootools 1.2? would be fantastic! :-)
thank you for your great work.</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>will you touch it again to make it also working with mootools 1.2? would be fantastic! :-)<br />
thank you for your great work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
