<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: MooTools OpenLinks Class &#8211;&#160;Updated</title> <atom:link href="http://davidwalsh.name/openlinks-plugin/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/openlinks-plugin</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 02:40:12 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Evan</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13903</link> <dc:creator>Evan</dc:creator> <pubDate>Tue, 24 Nov 2009 15:55:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13903</guid> <description>I totally hate the idea of &quot;external&quot; links opening in a new window but I prefer for pdf files to open in a new window.With window.open you can&#039;t really maximize a window or open it as a tab. The best you can do is get the screen size and open the new window to that dimension but it&#039;s still not maximized. Setting the target to &quot;_blank&quot; just seems to work better.If you care about the appearance of your html validating you can set up the script to add the target attribute.</description> <content:encoded><![CDATA[<p>I totally hate the idea of &#8220;external&#8221; links opening in a new window but I prefer for pdf files to open in a new window.</p><p>With window.open you can&#8217;t really maximize a window or open it as a tab. The best you can do is get the screen size and open the new window to that dimension but it&#8217;s still not maximized. Setting the target to &#8220;_blank&#8221; just seems to work better.</p><p>If you care about the appearance of your html validating you can set up the script to add the target attribute.</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13856</link> <dc:creator>David Walsh</dc:creator> <pubDate>Sun, 22 Nov 2009 17:10:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13856</guid> <description>@EmEhRKay:  So window.open?  It&#039;s a preference thing I guess but I prefer target-blank as it isn&#039;t as often blocked by popup blockers.</description> <content:encoded><![CDATA[<p>@EmEhRKay:  So window.open?  It&#8217;s a preference thing I guess but I prefer target-blank as it isn&#8217;t as often blocked by popup blockers.</p> ]]></content:encoded> </item> <item><title>By: EmEhRKay</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13853</link> <dc:creator>EmEhRKay</dc:creator> <pubDate>Sun, 22 Nov 2009 14:15:40 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13853</guid> <description>While I agree with David about the usefulness of target, my only beef is that this doesnt create valid html. Instead of doing el.set(&#039;target&#039;...), one could attach a click event (yeah, the standard work-around for the removal of target) that would mimic target&#039;s behavior.</description> <content:encoded><![CDATA[<p>While I agree with David about the usefulness of target, my only beef is that this doesnt create valid html. Instead of doing el.set(&#8216;target&#8217;&#8230;), one could attach a click event (yeah, the standard work-around for the removal of target) that would mimic target&#8217;s behavior.</p> ]]></content:encoded> </item> <item><title>By: Erik Edgren</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13852</link> <dc:creator>Erik Edgren</dc:creator> <pubDate>Sun, 22 Nov 2009 13:34:51 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13852</guid> <description>@FoO Iskandar:  Requesting the same thing here.</description> <content:encoded><![CDATA[<p>@FoO Iskandar:  Requesting the same thing here.</p> ]]></content:encoded> </item> <item><title>By: Sean McArthur</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13846</link> <dc:creator>Sean McArthur</dc:creator> <pubDate>Sat, 21 Nov 2009 23:12:51 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13846</guid> <description>According to the W3C, they realized they made a mistake in deprecating the target attribute. They put it back in in HTML 5.http://www.w3.org/TR/html5-diff/</description> <content:encoded><![CDATA[<p>According to the W3C, they realized they made a mistake in deprecating the target attribute. They put it back in in HTML 5.</p><p><a
href="http://www.w3.org/TR/html5-diff/" rel="nofollow">http://www.w3.org/TR/html5-diff/</a></p> ]]></content:encoded> </item> <item><title>By: Facundo Corradini</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13840</link> <dc:creator>Facundo Corradini</dc:creator> <pubDate>Sat, 21 Nov 2009 14:11:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13840</guid> <description>I think the best choice is to let users decide when to open a web page in a new tab/window, but force external documents to open new tabs.</description> <content:encoded><![CDATA[<p>I think the best choice is to let users decide when to open a web page in a new tab/window, but force external documents to open new tabs.</p> ]]></content:encoded> </item> <item><title>By: Ryan Florence</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13831</link> <dc:creator>Ryan Florence</dc:creator> <pubDate>Sat, 21 Nov 2009 07:14:28 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13831</guid> <description>Also ... `new OpenLinks(&#039;a.open&#039;)` is way better than `new OpenLinks({ elements: &#039;a.open&#039;});</description> <content:encoded><![CDATA[<p>Also &#8230; `new OpenLinks(&#8216;a.open&#8217;)` is way better than `new OpenLinks({ elements: &#8216;a.open&#8217;});</p> ]]></content:encoded> </item> <item><title>By: Ryan Florence</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13830</link> <dc:creator>Ryan Florence</dc:creator> <pubDate>Sat, 21 Nov 2009 07:11:23 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13830</guid> <description>I&#039;d put the elements in an argument of the initialize function.  When I create classes I try to think about what is and isn&#039;t an option.  In this case, the links aren&#039;t really an option, they are the whole point of the class.And for me, writing `this.elements` feels better than `this.options.elements`.As for the new window discussion:I&#039;ve been doing software training/consulting for several years now for web-based software and have seen countless people &quot;lose their place&quot; when they close the browser thinking they&#039;re just closing the PDF or whatever as David points out.However, I&#039;ve also seen just as many people throw their hands up in frustration because the site or application popped up a new window and they &quot;lost their document&quot; or whatever.  It&#039;s not lost, it&#039;s just behind the one you&#039;re looking at, after all, it&#039;s called windows for a reason.The decision has to be well thought out to pop open a new window or not based on the audience and context. I&#039;m a fan of `_blank` when it&#039;s appropriate.  While I respect the w3c, I don&#039;t understand the cultish clinging to ridiculous standards by the (mostly) basement developers. These aren&#039;t medical documents anymore w3c, they&#039;re applications.</description> <content:encoded><![CDATA[<p>I&#8217;d put the elements in an argument of the initialize function.  When I create classes I try to think about what is and isn&#8217;t an option.  In this case, the links aren&#8217;t really an option, they are the whole point of the class.</p><p>And for me, writing `this.elements` feels better than `this.options.elements`.</p><p>As for the new window discussion:</p><p>I&#8217;ve been doing software training/consulting for several years now for web-based software and have seen countless people &#8220;lose their place&#8221; when they close the browser thinking they&#8217;re just closing the PDF or whatever as David points out.</p><p>However, I&#8217;ve also seen just as many people throw their hands up in frustration because the site or application popped up a new window and they &#8220;lost their document&#8221; or whatever.  It&#8217;s not lost, it&#8217;s just behind the one you&#8217;re looking at, after all, it&#8217;s called windows for a reason.</p><p>The decision has to be well thought out to pop open a new window or not based on the audience and context. I&#8217;m a fan of `_blank` when it&#8217;s appropriate.  While I respect the w3c, I don&#8217;t understand the cultish clinging to ridiculous standards by the (mostly) basement developers. These aren&#8217;t medical documents anymore w3c, they&#8217;re applications.</p> ]]></content:encoded> </item> <item><title>By: Colin Gillies</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13802</link> <dc:creator>Colin Gillies</dc:creator> <pubDate>Fri, 20 Nov 2009 08:01:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13802</guid> <description>Just my 2p, but I agree with David. As much as I like to adhere to W3C, when it comes to opening non-HTML files into the browser I always go for a new window. I have lost count how many times I have watched a client open a PDF / DOC in their browser and then closed the browser thinking it will return them to the site.We can&#039;t teach everyone how to do it &#039;properly&#039; without leaving long instructions next to each link. Also, most of the time the application or document isn&#039;t W3C / accesibility friendly anyway.</description> <content:encoded><![CDATA[<p>Just my 2p, but I agree with David. As much as I like to adhere to W3C, when it comes to opening non-HTML files into the browser I always go for a new window. I have lost count how many times I have watched a client open a PDF / DOC in their browser and then closed the browser thinking it will return them to the site.</p><p>We can&#8217;t teach everyone how to do it &#8216;properly&#8217; without leaving long instructions next to each link. Also, most of the time the application or document isn&#8217;t W3C / accesibility friendly anyway.</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/openlinks-plugin/comment-page-1#comment-13795</link> <dc:creator>David Walsh</dc:creator> <pubDate>Thu, 19 Nov 2009 22:15:34 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4220#comment-13795</guid> <description>@Listen2Me:  Seems easy enough, although in my experience, window.open() is more at risk of being blocked by popup blockers.</description> <content:encoded><![CDATA[<p>@Listen2Me:  Seems easy enough, although in my experience, window.open() is more at risk of being blocked by popup blockers.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/17 queries in 0.016 seconds using disk: basic
Object Caching 865/866 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 01:25:35 -->
