<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>DOM Scripting comments: Window popping</title>
        <link>http://domscripting.com/blog/display/56</link>
        <description>The question of whether to open a link in a new window is an oldie but a goodie.</description>
        <language>en</language>
        <item>
            <title>JohnO</title>
            <link>http://domscripting.com/blog/display.php/56#comment302</link>
            <content:encoded><![CDATA[<p>OK deprecating &#8216;target&#8217; on a tags is fine.  But what about on form tags.  Other than &#8216;target&#8217; how can you make a form submit open the action in a new window?  I hope this  wasn&#8217;t deprecated?</p>
]]></content:encoded>
            <pubDate>Sun, 09 Apr 2006 12:18:03 GMT</pubDate>
        </item>
        <item>
            <title>Catherine Donaldson</title>
            <link>http://domscripting.com/blog/display.php/56#comment296</link>
            <content:encoded><![CDATA[<p>Hmmm,</p>

<p>class=&quot;windowWorthy&quot;
or
class=&quot;newWindowWorthy&quot;</p>

<p>I&#8217;ll have to think more about the significance of all this as I still set target to blank via javascript for rel=external on my site. I wasn&#8217;t aware I was being naughty in doing this. I&#8217;ll probably just end up agreeing that new windows shouldn&#8217;t be enforced, I think.</p>
]]></content:encoded>
            <pubDate>Sun, 02 Apr 2006 14:50:56 GMT</pubDate>
        </item>
        <item>
            <title>Jeremy Keith</title>
            <link>http://domscripting.com/blog/display.php/56#comment294</link>
            <content:encoded><![CDATA[<p>Mats, I really like the idea of adding rel=&quot;help&quot; to indicate contextual help that should open in a new window.</p>
]]></content:encoded>
            <pubDate>Thu, 30 Mar 2006 23:34:59 GMT</pubDate>
        </item>
        <item>
            <title>Sean-E</title>
            <link>http://domscripting.com/blog/display.php/56#comment292</link>
            <content:encoded><![CDATA[<p>&gt;hat said, the class name I chose, “popup”, isn’t very semantically meaningful. It’s not much better than assigning class names like “big” or “red”.</p>

<p>How about &quot;OutOfTheWIndow&quot;</p>
]]></content:encoded>
            <pubDate>Thu, 30 Mar 2006 23:25:45 GMT</pubDate>
        </item>
        <item>
            <title>Mats Lindblad</title>
            <link>http://domscripting.com/blog/display.php/56#comment291</link>
            <content:encoded><![CDATA[<p>I can&#8217;t belive no-one has mentioned this but isn&#8217;t it the most logical thing for contextual help to have rel=&quot;help&quot; set? It correct, it&#8217;s semantic and you can attach a window.open to every link that has rel=&quot;help&quot; set &#8230;</p>

<p>I have a small test ready: <a href="http://slipsnisse.se/examples/datevalidation.php">http://slipsnisse.se/examples/datevalidation.php</a></p>
]]></content:encoded>
            <pubDate>Thu, 30 Mar 2006 09:55:30 GMT</pubDate>
        </item>
        <item>
            <title>Robert Nyman</title>
            <link>http://domscripting.com/blog/display.php/56#comment290</link>
            <content:encoded><![CDATA[<p>Humbly, and not to be so &quot;oh-please-see-me!&quot;, a mention of where the discussion originated (this time around) would&#8217;ve been nice&#8230; :-)</p>

<p>(at <a href="http://www.robertnyman.com/2006/02/13/how-evil-is-the-target-attribute/">http://www.robertnyman.com/2006/02/13/how-evil-is-the-target-attribute/</a>)</p>
]]></content:encoded>
            <pubDate>Thu, 30 Mar 2006 06:30:42 GMT</pubDate>
        </item>
        <item>
            <title>Elaine</title>
            <link>http://domscripting.com/blog/display.php/56#comment289</link>
            <content:encoded><![CDATA[<p>Tangentially, the latest Firefox has a setting to force all new windows into new tabs instead.  One of the best things that ever happened to me!</p>
]]></content:encoded>
            <pubDate>Thu, 30 Mar 2006 03:13:22 GMT</pubDate>
        </item>
        <item>
            <title>Tanny O'Haley</title>
            <link>http://domscripting.com/blog/display.php/56#comment288</link>
            <content:encoded><![CDATA[<p>I&#8217;m not a fan of popups either, but how is a class of &quot;popup&quot; any different from the target attribute, doesn&#8217;t it &quot;describe how content should be displayed, not what it means&quot;?</p>
]]></content:encoded>
            <pubDate>Thu, 30 Mar 2006 02:53:05 GMT</pubDate>
        </item>
        <item>
            <title>Lachlan Hunt</title>
            <link>http://domscripting.com/blog/display.php/56#comment287</link>
            <content:encoded><![CDATA[<p>IMHO, there are absolutely no valid use cases for using popup windows and they must not be used under any circumstances.  As for choosing the target attribute or window.open(), the target attribute is better for at least 2 reasons:</p>

<ol>
<li>It&#8217;s easier to configure browsers to ignore the target attribute when it would open a new window (there&#8217;s a option in the options dialog in Firefox).  It is possible with window.open() as well, but not as easy (it requires setting a few hidden prefs in about:config).</li>
<li>Users can be alerted to the use of the target attribute, such as through a user stylesheet, which allows them to make an informed choice for each link.  That&#8217;s not possible with window.open().</li>
</ol>
]]></content:encoded>
            <pubDate>Wed, 29 Mar 2006 20:20:03 GMT</pubDate>
        </item>
        <item>
            <title>Douglas Clifton</title>
            <link>http://domscripting.com/blog/display.php/56#comment286</link>
            <content:encoded><![CDATA[<p>Hmm&#8230;</p>

<p>class=&quot;window&quot;
class=&quot;link&quot;
class=&quot;external&quot;</p>

<p>You could also use multiple classes, &quot;new window&quot;, &quot;external link&quot;&#8230;</p>
]]></content:encoded>
            <pubDate>Wed, 29 Mar 2006 19:30:37 GMT</pubDate>
        </item>
        <item>
            <title>Jeremy Keith</title>
            <link>http://domscripting.com/blog/display.php/56#comment285</link>
            <content:encoded><![CDATA[<p>If you&#8217;re using frames, then you&#8217;re using a frameset doctype. The target attribute is valid in frameset doctypes.</p>

<p>Everything I&#8217;ve said above (and everything in Roger&#8217;s article) refers to strict non-frameset doctypes.</p>
]]></content:encoded>
            <pubDate>Wed, 29 Mar 2006 15:38:11 GMT</pubDate>
        </item>
        <item>
            <title>Gerry Hornik</title>
            <link>http://domscripting.com/blog/display.php/56#comment284</link>
            <content:encoded><![CDATA[<p>Addendum:</p>

<p>In the penultimate sentence, the tag I was referring to is the &quot;base&quot; tag with a &quot;target&quot; attribute that sets the default target for every link on the page.</p>

<p>Gerry Hornik</p>
]]></content:encoded>
            <pubDate>Wed, 29 Mar 2006 15:34:17 GMT</pubDate>
        </item>
        <item>
            <title>Gerry Hornik</title>
            <link>http://domscripting.com/blog/display.php/56#comment283</link>
            <content:encoded><![CDATA[<p>Jeremy,</p>

<p>I understand all that, but I am working with a Web application that uses frames in the window. The content in one frame has links that are intended to bring up new content in another frame. This is, of course, done using the target attribute on the links. However, to avoid having to include the target attribute on every link in a page (which could be several), it was convenient (and more efficient) to use the  tag. With that deprecated how can it be accomplished without adding the target to every link individually?</p>

<p>Thanks,
Gerry Hornik
<a href="http://www.cognistar.com/">http://www.cognistar.com/</a></p>
]]></content:encoded>
            <pubDate>Wed, 29 Mar 2006 15:32:29 GMT</pubDate>
        </item>
   </channel>
</rss>