共用方式為


하이컴파스 - 마이크로소프트 제품 이야기

 

Moss ??? ?? ???? ??? ??

 

???? ???? ????? ?? Moss???? ??? ??? ????

??? ??? ???? ??? ?? ?????.

???? ??? ??? ??? ?? ??? ?? ???? ????.

<A onclick="GoToLink(this);return false;" href="https://insung-moss/CommunityPortal/_layouts/userdisp.aspx?ID=43">???</A>

??? GoToLink(this)? ???? ???? ??? ? ? ??.

?? GoToLink(this)? ?? ??? ??. (????? ?? ?? ??)

- C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1042\CORE.JS

? ?? ? 1042? ?? ??? ??? ??? ????. ?? ??? ????? ?? ??? CORE.JS? ???? ??.

CORE.JS??? ?? function GoToLink(elm) ??? ??.

if (elm.href==null)

return;

var ch=elm.href.indexOf("?") >=0 ? "&" : "?";

var srcUrl=GetSource();

if (srcUrl !=null && srcUrl !="")

srcUrl=ch+"Source="+srcUrl;

var targetUrl=elm.href+srcUrl;

if (isPortalTemplatePage(targetUrl))

window.top.location=STSPageUrlValidation(targetUrl);

else

window.location=STSPageUrlValidation(targetUrl);

? ??? ??? ?? ??? ??.

if (elm.href==null)

return;

var ch=elm.href.indexOf("?") >=0 ? "&" : "?";

var srcUrl=GetSource();

if (srcUrl !=null && srcUrl !="")

srcUrl=ch+"Source="+srcUrl;

var targetUrl=elm.href+srcUrl;

 

//??? ??? ??? ??? ??

//??? ??? userdisp.aspx ???? ??? ????

//href? userdisp.aspx? ??? ?????.

/*

if (isPortalTemplatePage(targetUrl))

window.top.location=STSPageUrlValidation(targetUrl);

else

window.location=STSPageUrlValidation(targetUrl);

*/

if(elm.href.indexOf("userdisp.aspx") >= 0)

{

window.open(targetUrl);

}

else

{

if (isPortalTemplatePage(targetUrl))

window.top.location=STSPageUrlValidation(targetUrl);

else

window.location=STSPageUrlValidation(targetUrl);

}

? ??? ??? ???? href? ??? Source ????? ???? ?? ???? href? ??? ??? ??.

??? function GoToLink(elm) ? ?? ????? ??? ?? ??? ?? ???? ????.

 

  ???? ?? ??? ??? ??? ??? ???? ?? ??? ? ?? ??? ? ??? if(elm.href.indexOf("userdisp.aspx") >= 0) ????.

??? ???? if(elm.href.indexOf("userdisp.aspx") >= 0) ???

<A onclick="GoToLink(this);return false;" href="https://insung-moss/CommunityPortal/_layouts/userdisp.aspx?ID=43">???</A>

??? ?? ? ? ??? Moss?? ??? ??? ?? userdisp.aspx ? ????.

??? ??? userdisp.aspx ? ??? ??? ??? ???? ?? ????.

??? ???? window.open(targetUrl)? ??? ??? ??.

?? window.open(targetUrl) ??? ????? ???? ???? ??? ?? ?? ?? ??.

? ??? ???? ?? ??? ???? ? ? ??? ???? ?? ??? ???.