<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Reflection.js 1.6</title>
	<atom:link href="http://cow.neondragon.net/index.php/1343-Reflectionjs-16/feed" rel="self" type="application/rss+xml" />
	<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16</link>
	<description>Helping you to get the most out of modern technology and communications since 2004.</description>
	<lastBuildDate>Mon, 15 Mar 2010 10:20:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ucvhost</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-4#comment-5982</link>
		<dc:creator>ucvhost</dc:creator>
		<pubDate>Fri, 19 Feb 2010 11:36:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-5982</guid>
		<description>Thanks for a great script bar a few IE errors its perfect.

Im sure you already know but the onmouseover events to vary the reflections opacity does not work in IE, is there any way around this?</description>
		<content:encoded><![CDATA[<p>Thanks for a great script bar a few IE errors its perfect.</p>
<p>Im sure you already know but the onmouseover events to vary the reflections opacity does not work in IE, is there any way around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-4#comment-5461</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 24 Nov 2009 20:47:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-5461</guid>
		<description>Really nice post,thanks for sharing....Really nice post,thanks for sharing....</description>
		<content:encoded><![CDATA[<p>Really nice post,thanks for sharing&#8230;.Really nice post,thanks for sharing&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Khlo</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-1#comment-829</link>
		<dc:creator>Khlo</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-829</guid>
		<description>If you&#039;ve got any questions on how to use Reflection.js or problems, it&#039;s worth taking a look around the &lt;a href=&quot;/index.php/1025-Reflectionjs-Version-15&quot;&gt;comments for version 1.5&lt;/a&gt; too. The usage of the two versions are the same. </description>
		<content:encoded><![CDATA[<p>If you&#8217;ve got any questions on how to use Reflection.js or problems, it&#8217;s worth taking a look around the <a href="/index.php/1025-Reflectionjs-Version-15">comments for version 1.5</a> too. The usage of the two versions are the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giggsey</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-1#comment-840</link>
		<dc:creator>Giggsey</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-840</guid>
		<description>&lt;p&gt;Not sure, but this is weird.&lt;/p&gt;&lt;p&gt;&#160;Did the refloectomatic for http://www.appliedwebhost.com/temp.gif and the image doesn&#039;t appear right in the reflection.&lt;/p&gt;&lt;p&gt;&#160;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://img55.imageshack.us/my.php?image=errorfa9.jpg&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://img55.imageshack.us/img55/5585/errorfa9.th.jpg&quot; border=&quot;0&quot; alt=&quot;Free Image Hosting at www.ImageShack.us&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Not sure, but this is weird.</p>
<p>&nbsp;Did the refloectomatic for <a href="http://www.appliedwebhost.com/temp.gif" rel="nofollow">http://www.appliedwebhost.com/temp.gif</a> and the image doesn&#8217;t appear right in the reflection.</p>
<p>&nbsp;</p>
<p><a href="http://img55.imageshack.us/my.php?image=errorfa9.jpg" target="_blank"><img src="http://img55.imageshack.us/img55/5585/errorfa9.th.jpg" border="0" alt="Free Image Hosting at <a href="http://www.ImageShack.us" rel="nofollow"/>http://www.ImageShack.us</a>&#8221; /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Khlo</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-1#comment-841</link>
		<dc:creator>Khlo</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-841</guid>
		<description>That&#039;s kinda strange. There is a known issue with Firefox and GIF transparencies so this may be to do with it.&lt;br /&gt;</description>
		<content:encoded><![CDATA[<p>That&#8217;s kinda strange. There is a known issue with Firefox and GIF transparencies so this may be to do with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Westbrook</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-1#comment-842</link>
		<dc:creator>Paul Westbrook</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-842</guid>
		<description>&lt;p&gt;I created a &lt;a href=&quot;http://www.paulstimesink.com/post/2006/07/17/reflection&quot;&gt;plugin&lt;/a&gt; wrapper for LifeType to allow users of LifeType to use Reflection.js.&lt;/p&gt;&lt;p&gt;Reflection.js was very easy to integrate.&#160;&#160;&lt;/p&gt;&lt;p&gt;&#160;&lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt;Paul&#160;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I created a <a href="http://www.paulstimesink.com/post/2006/07/17/reflection">plugin</a> wrapper for LifeType to allow users of LifeType to use Reflection.js.</p>
<p>Reflection.js was very easy to integrate.&nbsp;&nbsp;</p>
<p>&nbsp;</p>
<p>Thank you,</p>
<p>Paul&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-1#comment-913</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-913</guid>
		<description>&lt;p&gt;Hi Khlo!&lt;/p&gt;&lt;p&gt;I have applied the Reflections 1.6 and my Lightbox mod and for some strange reason it isn&#039;t working in IE. Firefox is fine. I did notice however it doesn&#039;t seem to matter what version of Reflections it is. I have pin pointed it down to the Lightbox.js. It seems to be doubling the size of the background needed. Any help would be greatly appreciated. Here&#039;s the link http://www.comfypad.com/test.php&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&#160;&lt;/p&gt;&lt;p&gt;Jon&#160;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hi Khlo!</p>
<p>I have applied the Reflections 1.6 and my Lightbox mod and for some strange reason it isn&#8217;t working in IE. Firefox is fine. I did notice however it doesn&#8217;t seem to matter what version of Reflections it is. I have pin pointed it down to the Lightbox.js. It seems to be doubling the size of the background needed. Any help would be greatly appreciated. Here&#8217;s the link <a href="http://www.comfypad.com/test.php" rel="nofollow">http://www.comfypad.com/test.php</a></p>
<p>Thanks</p>
<p>&nbsp;</p>
<p>Jon&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-1#comment-914</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-914</guid>
		<description>&lt;p&gt;Scrap that last comment!&lt;/p&gt;&lt;p&gt;It is the reflections file, 1.5 is fine 1.6 seems to double the size of the image in the lightbox.&lt;/p&gt;&lt;p&gt;Just thought I should let you know &lt;br /&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Scrap that last comment!</p>
<p>It is the reflections file, 1.5 is fine 1.6 seems to double the size of the image in the lightbox.</p>
<p>Just thought I should let you know </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Planner</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-1#comment-929</link>
		<dc:creator>Planner</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-929</guid>
		<description>&lt;p&gt;Absolutly fabulous. I just installed rmagick and graphicsmagick to make reflective images for my site and then I stumbled on this. Great job! will test&#160; it out in a day or two. The sample reflections looks far better than once I&#039;ve seen.&lt;/p&gt;&lt;p&gt;Kudos!&#160;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Absolutly fabulous. I just installed rmagick and graphicsmagick to make reflective images for my site and then I stumbled on this. Great job! will test&nbsp; it out in a day or two. The sample reflections looks far better than once I&#8217;ve seen.</p>
<p>Kudos!&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Giammarchi</title>
		<link>http://cow.neondragon.net/index.php/1343-Reflectionjs-16/comment-page-1#comment-930</link>
		<dc:creator>Andrea Giammarchi</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-930</guid>
		<description>&lt;p&gt;less than 5 Kb ?&lt;/p&gt;&lt;p&gt;why shouldn&#039;t be less than 4 Kb &lt;img src=&quot;/ui/emoticons/tongue.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;&lt;p&gt;&#160;&lt;/p&gt;&lt;pre&gt;// getElementsByClassName with JSL [http://www.devpro.it/JSL/]&lt;br /&gt;document.getElementsByClassName = function(className) {&lt;br /&gt;	var 	result = [], re = new RegExp(&quot;\\b&quot;.concat(className, &quot;\\b&quot;));&lt;br /&gt;	for(var i = 0, list = document.getElementsByTagName(&quot;*&quot;) &#124;&#124; document.all, j = list.length; i &lt; j; i++)&lt;br /&gt;		result.push(list[i]);&lt;br /&gt;	return result.filter(function(){return re.test(arguments[0].className)});&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;var Reflection = {&lt;br /&gt;	defaultHeight : 0.5,&lt;br /&gt;	defaultOpacity: 0.5,&lt;br /&gt;	add:	function(image, options) {&lt;br /&gt;		var	reflectionHeight = 0,&lt;br /&gt;			div = document.createElement(&quot;div&quot;),&lt;br /&gt;			reflection = {}, context = {}, gradient, doptions = {&quot;height&quot;:this.defaultHeight, &quot;opacity&quot;:this.defaultOpacity};&lt;br /&gt;		this.remove(image);&lt;br /&gt;		if(options) {&lt;br /&gt;			if(!options.height)&lt;br /&gt;				options.height = doptions.height;&lt;br /&gt;			if(!options.opacity)&lt;br /&gt;				options.opacity = doptions.opacity;&lt;br /&gt;		}&lt;br /&gt;		else&lt;br /&gt;			options = doptions;&lt;br /&gt;		reflectionHeight = Math.floor(image.height * options.height);&lt;br /&gt;		div.className = image.className.replace(/\breflect\b/, &quot;&quot;);&lt;br /&gt;		image.className = &quot;reflected&quot;;&lt;br /&gt;		div.style.cssText = image.style.cssText;&lt;br /&gt;		image.style.cssText = &quot;vertical-align: bottom&quot;;&lt;br /&gt;		if(document.all &amp;&amp; !window.opera) {&lt;br /&gt;			reflection = document.createElement(&quot;img&quot;);&lt;br /&gt;			reflection.src = image.src;&lt;br /&gt;			reflection.style.width = image.width + &quot;px&quot;;&lt;br /&gt;			reflection.style.marginBottom = &quot;-&quot;.concat(image.height - reflectionHeight, &quot;px&quot;);&lt;br /&gt;			reflection.style.filter = &quot;flipv progid:DXImageTransform.Microsoft.Alpha(opacity=&quot;.concat(options.opacity*100, &quot;,style=1,finishOpacity=0,startx=0,starty=0,finishx=0,finishy=&quot;, options.height*100, &quot;)&quot;);&lt;br /&gt;		}&lt;br /&gt;		else {&lt;br /&gt;			reflection = document.createElement(&quot;canvas&quot;);&lt;br /&gt;			reflection.style.height = reflectionHeight + &quot;px&quot;;&lt;br /&gt;			reflection.style.width = image.width + &quot;px&quot;;&lt;br /&gt;			reflection.height = reflectionHeight;&lt;br /&gt;			reflection.width = image.width;&lt;br /&gt;			context = reflection.getContext(&quot;2d&quot;);&lt;br /&gt;			context.save();&lt;br /&gt;			context.translate(0,image.height-1);&lt;br /&gt;			context.scale(1,-1);&lt;br /&gt;			context.drawImage(image, 0, 0, image.width, image.height);&lt;br /&gt;			context.restore();&lt;br /&gt;			context.globalCompositeOperation = &quot;destination-out&quot;;&lt;br /&gt;			gradient = context.createLinearGradient(0, 0, 0, reflectionHeight);&lt;br /&gt;			gradient.addColorStop(1, &quot;rgba(255, 255, 255, 1.0)&quot;);&lt;br /&gt;			gradient.addColorStop(0, &quot;rgba(255, 255, 255, &quot;+(1-options.opacity)+&quot;)&quot;);&lt;br /&gt;			context.fillStyle = gradient;&lt;br /&gt;			if (navigator.appVersion.indexOf(&quot;WebKit&quot;) !== -1)&lt;br /&gt;				context.fill();&lt;br /&gt;			else&lt;br /&gt;				context.fillRect(0, 0, image.width, reflectionHeight*2);&lt;br /&gt;		};&lt;br /&gt;		div.style.width = image.width + &quot;px&quot;;&lt;br /&gt;		div.style.height = Math.floor(image.height*(1+options.height)) + &quot;px&quot;;&lt;br /&gt;		image.parentNode.replaceChild(div, image);&lt;br /&gt;		div.appendChild(image);&lt;br /&gt;		div.appendChild(reflection);&lt;br /&gt;	},&lt;br /&gt;	remove:	function(image) {&lt;br /&gt;		if (image.className == &quot;reflected&quot;) {&lt;br /&gt;			image.className = image.parentNode.className;&lt;br /&gt;			image.parentNode.parentNode.replaceChild(image, image.parentNode);&lt;br /&gt;		}&lt;br /&gt;	}&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;function addReflections() {&lt;br /&gt;	for(var i = 0, rimages = document.getElementsByClassName(&quot;reflect&quot;); i &lt; rimages.length; i++) {&lt;br /&gt;		var rheight = null, ropacity = null, classes = rimages[i].className.split(&#039; &#039;);&lt;br /&gt;		for (var j = 0; j &lt; classes.length; j++) {&lt;br /&gt;			if (classes[j].indexOf(&quot;rheight&quot;) == 0)&lt;br /&gt;				rheight = classes[j].substring(7)/100;&lt;br /&gt;			else if (classes[j].indexOf(&quot;ropacity&quot;) == 0)&lt;br /&gt;				ropacity = classes[j].substring(8)/100;&lt;br /&gt;		};&lt;br /&gt;		Reflection.add(rimages[i], { height: rheight, opacity : ropacity});&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;var previousOnload = window.onload;&lt;br /&gt;window.onload = function () { if(previousOnload) previousOnload(); addReflections(); } &lt;br /&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>less than 5 Kb ?</p>
<p>why shouldn&#8217;t be less than 4 Kb <img src="/ui/emoticons/tongue.png" alt="" /></p>
<p>&nbsp;</p>
<pre>// getElementsByClassName with JSL [http://www.devpro.it/JSL/]document.getElementsByClassName = function(className) {	var 	result = [], re = new RegExp(&quot;\\b&quot;.concat(className, &quot;\\b&quot;));	for(var i = 0, list = document.getElementsByTagName(&quot;*&quot;) || document.all, j = list.length; i &lt; j; i++)		result.push(list[i]);	return result.filter(function(){return re.test(arguments[0].className)});};

var Reflection = {	defaultHeight : 0.5,	defaultOpacity: 0.5,	add:	function(image, options) {		var	reflectionHeight = 0,			div = document.createElement(&quot;div&quot;),			reflection = {}, context = {}, gradient, doptions = {&quot;height&quot;:this.defaultHeight, &quot;opacity&quot;:this.defaultOpacity};		this.remove(image);		if(options) {			if(!options.height)				options.height = doptions.height;			if(!options.opacity)				options.opacity = doptions.opacity;		}		else			options = doptions;		reflectionHeight = Math.floor(image.height * options.height);		div.className = image.className.replace(/\breflect\b/, &quot;&quot;);		image.className = &quot;reflected&quot;;		div.style.cssText = image.style.cssText;		image.style.cssText = &quot;vertical-align: bottom&quot;;		if(document.all &amp;&amp; !window.opera) {			reflection = document.createElement(&quot;img&quot;);			reflection.src = image.src;			reflection.style.width = image.width + &quot;px&quot;;			reflection.style.marginBottom = &quot;-&quot;.concat(image.height - reflectionHeight, &quot;px&quot;);			reflection.style.filter = &quot;flipv progid:DXImageTransform.Microsoft.Alpha(opacity=&quot;.concat(options.opacity*100, &quot;,style=1,finishOpacity=0,startx=0,starty=0,finishx=0,finishy=&quot;, options.height*100, &quot;)&quot;);		}		else {			reflection = document.createElement(&quot;canvas&quot;);			reflection.style.height = reflectionHeight + &quot;px&quot;;			reflection.style.width = image.width + &quot;px&quot;;			reflection.height = reflectionHeight;			reflection.width = image.width;			context = reflection.getContext(&quot;2d&quot;);			context.save();			context.translate(0,image.height-1);			context.scale(1,-1);			context.drawImage(image, 0, 0, image.width, image.height);			context.restore();			context.globalCompositeOperation = &quot;destination-out&quot;;			gradient = context.createLinearGradient(0, 0, 0, reflectionHeight);			gradient.addColorStop(1, &quot;rgba(255, 255, 255, 1.0)&quot;);			gradient.addColorStop(0, &quot;rgba(255, 255, 255, &quot;+(1-options.opacity)+&quot;)&quot;);			context.fillStyle = gradient;			if (navigator.appVersion.indexOf(&quot;WebKit&quot;) !== -1)				context.fill();			else				context.fillRect(0, 0, image.width, reflectionHeight*2);		};		div.style.width = image.width + &quot;px&quot;;		div.style.height = Math.floor(image.height*(1+options.height)) + &quot;px&quot;;		image.parentNode.replaceChild(div, image);		div.appendChild(image);		div.appendChild(reflection);	},	remove:	function(image) {		if (image.className == &quot;reflected&quot;) {			image.className = image.parentNode.className;			image.parentNode.parentNode.replaceChild(image, image.parentNode);		}	}};

function addReflections() {	for(var i = 0, rimages = document.getElementsByClassName(&quot;reflect&quot;); i &lt; rimages.length; i++) {		var rheight = null, ropacity = null, classes = rimages[i].className.split(' ');		for (var j = 0; j &lt; classes.length; j++) {			if (classes[j].indexOf(&quot;rheight&quot;) == 0)				rheight = classes[j].substring(7)/100;			else if (classes[j].indexOf(&quot;ropacity&quot;) == 0)				ropacity = classes[j].substring(8)/100;		};		Reflection.add(rimages[i], { height: rheight, opacity : ropacity});	}

};

var previousOnload = window.onload;window.onload = function () { if(previousOnload) previousOnload(); addReflections(); } </pre>
]]></content:encoded>
	</item>
</channel>
</rss>
