<?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.8</title>
	<atom:link href="http://cow.neondragon.net/index.php/reflectionjs-18/feed" rel="self" type="application/rss+xml" />
	<link>http://cow.neondragon.net/index.php/reflectionjs-18</link>
	<description>Helping you to get the most out of modern technology and communications since 2004.</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:38:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Adam</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-4845</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Thu, 25 Jun 2009 02:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-4845</guid>
		<description>I really like the script but I was wonder if there was a way to make the reflection overlap divs below it? As in I am using it for part of a header and would like the reflected image to overlap the top part of the body div which is located right below the header div.</description>
		<content:encoded><![CDATA[<p>I really like the script but I was wonder if there was a way to make the reflection overlap divs below it? As in I am using it for part of a header and would like the reflected image to overlap the top part of the body div which is located right below the header div.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: magj</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-3026</link>
		<dc:creator>magj</dc:creator>
		<pubDate>Sat, 17 May 2008 08:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-3026</guid>
		<description>Hi!

is there any workaround to have reflection for more than a class? 
i.e.: Class1: reflected, Class2=imagereflect</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>is there any workaround to have reflection for more than a class?<br />
i.e.: Class1: reflected, Class2=imagereflect</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cow</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-2495</link>
		<dc:creator>Cow</dc:creator>
		<pubDate>Fri, 21 Mar 2008 12:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-2495</guid>
		<description>Thanks for the heads up alinear! I decided to go for the first option. I figured that for backwards compatibility I&#039;d need to provide a getElementsByClassName function and that given it was being defined by the script, it might as well be used. It&#039;s been renamed to document.myGetElementsByClassName. I had given thought to getting the script to work with the native getElementsByClassName function which may be much faster but it&#039;d add another code path.

I&#039;ve released version 1.9 with the fix!

And iSynth: I&#039;m afraid that website has the album cover and reflection as an image! You could check out a script called reflex.js which is very similar to reflection.js but allows you to tilt images, etc.</description>
		<content:encoded><![CDATA[<p>Thanks for the heads up alinear! I decided to go for the first option. I figured that for backwards compatibility I&#8217;d need to provide a getElementsByClassName function and that given it was being defined by the script, it might as well be used. It&#8217;s been renamed to document.myGetElementsByClassName. I had given thought to getting the script to work with the native getElementsByClassName function which may be much faster but it&#8217;d add another code path.</p>
<p>I&#8217;ve released version 1.9 with the fix!</p>
<p>And iSynth: I&#8217;m afraid that website has the album cover and reflection as an image! You could check out a script called reflex.js which is very similar to reflection.js but allows you to tilt images, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iSynth</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-2494</link>
		<dc:creator>iSynth</dc:creator>
		<pubDate>Fri, 21 Mar 2008 11:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-2494</guid>
		<description>hallo Cow! one more question: what parameter should be changed in the reflection.js to make the image look a bit turned from left to right?

well to illustrate my mean visit this page http://www.majorrecords.de/news

there are albums&#039; covers on the right-middle part of the page, under AKTUELLE-VEROFFENTLICHUNGEN section

see?</description>
		<content:encoded><![CDATA[<p>hallo Cow! one more question: what parameter should be changed in the reflection.js to make the image look a bit turned from left to right?</p>
<p>well to illustrate my mean visit this page <a href="http://www.majorrecords.de/news" rel="nofollow">http://www.majorrecords.de/news</a></p>
<p>there are albums&#8217; covers on the right-middle part of the page, under AKTUELLE-VEROFFENTLICHUNGEN section</p>
<p>see?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-2493</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Fri, 21 Mar 2008 05:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-2493</guid>
		<description>Cow,

Thanks for the tip on the cover (I found it in a earlier post too, I guess I was too lazy to look backwards, sorry about that). Instead of changing my img or canvas still as CSS level I simply added:

	reflection.style.border = &#039;0px&#039;;

A few lines after:

	var reflection = document.createElement(&#039;img&#039;);

And it seems to achieve the same thing!

Thanks,
Julien</description>
		<content:encoded><![CDATA[<p>Cow,</p>
<p>Thanks for the tip on the cover (I found it in a earlier post too, I guess I was too lazy to look backwards, sorry about that). Instead of changing my img or canvas still as CSS level I simply added:</p>
<p>	reflection.style.border = &#8217;0px&#8217;;</p>
<p>A few lines after:</p>
<p>	var reflection = document.createElement(&#8216;img&#8217;);</p>
<p>And it seems to achieve the same thing!</p>
<p>Thanks,<br />
Julien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alinear</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-2488</link>
		<dc:creator>alinear</dc:creator>
		<pubDate>Thu, 20 Mar 2008 22:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-2488</guid>
		<description>Hey!

Thanks for the great script. Just thought I&#039;d let you know of a bug that occurs with the new webkit (Safari 3.1) build:

Safari now supports a native &#039;getElementsByClassName&#039;. Your script checks to see if the document already has this method installed (rightfully so in the event someone uses your script with prototype or another framework, etc.), and if so it delegates to it vs. the internal means of creating the elements stack.

The problem is - the way safari&#039;s &#039;getElementsByClassName&#039; works is it appears to return a stack of the elements by class name, but when you modify the class name of those elements, the stack itself updates (they are no longer present). So in essence, when your add reflection method changes the class to &#039;reflected&#039; - those elements are no longer popped from the &#039;elementsByClassName&#039; stack and end up messing up its evident length.

The result is only every other element renders because the pointer/count is messed up...

Workaround options:

- force your script to use your own internal &#039;getElementsByClassName&#039; since it does not make a reference to a stack that elements get removed from as their class names change

- do not change the class names to &#039;reflected&#039;

- in your auto-render method, loop backwards from the max element to 0 so that when element&#039;s class names are being modified they are always the last element in the stack (lifo).

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Hey!</p>
<p>Thanks for the great script. Just thought I&#8217;d let you know of a bug that occurs with the new webkit (Safari 3.1) build:</p>
<p>Safari now supports a native &#8216;getElementsByClassName&#8217;. Your script checks to see if the document already has this method installed (rightfully so in the event someone uses your script with prototype or another framework, etc.), and if so it delegates to it vs. the internal means of creating the elements stack.</p>
<p>The problem is &#8211; the way safari&#8217;s &#8216;getElementsByClassName&#8217; works is it appears to return a stack of the elements by class name, but when you modify the class name of those elements, the stack itself updates (they are no longer present). So in essence, when your add reflection method changes the class to &#8216;reflected&#8217; &#8211; those elements are no longer popped from the &#8216;elementsByClassName&#8217; stack and end up messing up its evident length.</p>
<p>The result is only every other element renders because the pointer/count is messed up&#8230;</p>
<p>Workaround options:</p>
<p>- force your script to use your own internal &#8216;getElementsByClassName&#8217; since it does not make a reference to a stack that elements get removed from as their class names change</p>
<p>- do not change the class names to &#8216;reflected&#8217;</p>
<p>- in your auto-render method, loop backwards from the max element to 0 so that when element&#8217;s class names are being modified they are always the last element in the stack (lifo).</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cow</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-2481</link>
		<dc:creator>Cow</dc:creator>
		<pubDate>Wed, 19 Mar 2008 09:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-2481</guid>
		<description>Richard: I&#039;m not sure whats happening but you can check out some of the demo files I provided for examples of aligned images, etc.

Wolf: Good idea! Will do!

Julien: Try setting the border of canvas to 0 in CSS e.g. canvas { border: 0; } You could make it only apply to reflected images using the class .reflected</description>
		<content:encoded><![CDATA[<p>Richard: I&#8217;m not sure whats happening but you can check out some of the demo files I provided for examples of aligned images, etc.</p>
<p>Wolf: Good idea! Will do!</p>
<p>Julien: Try setting the border of canvas to 0 in CSS e.g. canvas { border: 0; } You could make it only apply to reflected images using the class .reflected</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-2477</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Tue, 18 Mar 2008 19:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-2477</guid>
		<description>Hello!

Nice little piece of script to make display pictures a little more appealing. It work great for me (some reflections not working with FF3 though) but I have a problem with IE7: when &quot;reflecting&quot; a picture that happens to be a link as well, even though the original has &lt;a&gt;, the reflection will generate the default blue border corresponding to a link.

Is there a way to detect the border size in the script and avoid generating it?

Example of what I mean: http://japanld.online.fr/_misc/reflect-border.png

Rgds,
Julien</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>Nice little piece of script to make display pictures a little more appealing. It work great for me (some reflections not working with FF3 though) but I have a problem with IE7: when &#8220;reflecting&#8221; a picture that happens to be a link as well, even though the original has <a>, the reflection will generate the default blue border corresponding to a link.</p>
<p>Is there a way to detect the border size in the script and avoid generating it?</p>
<p>Example of what I mean: </a><a href="http://japanld.online.fr/_misc/reflect-border.png" rel="nofollow">http://japanld.online.fr/_misc/reflect-border.png</a></p>
<p>Rgds,<br />
Julien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wolf</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-2476</link>
		<dc:creator>wolf</dc:creator>
		<pubDate>Tue, 18 Mar 2008 11:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-2476</guid>
		<description>The onload-trigger substitution does not work in Safari and IE7, if a XML/XSL-page containing &#039;reflection images&#039; is interpreted by the browser. FF2 does it. Commenting out the onload-lines in your script-file and adding the class-call-function addReflections() directly into the XSL-script does work :) Maybe you give a hint in your description, how to do it manually, if there are load-problems.
It would be also nice, if you include a complete (BSD or MIT) licence-description-file in your download-zip ... as usual behavior we like &amp; need it.</description>
		<content:encoded><![CDATA[<p>The onload-trigger substitution does not work in Safari and IE7, if a XML/XSL-page containing &#8216;reflection images&#8217; is interpreted by the browser. FF2 does it. Commenting out the onload-lines in your script-file and adding the class-call-function addReflections() directly into the XSL-script does work <img src='http://cow.neondragon.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Maybe you give a hint in your description, how to do it manually, if there are load-problems.<br />
It would be also nice, if you include a complete (BSD or MIT) licence-description-file in your download-zip &#8230; as usual behavior we like &amp; need it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Holt</title>
		<link>http://cow.neondragon.net/index.php/reflectionjs-18/comment-page-1#comment-2474</link>
		<dc:creator>Richard Holt</dc:creator>
		<pubDate>Tue, 18 Mar 2008 00:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://cow.neondragon.net/index.php/reflectionjs-18#comment-2474</guid>
		<description>This is a great script, just amazing. I&#039;m using it in a photography portfolio site I&#039;m building for a friend. I&#039;m having trouble centering images with reflections though, they are centred for the instant before the reflection pops in as the page loads, but as soon as it does, the image pops over to the left. Can you think of any reason for this?

I&#039;m using it here for example:
http://www.cliveframpton.com/index.php/gallery/landscapes/empire-state-building/

It&#039;s all very unfinished, but eventually you will be able to browse through the images on pages like this.

Any ideas? 

Once again, GREAT script...!

®</description>
		<content:encoded><![CDATA[<p>This is a great script, just amazing. I&#8217;m using it in a photography portfolio site I&#8217;m building for a friend. I&#8217;m having trouble centering images with reflections though, they are centred for the instant before the reflection pops in as the page loads, but as soon as it does, the image pops over to the left. Can you think of any reason for this?</p>
<p>I&#8217;m using it here for example:<br />
<a href="http://www.cliveframpton.com/index.php/gallery/landscapes/empire-state-building/" rel="nofollow">http://www.cliveframpton.com/index.php/gallery/landscapes/empire-state-building/</a></p>
<p>It&#8217;s all very unfinished, but eventually you will be able to browse through the images on pages like this.</p>
<p>Any ideas? </p>
<p>Once again, GREAT script&#8230;!</p>
<p>®</p>
]]></content:encoded>
	</item>
</channel>
</rss>

