핸드폰으로 글쓰기 버튼 클릭시 반응이 없습니다. 정보
핸드폰으로 글쓰기 버튼 클릭시 반응이 없습니다.관련링크
본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://dermasterclinic.com/webzine2/
PC에서는 필드에 값 입력후 상담하기를 클릭하면 잘되는데
핸드폰에서는 안되네요ㅜㅜ
그리고 폼을 클릭하면 상담창이 너무 늘어나는데 고정되게 할 수있을까요?
예)http://m.face-plus.co.kr/face/face_05.html
검색해도 없어서 질문드립니다. 답변주세요~~
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '250', $board[bo_image_width]);
}
//전화번호/FAX, 팩스, 핸드폰, 성별, 주소
$wr1 = explode("|",$write[wr_1]);
$zip1 = $wr1[0];
$zip2 = $wr1[1];
$add1 = $wr1[2];
$add2 = $wr1[3];
$zip1b = $wr1[4];
$zip2b = $wr1[5];
$add1b = $wr1[6];
$add2b = $wr1[7];
$zip1c = $wr1[8];
$zip2c = $wr1[9];
$add1c = $wr1[10];
$add2c = $wr1[11];
$ex01 = $wr1[12];
$ex02 = $wr1[13];
$ex03 = $wr1[14];
$ex04 = $wr1[15];
$ex05 = $wr1[16];
$ex06 = $wr1[17];
$ex07 = $wr1[18];
$ex08 = $wr1[19];
$ex09 = $wr1[20];
$ex10 = $wr1[21];
$ex11 = $wr1[22];
$ex12 = $wr1[23];
$ex13 = $wr1[24];
$ex14 = $wr1[25];
$ex15 = $wr1[26];
$ex16 = $wr1[27];
$ex17 = $wr1[28];
$ex18 = $wr1[29];
$ex19 = $wr1[30];
$ex20 = $wr1[31];
$ex21 = $wr1[32];
$ex22 = $wr1[33];
$ex23 = $wr1[34];
$ex24 = $wr1[35];
$ex25 = $wr1[36];
$ex26 = $wr1[37];
$ex27 = $wr1[38];
$ex28 = $wr1[39];
$ex29 = $wr1[40];
$ex30 = $wr1[41];
$ex31 = $wr1[42];
$ex32 = $wr1[43];
$ex33 = $wr1[44];
$ex34 = $wr1[45];
$ex35 = $wr1[46];
$ex36 = $wr1[47];
$ex37 = $wr1[48];
$ex38 = $wr1[49];
$ex39 = $wr1[50];
$ex40 = $wr1[51];
$ex41 = $wr1[52];
$ex42 = $wr1[53];
$ex43 = $wr1[54];
$ex44 = $wr1[55];
$ex45 = $wr1[56];
$ex46 = $wr1[57];
$ex47 = $wr1[58];
$ex48 = $wr1[59];
$ex49 = $wr1[60];
$ex50 = $wr1[61];
$ex51 = $wr1[62];
$ex52 = $wr1[63];
$ex53 = $wr1[64];
$ex54 = $wr1[65];
$ex55 = $wr1[66];
$ex56 = $wr1[67];
$ex57 = $wr1[68];
$ex58 = $wr1[69];
$ex59 = $wr1[70];
$ex60 = $wr1[71];
?>
<style type="text/css">
table.dbcell { width:730px; font-size:12px; line-height:1.2em; font-family: "돋움", Dotum, Helvetica, AppleGothic, Sans-serif; color:#444; }
table.dbcell thead td { height:40px; border-bottom:#CCC 1px solid; }
table.dbcell tfoot th { border-bottom:#CCC 1px solid; padding:5px; }
table.dbcell tbody th { width:130px; height:25px; border-bottom:#CCC 1px solid; padding:5px; }
table.dbcell tbody td { width:220px; height:25px; border-bottom:#CCC 1px solid; padding:5px; }
table.opt tbody td { width:150px; border:0px; font-size:12px; line-height:1.0em; font-family: "돋움", Dotum, Helvetica, AppleGothic, Sans-serif; color:#444; }
input.text_input { height:20px; background:#F3F3F3; border:#CCC 1px solid; }
b.red { color:#F00; }
body {
background-color: #383838;
}
</style>
<script language="javascript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>
<form name="fwrite" method="post" action="javascript:fwrite_submit(document.fwrite);" enctype="multipart/form-data" style="margin:0px;">
<input type=hidden name=null>
<input type=hidden name=w value="<?=$w?>">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=wr_id value="<?=$wr_id?>">
<input type=hidden name=sca value="<?=$sca?>">
<input type=hidden name=sfl value="<?=$sfl?>">
<input type=hidden name=stx value="<?=$stx?>">
<input type=hidden name=spt value="<?=$spt?>">
<input type=hidden name=sst value="<?=$sst?>">
<input type=hidden name=sod value="<?=$sod?>">
<input type=hidden name=page value="<?=$page?>">
<? if ($is_guest) { ?>
<img id='kcaptcha_image' width=0 height=0>
<input type=hidden name=wr_key value="">
<? } ?>
<table width="800" border="0" cellspacing="0" cellpadding="0" bgcolor="#383838" >
<tr style="display:none">
<td height="30" colspan="6"><input class='ed' style="width:10%;" name=wr_subject id="wr_subject" itemname="제목" required value="-<?=$subject?>" />(ex : 홍길동 신청서)</td>
</tr>
<tr>
<tr>
<td colspan="6" align="center"><img src="<?=$board_skin_path?>/img/title.gif" width="800" height="60" /></td></tr>
<td width="130"><img src="<?=$board_skin_path?>/img/name.gif" width="130" height="50" /></td>
<td width="160"><input class='ed' maxlength=16 size=16 name=wr_name itemname="이름" required value="<?=$name?>" style="width:160px; height:30px;"></td>
<td width="130"><img src="<?=$board_skin_path?>/img/hp.gif" width="130" height="50" /></td>
<td width="315"><input name='ex12' class=ed value='<?=$ex12?>' type='text' itemname="휴대전화" required maxlength=3 style="width:50px; height:30px;"> -
<input name='ex13' class=ed value='<?=$ex13?>' type='text' itemname="휴대전화" required maxlength=4 style="width:70px; height:30px;"> -
<input name='ex14' class=ed value='<?=$ex14?>' type='text' itemname="휴대전화" required maxlength=4 style="width:70px; height:30px;"> </td>
<td width="130"><img src="<?=$board_skin_path?>/img/mail.gif" width="130" height="50" /></td>
<td width="160"><input name='ex15' type='text' class=ed value='<?=$ex15?>' style="width:160px; height:30px;"></td>
</tr>
<tr>
<td height="39"><img src="<?=$board_skin_path?>/img/part.gif" width="130" height="50" /></td>
<td>
<select name="ex24" itemname="상담부위" required value='<?=$ex24?>' style="width:160px; height:30px;">
<option value="">상담부위선택</option>
<option value="울트라V리프팅">울트라V리프팅</option>
<option value="울트라트리플 안면윤곽">울트라트리플 안면윤곽</option>
<option value="울트라S라인">울트라S라인</option>
<option value="울트라 힙업">울트라 힙업</option>
<option value="울트라 뷰티레그">울트라 뷰티레그</option>
<option value="하이코">하이코</option>
<option value="울트라V헤어">울트라V헤어</option>
</select>
</td>
<td height="52"><img src="<?=$board_skin_path?>/img/content.gif" width="130" height="50" /></td>
<td colspan="4"><textarea name="ex59" cols="84" rows="2" class="ed" temname="내용" required style="height:30px;"><?=$ex59?></textarea></td>
</tr>
<tr>
<td colspan="6" align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td height="10"></td></tr>
<tr>
<td align="center" valign="top" colspan=""> <input type=image id="btn_submit" src="<?=$board_skin_path?>/img/btn_submit.jpg" border=0 accesskey='s' >
<? if($is_admin) {?></td>
<td align="center" valign="top"> <a href="#"><img src="<?=$board_skin_path?>/img/btn_cancel.jpg" name="btn_list" border=0 id="btn_list"></a> <? } ?></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<br><br><br>
<script type="text/javascript"> var md5_norobot_key = ''; </script>
<script type="text/javascript" src="<?="$g4[path]/js/prototype.js"?>"></script>
<script type="text/javascript">
function imageClick() {
var url = "<?=$g4[bbs_path]?>/kcaptcha_session.php";
var para = "";
var myAjax = new Ajax.Request(
url,
{
method: 'post',
asynchronous: true,
parameters: para,
onComplete: imageClickResult
});
}
function imageClickResult(req) {
var result = req.responseText;
var img = document.createElement("IMG");
img.setAttribute("src", "<?=$g4[bbs_path]?>/kcaptcha_image.php?t=" + (new Date).getTime());
document.getElementById('kcaptcha_image').src = img.getAttribute('src');
md5_norobot_key = result;
}
<? if (!$is_member) { ?>Event.observe(window, "load", imageClick);<? } ?>
<?
// 관리자라면 분류 선택에 '공지' 옵션을 추가함
if ($is_admin)
{
echo "
if (typeof(document.fwrite.ca_name) != 'undefined')
{
document.fwrite.ca_name.options.length += 1;
document.fwrite.ca_name.options[document.fwrite.ca_name.options.length-1].value = '공지';
document.fwrite.ca_name.options[document.fwrite.ca_name.options.length-1].text = '공지';
}";
}
?>
with (document.fwrite)
{
<!--자동으로 이름에 커서 안가게-->
// if (typeof(wr_name) != "undefined")
// wr_name.focus();
// else if (typeof(wr_subject) != "undefined")
// wr_subject.focus();
// else if (typeof(wr_content) != "undefined")
// wr_content.focus();
if (typeof(ca_name) != "undefined")
if (w.value == "u")
ca_name.value = "<?=$write[ca_name]?>";
}
function html_auto_br(obj)
{
if (obj.checked) {
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
if (result)
obj.value = "html2";
else
obj.value = "html1";
}
else
obj.value = "";
}
function fwrite_submit(f)
{
if (document.getElementById('char_count')) {
if (char_min > 0 || char_max > 0) {
var cnt = parseInt(document.getElementById('char_count').innerHTML);
if (char_min > 0 && char_min > cnt) {
alert("내용은 "+char_min+"글자 이상 쓰셔야 합니다.");
return false;
}
else if (char_max > 0 && char_max < cnt) {
alert("내용은 "+char_max+"글자 이하로 쓰셔야 합니다.");
return false;
}
}
}
if (document.getElementById('tx_wr_content')) {
if (!ed_wr_content.outputBodyText()) {
alert('내용을 입력하십시오.');
ed_wr_content.returnFalse();
return false;
}
}
document.getElementById('btn_submit').disabled = true;
// document.getElementById('btn_list').disabled = true;
f.action = './write_update.php';
f.submit();
}
function hasCheckedRadio(input) {
if (input.length > 1) {
for (var inx = 0; inx < input.length; inx++) {
if (input[inx].checked) return true;
}
} else {
if (input.checked) return true;
}
return false;
}
</script>
<script language="JavaScript" src="<?="$g4[path]/js/board.js"?>"></script>
<script language="JavaScript"> window.onload=function() { drawFont(); } </script>
오류 주소 : http://dermasterclinic.com/webzine2/
PC에서는 필드에 값 입력후 상담하기를 클릭하면 잘되는데
핸드폰에서는 안되네요ㅜㅜ
그리고 폼을 클릭하면 상담창이 너무 늘어나는데 고정되게 할 수있을까요?
예)http://m.face-plus.co.kr/face/face_05.html
검색해도 없어서 질문드립니다. 답변주세요~~
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '250', $board[bo_image_width]);
}
//전화번호/FAX, 팩스, 핸드폰, 성별, 주소
$wr1 = explode("|",$write[wr_1]);
$zip1 = $wr1[0];
$zip2 = $wr1[1];
$add1 = $wr1[2];
$add2 = $wr1[3];
$zip1b = $wr1[4];
$zip2b = $wr1[5];
$add1b = $wr1[6];
$add2b = $wr1[7];
$zip1c = $wr1[8];
$zip2c = $wr1[9];
$add1c = $wr1[10];
$add2c = $wr1[11];
$ex01 = $wr1[12];
$ex02 = $wr1[13];
$ex03 = $wr1[14];
$ex04 = $wr1[15];
$ex05 = $wr1[16];
$ex06 = $wr1[17];
$ex07 = $wr1[18];
$ex08 = $wr1[19];
$ex09 = $wr1[20];
$ex10 = $wr1[21];
$ex11 = $wr1[22];
$ex12 = $wr1[23];
$ex13 = $wr1[24];
$ex14 = $wr1[25];
$ex15 = $wr1[26];
$ex16 = $wr1[27];
$ex17 = $wr1[28];
$ex18 = $wr1[29];
$ex19 = $wr1[30];
$ex20 = $wr1[31];
$ex21 = $wr1[32];
$ex22 = $wr1[33];
$ex23 = $wr1[34];
$ex24 = $wr1[35];
$ex25 = $wr1[36];
$ex26 = $wr1[37];
$ex27 = $wr1[38];
$ex28 = $wr1[39];
$ex29 = $wr1[40];
$ex30 = $wr1[41];
$ex31 = $wr1[42];
$ex32 = $wr1[43];
$ex33 = $wr1[44];
$ex34 = $wr1[45];
$ex35 = $wr1[46];
$ex36 = $wr1[47];
$ex37 = $wr1[48];
$ex38 = $wr1[49];
$ex39 = $wr1[50];
$ex40 = $wr1[51];
$ex41 = $wr1[52];
$ex42 = $wr1[53];
$ex43 = $wr1[54];
$ex44 = $wr1[55];
$ex45 = $wr1[56];
$ex46 = $wr1[57];
$ex47 = $wr1[58];
$ex48 = $wr1[59];
$ex49 = $wr1[60];
$ex50 = $wr1[61];
$ex51 = $wr1[62];
$ex52 = $wr1[63];
$ex53 = $wr1[64];
$ex54 = $wr1[65];
$ex55 = $wr1[66];
$ex56 = $wr1[67];
$ex57 = $wr1[68];
$ex58 = $wr1[69];
$ex59 = $wr1[70];
$ex60 = $wr1[71];
?>
<style type="text/css">
table.dbcell { width:730px; font-size:12px; line-height:1.2em; font-family: "돋움", Dotum, Helvetica, AppleGothic, Sans-serif; color:#444; }
table.dbcell thead td { height:40px; border-bottom:#CCC 1px solid; }
table.dbcell tfoot th { border-bottom:#CCC 1px solid; padding:5px; }
table.dbcell tbody th { width:130px; height:25px; border-bottom:#CCC 1px solid; padding:5px; }
table.dbcell tbody td { width:220px; height:25px; border-bottom:#CCC 1px solid; padding:5px; }
table.opt tbody td { width:150px; border:0px; font-size:12px; line-height:1.0em; font-family: "돋움", Dotum, Helvetica, AppleGothic, Sans-serif; color:#444; }
input.text_input { height:20px; background:#F3F3F3; border:#CCC 1px solid; }
b.red { color:#F00; }
body {
background-color: #383838;
}
</style>
<script language="javascript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>
<form name="fwrite" method="post" action="javascript:fwrite_submit(document.fwrite);" enctype="multipart/form-data" style="margin:0px;">
<input type=hidden name=null>
<input type=hidden name=w value="<?=$w?>">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=wr_id value="<?=$wr_id?>">
<input type=hidden name=sca value="<?=$sca?>">
<input type=hidden name=sfl value="<?=$sfl?>">
<input type=hidden name=stx value="<?=$stx?>">
<input type=hidden name=spt value="<?=$spt?>">
<input type=hidden name=sst value="<?=$sst?>">
<input type=hidden name=sod value="<?=$sod?>">
<input type=hidden name=page value="<?=$page?>">
<? if ($is_guest) { ?>
<img id='kcaptcha_image' width=0 height=0>
<input type=hidden name=wr_key value="">
<? } ?>
<table width="800" border="0" cellspacing="0" cellpadding="0" bgcolor="#383838" >
<tr style="display:none">
<td height="30" colspan="6"><input class='ed' style="width:10%;" name=wr_subject id="wr_subject" itemname="제목" required value="-<?=$subject?>" />(ex : 홍길동 신청서)</td>
</tr>
<tr>
<tr>
<td colspan="6" align="center"><img src="<?=$board_skin_path?>/img/title.gif" width="800" height="60" /></td></tr>
<td width="130"><img src="<?=$board_skin_path?>/img/name.gif" width="130" height="50" /></td>
<td width="160"><input class='ed' maxlength=16 size=16 name=wr_name itemname="이름" required value="<?=$name?>" style="width:160px; height:30px;"></td>
<td width="130"><img src="<?=$board_skin_path?>/img/hp.gif" width="130" height="50" /></td>
<td width="315"><input name='ex12' class=ed value='<?=$ex12?>' type='text' itemname="휴대전화" required maxlength=3 style="width:50px; height:30px;"> -
<input name='ex13' class=ed value='<?=$ex13?>' type='text' itemname="휴대전화" required maxlength=4 style="width:70px; height:30px;"> -
<input name='ex14' class=ed value='<?=$ex14?>' type='text' itemname="휴대전화" required maxlength=4 style="width:70px; height:30px;"> </td>
<td width="130"><img src="<?=$board_skin_path?>/img/mail.gif" width="130" height="50" /></td>
<td width="160"><input name='ex15' type='text' class=ed value='<?=$ex15?>' style="width:160px; height:30px;"></td>
</tr>
<tr>
<td height="39"><img src="<?=$board_skin_path?>/img/part.gif" width="130" height="50" /></td>
<td>
<select name="ex24" itemname="상담부위" required value='<?=$ex24?>' style="width:160px; height:30px;">
<option value="">상담부위선택</option>
<option value="울트라V리프팅">울트라V리프팅</option>
<option value="울트라트리플 안면윤곽">울트라트리플 안면윤곽</option>
<option value="울트라S라인">울트라S라인</option>
<option value="울트라 힙업">울트라 힙업</option>
<option value="울트라 뷰티레그">울트라 뷰티레그</option>
<option value="하이코">하이코</option>
<option value="울트라V헤어">울트라V헤어</option>
</select>
</td>
<td height="52"><img src="<?=$board_skin_path?>/img/content.gif" width="130" height="50" /></td>
<td colspan="4"><textarea name="ex59" cols="84" rows="2" class="ed" temname="내용" required style="height:30px;"><?=$ex59?></textarea></td>
</tr>
<tr>
<td colspan="6" align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td height="10"></td></tr>
<tr>
<td align="center" valign="top" colspan=""> <input type=image id="btn_submit" src="<?=$board_skin_path?>/img/btn_submit.jpg" border=0 accesskey='s' >
<? if($is_admin) {?></td>
<td align="center" valign="top"> <a href="#"><img src="<?=$board_skin_path?>/img/btn_cancel.jpg" name="btn_list" border=0 id="btn_list"></a> <? } ?></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<br><br><br>
<script type="text/javascript"> var md5_norobot_key = ''; </script>
<script type="text/javascript" src="<?="$g4[path]/js/prototype.js"?>"></script>
<script type="text/javascript">
function imageClick() {
var url = "<?=$g4[bbs_path]?>/kcaptcha_session.php";
var para = "";
var myAjax = new Ajax.Request(
url,
{
method: 'post',
asynchronous: true,
parameters: para,
onComplete: imageClickResult
});
}
function imageClickResult(req) {
var result = req.responseText;
var img = document.createElement("IMG");
img.setAttribute("src", "<?=$g4[bbs_path]?>/kcaptcha_image.php?t=" + (new Date).getTime());
document.getElementById('kcaptcha_image').src = img.getAttribute('src');
md5_norobot_key = result;
}
<? if (!$is_member) { ?>Event.observe(window, "load", imageClick);<? } ?>
<?
// 관리자라면 분류 선택에 '공지' 옵션을 추가함
if ($is_admin)
{
echo "
if (typeof(document.fwrite.ca_name) != 'undefined')
{
document.fwrite.ca_name.options.length += 1;
document.fwrite.ca_name.options[document.fwrite.ca_name.options.length-1].value = '공지';
document.fwrite.ca_name.options[document.fwrite.ca_name.options.length-1].text = '공지';
}";
}
?>
with (document.fwrite)
{
<!--자동으로 이름에 커서 안가게-->
// if (typeof(wr_name) != "undefined")
// wr_name.focus();
// else if (typeof(wr_subject) != "undefined")
// wr_subject.focus();
// else if (typeof(wr_content) != "undefined")
// wr_content.focus();
if (typeof(ca_name) != "undefined")
if (w.value == "u")
ca_name.value = "<?=$write[ca_name]?>";
}
function html_auto_br(obj)
{
if (obj.checked) {
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
if (result)
obj.value = "html2";
else
obj.value = "html1";
}
else
obj.value = "";
}
function fwrite_submit(f)
{
if (document.getElementById('char_count')) {
if (char_min > 0 || char_max > 0) {
var cnt = parseInt(document.getElementById('char_count').innerHTML);
if (char_min > 0 && char_min > cnt) {
alert("내용은 "+char_min+"글자 이상 쓰셔야 합니다.");
return false;
}
else if (char_max > 0 && char_max < cnt) {
alert("내용은 "+char_max+"글자 이하로 쓰셔야 합니다.");
return false;
}
}
}
if (document.getElementById('tx_wr_content')) {
if (!ed_wr_content.outputBodyText()) {
alert('내용을 입력하십시오.');
ed_wr_content.returnFalse();
return false;
}
}
document.getElementById('btn_submit').disabled = true;
// document.getElementById('btn_list').disabled = true;
f.action = './write_update.php';
f.submit();
}
function hasCheckedRadio(input) {
if (input.length > 1) {
for (var inx = 0; inx < input.length; inx++) {
if (input[inx].checked) return true;
}
} else {
if (input.checked) return true;
}
return false;
}
</script>
<script language="JavaScript" src="<?="$g4[path]/js/board.js"?>"></script>
<script language="JavaScript"> window.onload=function() { drawFont(); } </script>
댓글 전체
<form name="fwrite" method="post" action="javascript:fwrite_submit(document.fwrite);" enctype="multipart/form-data" style="margin:0px;">
을
<form name="fwrite" method="post" onsubmit="javascript:fwrite_submit(document.fwrite);" enctype="multipart/form-data" style="margin:0px;">
저도초보라,ㅎㅎㅎ
을
<form name="fwrite" method="post" onsubmit="javascript:fwrite_submit(document.fwrite);" enctype="multipart/form-data" style="margin:0px;">
저도초보라,ㅎㅎㅎ