아빠님.^^ > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

아빠님.^^

페이지 정보

본문

안녕하세요.^^

아빠님게서 알려주신대로 소스를 수정 다하여.^^

링크와 같이 작업이 진행되었습니다.^^

허나.^^;;

구매 수량 부분에서....

같은 방식으로 선택메뉴로 하였으면 합니다.^^

별도 시간을 내셔서 작업을 하셔야 한다면.

유료작업이라도 무관하니, 작업을 요청하였으면 합니다.^^;

답변 부탁드리겠습니다.^^
추천0

댓글목록

profile_image

제로님의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

팁하나...탭으로 상품 보여주는겁니다..
디자인은 잘하시니까..
탭 이미지바꿔서 정렬만 하면 이쁘게 될꺼 같네요~~!!
center.php
~~~생략
<script language>
function premier(n) {
    for(var i = 1; i < 4; i++) {
        obj = document.getElementById('premier'+i);
        img = document.getElementById('premier_button'+i);
        if ( n == i ) {
            obj.style.display = "block";
                        img.height = 21;
            img.src = "http://imgnews.naver.com/image/news/2004n/tab11on"+i+".gif";   
        } else {
            obj.style.display = "none";
                        img.height = 19;
            img.src = "http://imgnews.naver.com/image/news/2004n/tab11off"+i+".gif";
        }
    }
}
</script>

<!-- CENTER START -->
<td width=628 valign=top>
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr>
<td><img src='img/main_img.gif'></td>
</tr>
</table>

<table width=628 border=0 cellpadding=0 cellspacing=0 bgcolor=#EEEFF0>
<tr><td width=1 bgcolor=#ffffff></td><td width=628></td><td width=1 bgcolor=#ffffff></td></tr>
<tr><td height=4></td></tr>
<tr>
        <td colspan=3 align=center>
                <table width=618 border=0 cellpadding=0 cellspacing=0 bgcolor=#EEEFF0>
                <tr valign=bottom>
                        <td><img src=http://imgnews.naver.com/image/news/2004n/tab11on.gif width=62 height=22 OnClick='premier(1);' OnMouseOver='this.style.cursor="hand";premier(1);' OnMouseOut='this.style.cursor="default"' id='premier_button1'></a></td>
                        <td width=1 style='border-bottom:1px solid #B7B19F'><img width=1 height=1></td>
                        <td><img src=http://imgnews.naver.com/image/news/2004n/tab11off1.gif width=82 height=19 OnClick='premier(2);' OnMouseOver='this.style.cursor="hand";premier(2);' OnMouseOut='this.style.cursor="default"' id='premier_button2'></a></td>
                        <td width=1 style='border-bottom:1px solid #B7B19F'><img width=1 height=1></td>
                        <td><img src=http://imgnews.naver.com/image/news/2004n/tab11off2.gif width=70 height=19 OnClick='premier(3);' OnMouseOver='this.style.cursor="hand";premier(3);' OnMouseOut='this.style.cursor="default"' id='premier_button3'></a></td>
                </tr>
                </table>
                <table width=618 border=0 cellpadding=0 cellspacing=0 bgcolor=#ffffff>
                <tr>
                        <td width=1 bgcolor=#B7B19F></td>
                    <td width=214>
                        <span id='premier1' style='display:none;'>
<? group_item("신규", 4 , 4) ?></span>
                       
<span id='premier2' style='display:none;'>
                                <? group_item("기획", 4 , 4) ?>
</span>

<span id='premier3' style='display:none;'>
                                <? group_item("특별", 4 , 4) ?>
</span>
                        </td>
                        <td width=1 bgcolor=#B7B19F></td>
                </tr>
                <tr><td colspan=3 bgcolor=#B7B19F></td></tr>
                </table>
        </td>
</tr>
<tr><td height=4></td></tr>
</table>

<script>
premier(3);
//괄호안에 숫자를 탭순서로 넣으면 그 탭이 활성화돼 열립니다
</script>
생략~~~

profile_image

제로님의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

갯수가 고정인가요???
  숫자가 고정이 된 상태에서는 셀렉트로 숫자를 미리 입력해 놓으면 바로 됩니다...
http://www.matsutrade.com/item.php?ca_id=2&it_id=4
보시는 예문은 갯수를 미리 입력해 놓은겁니다..모든상품에 변화가 없이 같이 출력이 됩니다..


관리자에서 옵션처럼 관리하는건 머리 싸메고 궁리하고 있습니다~!ㅋㅋ

profile_image

맙소사님의 댓글의 댓글

맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

ㅋㅋㅋ

네^^ 요것이 맞습니다.^^

어느 부분을 수정해야 할까요?

profile_image

제로님의 댓글의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

item.php에서
필요하신 수를 적어 두시면 됩니다~!

~~생략
<tr height=25 bgcolor=#ffffff>
<td>&nbsp;수량</td>
<td>&nbsp;
                        <!-- 바로 구매 -->
                        <input type=hidden name=sw_direct value=''>
                        <!-- url -->
                        <input type=hidden name=url value=''>
<select name="ct_qty">
          <option value=''>수량을 선택해 주세요</option>
              <option value='1'>1</option>
              <option value='2'>2</option>
              <option value='3'>3</option>
              <option value='4'>4</option>
              <option value='5'>5</option>
              <option value='6'>6</option>
              <option value='7'>7</option>
              <option value='8'>8</option>
              <option value='9'>9</option>
              <option value='10'>10</option>
              <option value='50'>50</option>
              <option value='100'>100</option>
                          </select>
<!--
<input type=text name=ct_qty style="text-align:right;" size=4 maxlength=4 value='1'>
-->
<input type=hidden name=direct value=''> 개
                        </td>
</tr>
~~생략~~
<script language='javascript'>
      function frmitem_check(f,act) {

            if (act == "direct_buy")
                f.sw_direct.value = 1;
            else
                f.sw_direct.value = 0;

            if (f.ct_qty.value == "")
            {
                alert("수량을 선택해 주세요.");
                f.ct_qty.focus();
                return;
            }
            else if (isNaN(f.ct_qty.value))
            {
                alert("수량을 숫자로 입력해 주십시오.");
                f.ct_qty.select();
                f.ct_qty.focus();
                return;
            }
            else if (parseInt(f.ct_qty.value) < 1)
            {
                alert("수량은 1 이상 입력해 주십시오.");
                f.ct_qty.focus();
                return;
            }

        f.submit();
      }
    </script>
생략~~

profile_image

제로님의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

admin/item_form.php에서
~생략
<p><a href="./order_list.php"><b>주문리스트</b></a>&nbsp;|&nbsp;
<a href="#" onclick="javascript:window.open('../print_order_ct.php?fo_id=<?=$fo_id?>&tmp_on_uid=<?=$on_uid?>','print_order','top=100, left=100, width=800, height=600, scrollbars=1');">인쇄</a>

관리자에서 주문서를 출력할수 있답니다...
웹도움님의 팁~!

profile_image

맙소사님의 댓글의 댓글

맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

하핫^^

어느 부분에 추가를 해야 하는지요.??

profile_image

제로님의 댓글의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

admin/item_form.php에서 하단 주문리스트를 바꾸시면 됩니다..

profile_image

맙소사님의 댓글의 댓글

맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

왜 제 파일에는 주문리스트 부분이 없을까요>? ^^;;

주문 리스트 부분은 없고, 상품 리스트만 잇네용.;;

아마 주문리스트도 소스를 추가한 것인가요?

profile_image

제로님의 댓글의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

이궁 이런 제 실수
order_form.php입니다..죄송~!ㅋㅋ

Total 1,640건 8 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
1465 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13296 0 10-24
1464 실버쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13293 0 04-22
1463 힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13289 0 03-22
1462 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13289 0 10-20
1461 휴먼쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13271 1 05-17
1460 유후훌쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13269 0 08-19
1459 제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13268 0 06-21
1458 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13229 0 01-11
1457 Salhi쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13189 0 06-11
1456 모모쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13188 0 07-29
1455 유후훌쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13187 0 08-11
1454 쾌지나칭칭나네쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13179 0 03-01
1453 노가리쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13163 0 10-20
1452 돌향쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13153 0 10-05
1451 webpark쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13135 0 02-08
1450 제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13126 0 06-05
1449 yb88쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13126 0 08-11
1448 노인과마담쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13117 0 04-11
1447 소금쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13106 0 02-10
1446 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13093 0 09-07
1445 산돌쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13079 0 06-12
1444 힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13063 0 02-21
1443 이종민쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13016 0 03-30
1442 첫만남의감격쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13015 0 08-05
1441 바람의전설쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13011 0 02-07

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
4,211
어제
4,531
최대
7,259
전체
1,230,240
Copyright (c) 株式会社YHPLUS. All rights reserved.