웹사이트 관련 팁들을 모아놓은 곳입니다. 좋은팁 공유 합시다.
글 수 186
20
조회 수 : 2224 신고 : 0
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<style>
.highlighttext{
background-color:yellow;
font-weight:bold;
}
</style>
<script language="Javascript">
<!--
//0=클립보드에 복사를 안합니다., 1=클립보드에 복사를합니다.
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&©toclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="지정영역 선택 또는 복사하기"
setTimeout("window.status=''",1800)
}
}
//-->
</script>
<table border="0" width="98%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" align="left"> <p align="left"><strong><font face="Verdana"><small>선택
& 복사 스크립트 </small><span style="font-size:8pt;">-모든 브라우저
가능</span></font></strong></p>
<p align="left"><small><strong><font face="Verdana">제작: DD</font></strong></small></p>
<p align="left"><font face="Verdana"><small><strong>설명: 방문객에게 소스를
우리 DD처럼 좀더 쉽게 복사할 수 있게 해줍니다.</strong> 게다가,
이 소스는 IE 4 이상에서는 자동으로 클립보드에 복사가 됩니다.</small></font></p>
<p align="left"><small><font face="Verdana"><strong>예제: 선택&복사
버튼을 클릭해 보세요. 그리고 옆에 있는 아무런 설정도 없는 보통의
텍스트에어리어에 붙여넣기 기능을 이용해 보세요.</strong></font></small></p>
<p align="left"><!--webbot bot="HTMLMarkup" startspan --><form name="test">
<a class="highlighttext" href="javascript:HighlightAll('test.select1')">선택
& 복사</a><br>
<textarea name="select1" rows=10 cols="72" wrap=virtual style="font-size:9pt;">외눈박이 물고기의 사랑
외눈박이 물고기처럼 살고 싶다
외눈박이 물고기처럼
사랑하고 싶다
두눈박이 물고기처럼 세상을 살기 위해
평생을 두 마리가 함께 붙어 다녔다는
외눈박이 물고기 비목처럼
사랑하고 싶다
우리에게 시간은 충분했다 그러나
우리는 그만큼 사랑하지 않았을 뿐
외눈박이 물고기처럼
그렇게 살고 싶다
혼자 있으면
그 혼자 있음이 금방 들켜 버리는
외눈박이 물고기 비목처럼
목숨을 다해 사랑하고 싶다
</textarea><br>
<textarea rows=10 cols="72" wrap=virtual style="font-size:9pt;">테스트(여기서 붙여넣기 해보세요)</textarea>
</form>
<hr size="1" align="center">
<p align="left"><small><font face="Verdana"><strong>1단계:</strong> 아래의
소스를 페이지 중 <head>부분에 넣으세요</font></small></p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan
U-File="C:tutors2dynamicindex11_privateform_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" --><!--webbot bot="SaveResults"
endspan --><p><!--webbot
bot="HTMLMarkup" startspan --><script>
<!--
function highlight(x){
document.forms[x].elements[0].focus()
document.forms[x].elements[0].select()
}
//-->
</script>
<a href="javascript:highlight(1)" onMouseover="window.status='';return true">선택(복사는 하지 않습니다)</a><!--webbot bot="HTMLMarkup" endspan --><br>
<textarea rows="8" name="S1" cols="45" wrap="virtual" style="width:98%"><style>
.highlighttext{
background-color:yellow;
font-weight:bold;
}
</style>
<script language="Javascript">
<!--
//0=클립보드에 복사를 안합니다., 1=클립보드에 복사를합니다.
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&©toclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=''",1800)
}
}
//-->
</script>
</textarea></p>
</form>
<p align="left"><small><font face="Verdana"><strong>2단계:</strong> 아래의
예제처럼 <body>에 삽입합니다.</font></small></p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan
U-File="C:tutors2dynamicindex11_privateform_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" --><!--webbot bot="SaveResults"
endspan --><p><!--webbot
bot="HTMLMarkup" startspan --><script>
<!--
function highlight(x){
document.forms[x].elements[0].focus()
document.forms[x].elements[0].select()
}
//-->
</script>
<a href="javascript:highlight(2)" onMouseover="window.status='';return true">선택(복사는 하지 않습니다)</a><!--webbot bot="HTMLMarkup" endspan --><br>
<textarea rows="8" name="S1" cols="45" wrap="virtual" style="width:98%"><form name="test">
<a class="highlighttext" href="javascript:HighlightAll('test.select1')">Select All</a><br>
<textarea name="select1" rows=10 cols=35 >This is some text. This is some text. This is some text. This is some text.</textarea>
</form></textarea></p>
</form>
<p align="left"><strong><font face="Verdana"><small>이 소스에 관한 좀더
자세한 사용법</small></font></strong></p>
<p><small><font face="Verdana">단계처럼 적용하는 키포인트는:</font></small></p>
<p><font face="Verdana"><small>ㄱ) form에 이름을 지어둡니다. (ie: <form
name="test"></small><br>
<small>ㄴ) 내부 폼 소스에도 이름을 지어둡니다. (ie: <textarea
name="select1"></small><br>
<small>ㄷ) <a> 코드를 아래와 같이 적용합니다.:</small></font></p>
<p><small><font face="Arial"><a class="highlighttext"
href="javascript:HighlightAll(<font color="#FF0080">'test.select1'</font>)">Select
All</a></font></small></p>
<p><small><font face="Verdana">붉은색 두가지에는 ㄱ)과 ㄴ)에서 지정한 이름을
순서대로 적어넣습니다.(위의 예를 보면 이해가 가실겁니다. 두 이름
사이에는 .(점)을 삽입하시고, '(작은따옴표)로 감싸세요.</font></small></p>
</td>
</tr>
</table>
</body>
</html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<style>
.highlighttext{
background-color:yellow;
font-weight:bold;
}
</style>
<script language="Javascript">
<!--
//0=클립보드에 복사를 안합니다., 1=클립보드에 복사를합니다.
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&©toclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="지정영역 선택 또는 복사하기"
setTimeout("window.status=''",1800)
}
}
//-->
</script>
<table border="0" width="98%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" align="left"> <p align="left"><strong><font face="Verdana"><small>선택
& 복사 스크립트 </small><span style="font-size:8pt;">-모든 브라우저
가능</span></font></strong></p>
<p align="left"><small><strong><font face="Verdana">제작: DD</font></strong></small></p>
<p align="left"><font face="Verdana"><small><strong>설명: 방문객에게 소스를
우리 DD처럼 좀더 쉽게 복사할 수 있게 해줍니다.</strong> 게다가,
이 소스는 IE 4 이상에서는 자동으로 클립보드에 복사가 됩니다.</small></font></p>
<p align="left"><small><font face="Verdana"><strong>예제: 선택&복사
버튼을 클릭해 보세요. 그리고 옆에 있는 아무런 설정도 없는 보통의
텍스트에어리어에 붙여넣기 기능을 이용해 보세요.</strong></font></small></p>
<p align="left"><!--webbot bot="HTMLMarkup" startspan --><form name="test">
<a class="highlighttext" href="javascript:HighlightAll('test.select1')">선택
& 복사</a><br>
<textarea name="select1" rows=10 cols="72" wrap=virtual style="font-size:9pt;">외눈박이 물고기의 사랑
외눈박이 물고기처럼 살고 싶다
외눈박이 물고기처럼
사랑하고 싶다
두눈박이 물고기처럼 세상을 살기 위해
평생을 두 마리가 함께 붙어 다녔다는
외눈박이 물고기 비목처럼
사랑하고 싶다
우리에게 시간은 충분했다 그러나
우리는 그만큼 사랑하지 않았을 뿐
외눈박이 물고기처럼
그렇게 살고 싶다
혼자 있으면
그 혼자 있음이 금방 들켜 버리는
외눈박이 물고기 비목처럼
목숨을 다해 사랑하고 싶다
</textarea><br>
<textarea rows=10 cols="72" wrap=virtual style="font-size:9pt;">테스트(여기서 붙여넣기 해보세요)</textarea>
</form>
<hr size="1" align="center">
<p align="left"><small><font face="Verdana"><strong>1단계:</strong> 아래의
소스를 페이지 중 <head>부분에 넣으세요</font></small></p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan
U-File="C:tutors2dynamicindex11_privateform_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" --><!--webbot bot="SaveResults"
endspan --><p><!--webbot
bot="HTMLMarkup" startspan --><script>
<!--
function highlight(x){
document.forms[x].elements[0].focus()
document.forms[x].elements[0].select()
}
//-->
</script>
<a href="javascript:highlight(1)" onMouseover="window.status='';return true">선택(복사는 하지 않습니다)</a><!--webbot bot="HTMLMarkup" endspan --><br>
<textarea rows="8" name="S1" cols="45" wrap="virtual" style="width:98%"><style>
.highlighttext{
background-color:yellow;
font-weight:bold;
}
</style>
<script language="Javascript">
<!--
//0=클립보드에 복사를 안합니다., 1=클립보드에 복사를합니다.
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&©toclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=''",1800)
}
}
//-->
</script>
</textarea></p>
</form>
<p align="left"><small><font face="Verdana"><strong>2단계:</strong> 아래의
예제처럼 <body>에 삽입합니다.</font></small></p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan
U-File="C:tutors2dynamicindex11_privateform_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" --><!--webbot bot="SaveResults"
endspan --><p><!--webbot
bot="HTMLMarkup" startspan --><script>
<!--
function highlight(x){
document.forms[x].elements[0].focus()
document.forms[x].elements[0].select()
}
//-->
</script>
<a href="javascript:highlight(2)" onMouseover="window.status='';return true">선택(복사는 하지 않습니다)</a><!--webbot bot="HTMLMarkup" endspan --><br>
<textarea rows="8" name="S1" cols="45" wrap="virtual" style="width:98%"><form name="test">
<a class="highlighttext" href="javascript:HighlightAll('test.select1')">Select All</a><br>
<textarea name="select1" rows=10 cols=35 >This is some text. This is some text. This is some text. This is some text.</textarea>
</form></textarea></p>
</form>
<p align="left"><strong><font face="Verdana"><small>이 소스에 관한 좀더
자세한 사용법</small></font></strong></p>
<p><small><font face="Verdana">단계처럼 적용하는 키포인트는:</font></small></p>
<p><font face="Verdana"><small>ㄱ) form에 이름을 지어둡니다. (ie: <form
name="test"></small><br>
<small>ㄴ) 내부 폼 소스에도 이름을 지어둡니다. (ie: <textarea
name="select1"></small><br>
<small>ㄷ) <a> 코드를 아래와 같이 적용합니다.:</small></font></p>
<p><small><font face="Arial"><a class="highlighttext"
href="javascript:HighlightAll(<font color="#FF0080">'test.select1'</font>)">Select
All</a></font></small></p>
<p><small><font face="Verdana">붉은색 두가지에는 ㄱ)과 ㄴ)에서 지정한 이름을
순서대로 적어넣습니다.(위의 예를 보면 이해가 가실겁니다. 두 이름
사이에는 .(점)을 삽입하시고, '(작은따옴표)로 감싸세요.</font></small></p>
</td>
</tr>
</table>
</body>
</html>
소중한 댓글 부탁드립니다.
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 아이콘이 붙게됩니다.
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 아이콘이 붙게됩니다.
추천수에 따른 배경색 보기
본문으로 바로가기
- 추천수 50개이상
- 추천수 30개이상
- 추천수 20개이상
- 추천수 10개이상
- 추천수 3개이상