반응형
<HTML>
<HEAD>
<script Language="JavaScript">
function selectMe()
{
var r = document.body.createTextRange();
r.moveToPoint(window.event.x, window.event.y);
r.expand("word");
r.select();
}
</script>
</HEAD>
<BODY>
<H1 id=myH1 onclick="selectMe()">태그인넷 자바스크립트 예제 www.tagin.net</H1>
</BODY>
</HTML>
<HEAD>
<script Language="JavaScript">
function selectMe()
{
var r = document.body.createTextRange();
r.moveToPoint(window.event.x, window.event.y);
r.expand("word");
r.select();
}
</script>
</HEAD>
<BODY>
<H1 id=myH1 onclick="selectMe()">태그인넷 자바스크립트 예제 www.tagin.net</H1>
</BODY>
</HTML>
반응형