아빠님.^^
페이지 정보
본문
아빠님게서 알려주신대로 소스를 수정 다하여.^^
링크와 같이 작업이 진행되었습니다.^^
허나.^^;;
구매 수량 부분에서....
같은 방식으로 선택메뉴로 하였으면 합니다.^^
별도 시간을 내셔서 작업을 하셔야 한다면.
유료작업이라도 무관하니, 작업을 요청하였으면 합니다.^^;
답변 부탁드리겠습니다.^^
관련링크
댓글목록

제로님의 댓글
제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일
	                	                팁하나...탭으로 상품 보여주는겁니다..
디자인은 잘하시니까..
탭 이미지바꿔서 정렬만 하면 이쁘게 될꺼 같네요~~!!
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>
생략~~~	            



제로님의 댓글의 댓글
제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일
	                	                item.php에서
필요하신 수를 적어 두시면 됩니다~!
~~생략
<tr height=25 bgcolor=#ffffff>
						<td> 수량</td>
						<td> 
                        <!-- 바로 구매 -->
                        <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>
생략~~	            

제로님의 댓글
제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일
	                	                admin/item_form.php에서
~생략
<p><a href="./order_list.php"><b>주문리스트</b></a> | 
<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>
관리자에서 주문서를 출력할수 있답니다...
웹도움님의 팁~!	            








 
