<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - 하이퍼링크 Target 처리와 관련해]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=812&amp;type=atom"/>
	<updated>2006-06-21T02:43:17Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=812</id>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4422#p4422"/>
			<content type="html"><![CDATA[<p>링크처리는&nbsp; 유저에게 옵션을 주는것또한 한 방법이라고 생각합니다.&nbsp; default 는 그냥 현재창으로 되어있고 새창을 원할때 새창을 쓰게하는 체크박스를 제공하여&nbsp; 유저에게 선택권을 주는것도 한 방법이 아닐지 해서,,,,,</p><div class="codebox"><pre><code>/*    -------------------------------------------------------------
    function setLinkAttributes()
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Description:    setLinkAttributes finds ALL anchor links and
                    can set new attributes. The following script
                    specifically finds anchor links labeled as
                    external, and add a terget=&quot;_blank&quot;. We do
                    in order to validate in XHTML 1.1 Strict.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Credits:        Script found on Site Point (I think)
                    http://www.sitepoint.com
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -    */
    
        &lt;!--
        function setLinkAttributes(switchLinks) {
            if (switchLinks == &quot;true&quot;) {
                if (!document.getElementsByTagName) return;
                var anchors = document.getElementsByTagName(&quot;a&quot;);
                    for (var i=0; i&lt;anchors.length; i++) {
                    var anchor = anchors[i];
                    
                    if (anchor.getAttribute(&quot;href&quot;) &amp;&amp; ( anchor.getAttribute(&quot;rel&quot;) == &quot;external&quot; || anchor.getAttribute(&quot;rel&quot;) == &quot;nofollow&quot; ) ) {
                        anchor.target = &quot;_blank&quot;;
                    }
                }
            } else {
                if (!document.getElementsByTagName) return;
                var anchors = document.getElementsByTagName(&quot;a&quot;);
                    for (var i=0; i&lt;anchors.length; i++) {
                    var anchor = anchors[i];
                    
                    if (anchor.getAttribute(&quot;href&quot;) &amp;&amp; ( anchor.getAttribute(&quot;rel&quot;) == &quot;external&quot; || anchor.getAttribute(&quot;rel&quot;) == &quot;nofollow&quot; ) ) {
                        anchor.target = &quot;_self&quot;;
                    }
                }
            }
        }
        
        function toggleLinkAttributes() {
            var ExpireLongTerm = new Date();
            var ExpireLongTermValue = new Date(ExpireLongTerm.getTime()+(1000 * 60 * 60 * 360000));
            
            if ( getCookie(&quot;externalLinks&quot;) == &quot;true&quot; ) {
                setLinkAttributes(&quot;false&quot;);
                setCookie(&quot;externalLinks&quot;,&quot;false&quot;,ExpireLongTermValue);
            } else if (getCookie(&quot;externalLinks&quot;) == &quot;false&quot;) {
                setLinkAttributes(&quot;true&quot;);
                setCookie(&quot;externalLinks&quot;,&quot;true&quot;,ExpireLongTermValue);
            } else if ( !getCookie(&quot;externalLinks&quot;) ) {
                setLinkAttributes(&quot;true&quot;);
                setCookie(&quot;externalLinks&quot;,&quot;true&quot;,ExpireLongTermValue);
            }
        }
        //--&gt;</code></pre></div><p>가 js 부분,&nbsp; 그리고 html 은<br />&lt;input type=&quot;checkbox&quot; onchange=&quot;toggleLinkAttributes();&quot; id=&quot;toggleLinks&quot; /&gt;</p><p>으로 해주면 가능합니다.&nbsp; 이용사례는 <a href="http://www.uxmag.com/">http://www.uxmag.com/</a> 의 오른쪽 맨 밑을 보시면 이 방법이 사용되고 있습니다.</p>]]></content>
			<author>
				<name><![CDATA[일모리]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=137</uri>
			</author>
			<updated>2006-06-21T02:43:17Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4422#p4422</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4371#p4371"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>건더기 작성:</cite><blockquote><div class="quotebox"><cite>JWC 작성:</cite><blockquote><div class="quotebox"><cite>inureyes 작성:</cite><blockquote><p>xhtml에서의 허용문제가 있으므로 내부 구현 하지 말고 daybreaker님께서 만드신 플러그인을 쓰는 것이 나을 것 같습니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>이 플러그인 지금 릴 되어있나요?<br />그런것 같은데 릴 주소좀 알려주세요 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p><a href="http://www.tattertools.com/bbs/view.php?id=plugin&amp;page=1&amp;sn1=&amp;divpage=1&amp;sn=off&amp;ss=on&amp;sc=on&amp;select_arrange=headnum&amp;desc=asc&amp;no=210">http://www.tattertools.com/bbs/view.php … amp;no=210</a></p></blockquote></div><p>가까운곳에 있었군요. 왜 못봤지;<br />캄사 합니다.</p>]]></content>
			<author>
				<name><![CDATA[JWC]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=19</uri>
			</author>
			<updated>2006-06-20T04:10:01Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4371#p4371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4364#p4364"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>JWC 작성:</cite><blockquote><div class="quotebox"><cite>inureyes 작성:</cite><blockquote><p>xhtml에서의 허용문제가 있으므로 내부 구현 하지 말고 daybreaker님께서 만드신 플러그인을 쓰는 것이 나을 것 같습니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>이 플러그인 지금 릴 되어있나요?<br />그런것 같은데 릴 주소좀 알려주세요 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p><a href="http://www.tattertools.com/bbs/view.php?id=plugin&amp;page=1&amp;sn1=&amp;divpage=1&amp;sn=off&amp;ss=on&amp;sc=on&amp;select_arrange=headnum&amp;desc=asc&amp;no=210">http://www.tattertools.com/bbs/view.php … amp;no=210</a></p>]]></content>
			<author>
				<name><![CDATA[건더기]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=32</uri>
			</author>
			<updated>2006-06-20T03:04:17Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4364#p4364</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4361#p4361"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>inureyes 작성:</cite><blockquote><p>xhtml에서의 허용문제가 있으므로 내부 구현 하지 말고 daybreaker님께서 만드신 플러그인을 쓰는 것이 나을 것 같습니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>이 플러그인 지금 릴 되어있나요?<br />그런것 같은데 릴 주소좀 알려주세요 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[JWC]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=19</uri>
			</author>
			<updated>2006-06-20T02:37:42Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4361#p4361</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4314#p4314"/>
			<content type="html"><![CDATA[<p>후음..; 제가 만든 플러그인이긴 하나 사실 저게 style 속성 안에 들어간 것들이 전부 다 line-height를 바꾸지 않고 아이콘을 보여주기 위한 삽질이라서 별로 맘에 안 듭니다. orz</p><p>일단 XHTML은 준수하지만... 접근성을 지키는 버전(img 태그 써서 정상적으로 이미지를 이용하는 것)과 모양 위주의 버전(저것처럼 CSS 노가다-_-) 두 가지로 갈까도...? -_-<br />IE 때문에 괜히 쉽게 갈 것이 어려워지는군요.</p>]]></content>
			<author>
				<name><![CDATA[daybreaker]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=11</uri>
			</author>
			<updated>2006-06-19T12:01:35Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4314#p4314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4299#p4299"/>
			<content type="html"><![CDATA[<p>넵 일단 다시 cement로 옮겼습니다 ^^</p>]]></content>
			<author>
				<name><![CDATA[inureyes]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=2</uri>
			</author>
			<updated>2006-06-19T09:36:28Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4299#p4299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4295#p4295"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>inureyes 작성:</cite><blockquote><p>xhtml에서의 허용문제가 있으므로 내부 구현 하지 말고 daybreaker님께서 만드신 플러그인을 쓰는 것이 나을 것 같습니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>그럼 그 티켓 닫아 주세요. 꽤 오래 열려 있었던 것 같던데.</p>]]></content>
			<author>
				<name><![CDATA[graphittie]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=104</uri>
			</author>
			<updated>2006-06-19T09:10:29Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4295#p4295</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4294#p4294"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>건더기 작성:</cite><blockquote><p>예...<br />원래는...<br /></p><div class="codebox"><pre><code>&lt;a href=&quot;http://kldp.org/node/63559&quot;&gt;http://kldp.org/node/63559&lt;/a&gt;</code></pre></div><p>이었던 애가...</p><div class="codebox"><pre><code>&lt;a href=&quot;http://kldp.org/node/63559&quot;&gt;http://kldp.org/node/63559&lt;/a&gt;&lt;a href=&quot;http://kldp.org/node/63559&quot; onclick=&quot;window.open(&#039;http://kldp.org/node/63559&#039;);return false;&quot; style=&quot;border:none; text-decoration:none; padding-left:15px; margin-right: -0.5em; background: transparent url(/plugins/a_blank_Link/newwindow.gif) no-repeat 0px 50%;&quot; title=&quot;다음 링크를 새 창으로 엽니다. : &#039;http://kldp.org/node/63559&#039;&quot;&gt; &lt;/a&gt;</code></pre></div><p>이렇게 파싱됩니다... <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>오호. onclick으로 호출하는근영 <img src="http://forum.tattersite.com/ko/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></content>
			<author>
				<name><![CDATA[나니]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=134</uri>
			</author>
			<updated>2006-06-19T08:46:11Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4294#p4294</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4293#p4293"/>
			<content type="html"><![CDATA[<p>예...<br />원래는...<br /></p><div class="codebox"><pre><code>&lt;a href=&quot;http://kldp.org/node/63559&quot;&gt;http://kldp.org/node/63559&lt;/a&gt;</code></pre></div><p>이었던 애가...</p><div class="codebox"><pre><code>&lt;a href=&quot;http://kldp.org/node/63559&quot;&gt;http://kldp.org/node/63559&lt;/a&gt;&lt;a href=&quot;http://kldp.org/node/63559&quot; onclick=&quot;window.open(&#039;http://kldp.org/node/63559&#039;);return false;&quot; style=&quot;border:none; text-decoration:none; padding-left:15px; margin-right: -0.5em; background: transparent url(/plugins/a_blank_Link/newwindow.gif) no-repeat 0px 50%;&quot; title=&quot;다음 링크를 새 창으로 엽니다. : &#039;http://kldp.org/node/63559&#039;&quot;&gt; &lt;/a&gt;</code></pre></div><p>이렇게 파싱됩니다... <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[건더기]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=32</uri>
			</author>
			<updated>2006-06-19T08:39:36Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4293#p4293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4292#p4292"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>inureyes 작성:</cite><blockquote><p>xhtml에서의 허용문제가 있으므로 내부 구현 하지 말고 daybreaker님께서 만드신 플러그인을 쓰는 것이 나을 것 같습니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>plug-in을 써보지는 않았지만 plug-in을 사용하면 xhtml 1.0 tr (or 1.1 strict) 문제를 피해갈 수 있나요?</p>]]></content>
			<author>
				<name><![CDATA[나니]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=134</uri>
			</author>
			<updated>2006-06-19T08:29:51Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4292#p4292</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4287#p4287"/>
			<content type="html"><![CDATA[<p>xhtml에서의 허용문제가 있으므로 내부 구현 하지 말고 daybreaker님께서 만드신 플러그인을 쓰는 것이 나을 것 같습니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[inureyes]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=2</uri>
			</author>
			<updated>2006-06-19T08:09:00Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4287#p4287</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4265#p4265"/>
			<content type="html"><![CDATA[<p>#21로 등록되어 있는데 구현이 덜 완성되었군요. 제가 왜 이걸 닫아달라고 요청했을까요? 의문이네... 흠...</p>]]></content>
			<author>
				<name><![CDATA[graphittie]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=104</uri>
			</author>
			<updated>2006-06-19T03:29:24Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4265#p4265</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[하이퍼링크 Target 처리와 관련해]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=4262#p4262"/>
			<content type="html"><![CDATA[<p>leadbiz이 <a href="http://tattertools.com/ko/forum/viewtopic.php?id=803에서">http://tattertools.com/ko/forum/viewtopic.php?id=803에서</a> 요청한 내용</p><p>WYSIWYG에디터에서 하이퍼링크의 Target기본값문제..답변 좀 부탁드립니다. 저는 글에 링크를 워낙 많이 거는 스타일이라~~~~. 정 안된다면 HTML안건드리고 에디터에서만이라도 Target처리할 수 있게 해 주세요...</p>]]></content>
			<author>
				<name><![CDATA[김태경]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=106</uri>
			</author>
			<updated>2006-06-19T03:14:48Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=4262#p4262</id>
		</entry>
</feed>
