로그인

검색

조회 수 3999 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
Extra Form
미리보기 http://linfree.com/javaboard/29.html


<!---- [1단계] 아래의 소스코드를 <HEAD>와 </HEAD> 사이에 붙여 넣으세요 ---->

<script Language="JavaScript">
<!--
function mailIt(form) {
var data = document.dataForm
var userInfo = ""

form.action += data.recipient.value
form.action += "?subject=" + data.subject.value

userInfo += "사이트 제목 :  " +	document.title + "\n"
userInfo += "사이트 경로 : " +	document.location + "\n\n"

form.mailBody.value =	"\n" + userInfo + "\n"+data.name.value + "\n" + data.email.value
+ "\n"+data.comments.value
return true
}
//-->
</script>

<!------------------------- 여기까지 ---------------------------------->

</HEAD>

<BODY>

<!---- [2단계] 아래의 코드를 원하는 위치에 복사 해 넣으세요 -------------------->

<table border=0 width=500 align=center cellspacing=5 cellpadding=5>
<form NAME="dataForm">
<tr>
<th ALIGN="right" bgColor=#F5F5F5>받는사람
<td bgColor=white><input NAME="recipient" SIZE="40" VALUE="master@linfree.com">
</tr>
<tr>
<th ALIGN="right" bgColor=#F5F5F5>제 목
<td bgColor=white><input NAME="subject" SIZE="40" VALUE="안녕하세요">
</tr>

<tr>
<th ALIGN="right" VALIGN="top" bgColor=#F5F5F5>보내는 사람 이름
<td bgColor=white><input NAME="name" SIZE="40" VALUE>
</tr>
<tr>
<th ALIGN="right" VALIGN="top" bgColor=#F5F5F5>보내는 사람 Email
<td bgColor=white><input NAME="email" SIZE="40" VALUE>
</tr>
<tr>
<th ALIGN="right" VALIGN="top" bgColor=#F5F5F5>내 용
<td bgColor=white><textarea NAME="comments" cols="40" rows=10></textarea>
</tr>
</form>

<form NAME="mailForm" ACTION="mailto:" METHOD="post" ENCTYPE="text/plain" onSubmit="return mailIt(this)">
<input TYPE="hidden" NAME="mailBody" VALUE="linfree Web Mail"><br>
<tr>
<td COLSPAN="2" ALIGN="center" bgColor=white>
<input TYPE="submit" VALUE="보내기">
</tr>
</form>

</table>

<!------------------------- 여기까지 ---------------------------------->




간단한 폼메일 스크립트 입니다.



웹코드

자바스크립트

  1. 간단한 폼메일 스크립트 입니다.

    Date2013.09.08 Category기본 By보석 Views3999
    Read More
  2. 즐겨찾기 추가 단축키 포함 스크립트

    Date2013.09.08 Category기본 By보석 Views4182
    Read More
  3. 홈페이지 이메일주소 숨기는(보호하는)스크립트

    Date2013.09.07 Category기본 By보석 Views5228
    Read More
  4. 스크롤바 색상 변경 스크립트 (여러가지 색)

    Date2013.09.07 Category기본 By보석 Views3993
    Read More
  5. 현재시간 로그인한시간 홈페이지 머문시간을 알려주는 스크립트

    Date2013.09.07 Category기본 By보석 Views4023
    Read More
  6. 페이지를 나갈때 머문 시간 알려주고 인사하는 스크립트

    Date2013.09.07 Category기본 By보석 Views4110
    Read More
  7. 요일별로 다른 이미지를 출력하는 스크립트

    Date2013.09.07 Category기본 By보석 Views4040
    Read More
  8. 창닫기 스크립트 모음

    Date2013.09.07 Category기본 By보석 Views4075
    Read More
  9. 상태바에 링크 주소 숨기고 전체(채널모드)로 새창 열는 스크립트

    Date2013.09.07 Category기본 By보석 Views4750
    Read More
  10. 날자별로 다른 페이지 열어주는 스크립트

    Date2013.09.06 Category기본 By보석 Views4163
    Read More
  11. 요일별로 다른 페이지 열어주는 스크립트

    Date2013.09.06 Category기본 By보석 Views4398
    Read More
  12. 마우스 오버시 셀 표 색상 변경 스크립트

    Date2013.09.06 Category기본 By보석 Views4072
    Read More
  13. 화면 흔들어주는 스크립트

    Date2013.09.06 Category기본 By보석 Views4229
    Read More
  14. 지정된 날자에서 몇일 지났는지 알려주는 스크립트

    Date2013.09.06 Category기본 By보석 Views2920
    Read More
  15. 홈페이지 진입시 간단한 맨트 넣기

    Date2013.09.06 Category기본 By보석 Views2648
    Read More
  16. 로그인창 만드는 스크립트

    Date2013.09.06 Category기본 By보석 Views3263
    Read More
  17. 랜덤 배너 스크립트 (이미지, 텍스트, 배경음악)

    Date2013.09.05 Category기본 By보석 Views2804
    Read More
  18. 한 링크에 랜덤으로 이동하는 URL 넣기

    Date2013.09.05 Category기본 By보석 Views2880
    Read More
  19. 시간대 별로 다른 맨트 날리는 스크립트

    Date2013.09.05 Category기본 By보석 Views2550
    Read More
  20. 질문 후 확인 누르면 홈페이지 진입 스크립트

    Date2013.09.05 Category기본 By보석 Views2679
    Read More
Board Pagination Prev 1 2 ... 3 Next
/ 3