묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
나야나에서 쇼핑몰 소스 짠거중에 일부분인데..이거 어떻게 수정해야 되나요
2004.11.29 16:14
홈페이지 주소 : httpp://www.goodmycar.co.kr
현제 제가 자동차 용품 쇼핑몰을 수정하고있는데요..이미지 다시 작업해서..
예전에 나야나 한테서.. 250만원주고 제작을 했다고 하더군여..근데..쇼핑몰 프로그램이
관리자 모드에서 할수있는게 없었요.. ㅡㅡ;; 젠짱 나야나..
그래서.. 지금 제가 변경할 부분을 디자인한다음에.. 올렸는데..
오른쪽 메뉴 카테고리 나오는 부분이 이미지와 이미지 사이에 공백이 생깁니다..
이뿌분을.. 수정하니깐 아무리 해두 공백이 생기는데 이 해결책을 고수님들
쫌 주십시오..
부탁입니다 못하면 우리 실장한테.. 노쳐녀인데..33 혼나여.. ㅡㅡ;; 찌빨.. 도와주세요..
<script language="JavaScript">
<!--
<?
$result = mysql_query("select * from paran_top_code order by num asc",$connect);
while ($top_name = mysql_fetch_array($result)){
echo "
img".$top_name[top_code]."on = new Image( );
img".$top_name[top_code]."on.src = "${this_path}/${dir}/images/menu_".$top_name[top_code]."_1.gif";
img".$top_name[top_code]."off = new Image( );
img".$top_name[top_code]."off.src = "${this_path}/${dir}/images/menu_".$top_name[top_code].".gif";
";
}
?>
//-->
</script>
<!--menu2 ½ÃÀÛ-->
<TABLE WIDTH=184 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD valign=top> <table border="0" cellspacing="0" cellpadding="0" width=184>
<!-- Left Large Ä«Å×°í¸® ¸®½ºÆ® //-->
<?
$result = mysql_query("select * from paran_top_code order by num asc limit 11",$connect);
$q = 0;
while ($top_name = mysql_fetch_array($result)){
$top_name[top_name] = strtolower($top_name[top_name]);
$top = $q * 18;
$q ++;
$link = "./top_code_view.php?top_code=".$top_name[top_code];
?>
<TR>
<TD WIDTH=184 HEIGHT=24 onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();"><a href=<?=$link?> onfocus=blur() onmouseover="img_act('img<?=$top_name[top_code]?>')" onmouseout="img_inact('img<?=$top_name[top_code]?>')"><IMG SRC=<?=$this_path."/".$dir?>/images/menu_<?=$top_name[top_code]?>.gif border=0 name=img<?=$top_name[top_code]?>></a></TD>
</TR>
<TD height=24 style="position:absolute" width=19> <SPAN id=<?=$top_name[top_code]?>>
<A onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();">
<TABLE WIDTH=110 BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR>
<STYLE type=text/css>
#<?=$top_name[top_code]?> {
Z-INDEX: 1;
LEFT: 120px;
VISIBILITY: hidden;
OVERFLOW: hidden;
WIDTH: 200px;
POSITION: absolute;
TOP: <?=$top?>px
}
</STYLE>
<script language="JavaScript">
function open_<?=$top_name[top_code]?>() {
<?=$top_name[top_code]?>.style.visibility="visible";
}
function close_<?=$top_name[top_code]?>() {
<?=$top_name[top_code]?>.style.visibility="hidden";
}
</script>
<TR>
<TD COLSPAN=2 style='padding-left:4'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_01.gif"></TD>
</TR>
<?
$middle_result = mysql_query("select * from paran_middle_code where top_code='$top_name[top_code]'",$connect);
while ($middle_row = mysql_fetch_array($middle_result)){
?>
<TR>
<TD valign=top style='padding-top:5'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_02.gif"></TD>
<TD valign=top style='border-left:1 solid #747474;border-right:1 solid #747474;'>
<table width=140 height=20 cellpadding=4 cellspacing=0 border=0 style='cursor:hand' align=left>
<tr bgcolor=ffffff onmouseover='this.style.backgroundColor="A1DEFE"' onmouseout='this.style.backgroundColor="ffffff"'>
<td onclick="location.href='<?=$this_path?>/middle_code_view.php?top_code=<?=$middle_row[top_code]?>&middle_code=<?=$middle_row[middle_code]?>'">
<?=$middle_row[middle_name]?>
</td>
</tr>
</table></TD>
</TR>
<?
}
?>
<TR>
<TD COLSPAN=2 style='padding-left:4'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_08.gif" ></TD>
</TR>
</TABLE>
</A> </SPAN> </TD>
</TR>
<?
}
?>
</table></TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_12.gif" WIDTH=184 HEIGHT=169 ALT=""></TD>
</TR>
<TR>
<TD WIDTH=184 align=center background bgcolor="#ffffff">
<!--°øÁö»çÇ× ½ÃÀÛ-->
<table cellpadding=2 cellspacing=1 border=0 width=100% class=fixed>
<?
$query = "select * from paran_board_notice where idx < 1 limit 5";
$result = mysql_query($query,$connect);
while ($row = @mysql_fetch_array($result) ) {
echo "<tr><td> <img src=../nayamall/templates/goodmycar/images/gongi_icon.gif> <a href=$this_path/paran_v10/view.php?id=notice&no=$row[no] class=menu><nobr>".stripslashes($row[subject])."</nobr></a></td></tr><tr><td height=1 background=$this_path/$dir/images/dd_02.gif></td></tr>";
}
?>
</table>
<!--°øÁö»çÇ× ³¡-->
</TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_14.gif" WIDTH=184 HEIGHT=15 ALT=""></TD>
</TR>
<TR>
<TD> <a href="middle_code_view.php?category_code=P_01&top_code=P&middle_code=P_01&bottom_code=nonez"><IMG SRC="<?=$this_path."/".$dir?>/images/main_left_15.gif" ALT="" WIDTH=184 HEIGHT=61 border="0"></a></TD>
</TR>
<TR>
<TD><a href="#" onclick="window.open('./nayana_card_web/order0.html','Connection','directories=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,copyhistory=no,top=100,left=200,width=420,height=300')">
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_17.gif" WIDTH=184 HEIGHT=66 ALT=""></a></TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/leftbanktitle.gif" WIDTH=184 HEIGHT=61 ALT=""></TD>
</TR>
<tr>
<td align=center>
<!--¿ÞÂʹè³Ê2 ½ÃÀÛ-->
<?
$query = "select * from paran_shop_banner where banner_pos = 5 and banner_hidden = 1 order by banner_no1";
$result = mysql_query($query,$connect);
while ($left_banner = @mysql_fetch_array($result) ) {
if(!$left_banner[banner_name_link]) $linker = "javascript:";
else $linker = $left_banner[banner_name_link];
if($left_banner[x_int_field] == 2) $left_banner_target = " target='_blank' ";
else $left_banner_target = "";
$left_banner_media = maker_media($left_banner[banner_name]);
echo "
<tr>
<td align=center><a href=$linker $left_banner_target><img src=$this_path/$left_banner[banner_name] border=0></a></td>
</tr>";
}
?>
<!--¿ÞÂʹè³Ê2 ³¡-->
</td>
</tr>
<tr>
<td height=2></td>
</tr>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_20.gif" WIDTH=184 HEIGHT=1 ALT=""></TD>
</TR>
<!--TR>
<TD WIDTH=184 align=center><img src=no.gif width=1 height=5><br>
<TABLE WIDTH=145 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_bank_01.gif" WIDTH=54 HEIGHT=36 ALT=""></TD>
<TD WIDTH=88 background=<?=$this_path."/".$dir?>/images/main_left_bank_bg.gif align=center valign=middle>
<select name="select">
<option>Á¶ÈïÀºÇà</option>
<option>±¹¹ÎÀºÇà</option>
<option>ÁÖÅÃÀºÇà</option>
</select>
</TD>
<TD>
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_bank_03.gif" WIDTH=3 HEIGHT=36 ALT=""></TD>
</TR>
</TABLE>
</TD>
</TR-->
<TR>
<TD><a href="<?=$this_path?>/center.php"> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_22.gif" WIDTH=184 HEIGHT=67 ALT=""></a></TD>
</TR>
<TR>
<TD WIDTH=184></TD>
</TR>
</TABLE>
<!--menu³¡-->
현제 제가 자동차 용품 쇼핑몰을 수정하고있는데요..이미지 다시 작업해서..
예전에 나야나 한테서.. 250만원주고 제작을 했다고 하더군여..근데..쇼핑몰 프로그램이
관리자 모드에서 할수있는게 없었요.. ㅡㅡ;; 젠짱 나야나..
그래서.. 지금 제가 변경할 부분을 디자인한다음에.. 올렸는데..
오른쪽 메뉴 카테고리 나오는 부분이 이미지와 이미지 사이에 공백이 생깁니다..
이뿌분을.. 수정하니깐 아무리 해두 공백이 생기는데 이 해결책을 고수님들
쫌 주십시오..
부탁입니다 못하면 우리 실장한테.. 노쳐녀인데..33 혼나여.. ㅡㅡ;; 찌빨.. 도와주세요..
<script language="JavaScript">
<!--
<?
$result = mysql_query("select * from paran_top_code order by num asc",$connect);
while ($top_name = mysql_fetch_array($result)){
echo "
img".$top_name[top_code]."on = new Image( );
img".$top_name[top_code]."on.src = "${this_path}/${dir}/images/menu_".$top_name[top_code]."_1.gif";
img".$top_name[top_code]."off = new Image( );
img".$top_name[top_code]."off.src = "${this_path}/${dir}/images/menu_".$top_name[top_code].".gif";
";
}
?>
//-->
</script>
<!--menu2 ½ÃÀÛ-->
<TABLE WIDTH=184 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD valign=top> <table border="0" cellspacing="0" cellpadding="0" width=184>
<!-- Left Large Ä«Å×°í¸® ¸®½ºÆ® //-->
<?
$result = mysql_query("select * from paran_top_code order by num asc limit 11",$connect);
$q = 0;
while ($top_name = mysql_fetch_array($result)){
$top_name[top_name] = strtolower($top_name[top_name]);
$top = $q * 18;
$q ++;
$link = "./top_code_view.php?top_code=".$top_name[top_code];
?>
<TR>
<TD WIDTH=184 HEIGHT=24 onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();"><a href=<?=$link?> onfocus=blur() onmouseover="img_act('img<?=$top_name[top_code]?>')" onmouseout="img_inact('img<?=$top_name[top_code]?>')"><IMG SRC=<?=$this_path."/".$dir?>/images/menu_<?=$top_name[top_code]?>.gif border=0 name=img<?=$top_name[top_code]?>></a></TD>
</TR>
<TD height=24 style="position:absolute" width=19> <SPAN id=<?=$top_name[top_code]?>>
<A onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();">
<TABLE WIDTH=110 BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR>
<STYLE type=text/css>
#<?=$top_name[top_code]?> {
Z-INDEX: 1;
LEFT: 120px;
VISIBILITY: hidden;
OVERFLOW: hidden;
WIDTH: 200px;
POSITION: absolute;
TOP: <?=$top?>px
}
</STYLE>
<script language="JavaScript">
function open_<?=$top_name[top_code]?>() {
<?=$top_name[top_code]?>.style.visibility="visible";
}
function close_<?=$top_name[top_code]?>() {
<?=$top_name[top_code]?>.style.visibility="hidden";
}
</script>
<TR>
<TD COLSPAN=2 style='padding-left:4'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_01.gif"></TD>
</TR>
<?
$middle_result = mysql_query("select * from paran_middle_code where top_code='$top_name[top_code]'",$connect);
while ($middle_row = mysql_fetch_array($middle_result)){
?>
<TR>
<TD valign=top style='padding-top:5'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_02.gif"></TD>
<TD valign=top style='border-left:1 solid #747474;border-right:1 solid #747474;'>
<table width=140 height=20 cellpadding=4 cellspacing=0 border=0 style='cursor:hand' align=left>
<tr bgcolor=ffffff onmouseover='this.style.backgroundColor="A1DEFE"' onmouseout='this.style.backgroundColor="ffffff"'>
<td onclick="location.href='<?=$this_path?>/middle_code_view.php?top_code=<?=$middle_row[top_code]?>&middle_code=<?=$middle_row[middle_code]?>'">
<?=$middle_row[middle_name]?>
</td>
</tr>
</table></TD>
</TR>
<?
}
?>
<TR>
<TD COLSPAN=2 style='padding-left:4'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_08.gif" ></TD>
</TR>
</TABLE>
</A> </SPAN> </TD>
</TR>
<?
}
?>
</table></TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_12.gif" WIDTH=184 HEIGHT=169 ALT=""></TD>
</TR>
<TR>
<TD WIDTH=184 align=center background bgcolor="#ffffff">
<!--°øÁö»çÇ× ½ÃÀÛ-->
<table cellpadding=2 cellspacing=1 border=0 width=100% class=fixed>
<?
$query = "select * from paran_board_notice where idx < 1 limit 5";
$result = mysql_query($query,$connect);
while ($row = @mysql_fetch_array($result) ) {
echo "<tr><td> <img src=../nayamall/templates/goodmycar/images/gongi_icon.gif> <a href=$this_path/paran_v10/view.php?id=notice&no=$row[no] class=menu><nobr>".stripslashes($row[subject])."</nobr></a></td></tr><tr><td height=1 background=$this_path/$dir/images/dd_02.gif></td></tr>";
}
?>
</table>
<!--°øÁö»çÇ× ³¡-->
</TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_14.gif" WIDTH=184 HEIGHT=15 ALT=""></TD>
</TR>
<TR>
<TD> <a href="middle_code_view.php?category_code=P_01&top_code=P&middle_code=P_01&bottom_code=nonez"><IMG SRC="<?=$this_path."/".$dir?>/images/main_left_15.gif" ALT="" WIDTH=184 HEIGHT=61 border="0"></a></TD>
</TR>
<TR>
<TD><a href="#" onclick="window.open('./nayana_card_web/order0.html','Connection','directories=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,copyhistory=no,top=100,left=200,width=420,height=300')">
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_17.gif" WIDTH=184 HEIGHT=66 ALT=""></a></TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/leftbanktitle.gif" WIDTH=184 HEIGHT=61 ALT=""></TD>
</TR>
<tr>
<td align=center>
<!--¿ÞÂʹè³Ê2 ½ÃÀÛ-->
<?
$query = "select * from paran_shop_banner where banner_pos = 5 and banner_hidden = 1 order by banner_no1";
$result = mysql_query($query,$connect);
while ($left_banner = @mysql_fetch_array($result) ) {
if(!$left_banner[banner_name_link]) $linker = "javascript:";
else $linker = $left_banner[banner_name_link];
if($left_banner[x_int_field] == 2) $left_banner_target = " target='_blank' ";
else $left_banner_target = "";
$left_banner_media = maker_media($left_banner[banner_name]);
echo "
<tr>
<td align=center><a href=$linker $left_banner_target><img src=$this_path/$left_banner[banner_name] border=0></a></td>
</tr>";
}
?>
<!--¿ÞÂʹè³Ê2 ³¡-->
</td>
</tr>
<tr>
<td height=2></td>
</tr>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_20.gif" WIDTH=184 HEIGHT=1 ALT=""></TD>
</TR>
<!--TR>
<TD WIDTH=184 align=center><img src=no.gif width=1 height=5><br>
<TABLE WIDTH=145 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_bank_01.gif" WIDTH=54 HEIGHT=36 ALT=""></TD>
<TD WIDTH=88 background=<?=$this_path."/".$dir?>/images/main_left_bank_bg.gif align=center valign=middle>
<select name="select">
<option>Á¶ÈïÀºÇà</option>
<option>±¹¹ÎÀºÇà</option>
<option>ÁÖÅÃÀºÇà</option>
</select>
</TD>
<TD>
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_bank_03.gif" WIDTH=3 HEIGHT=36 ALT=""></TD>
</TR>
</TABLE>
</TD>
</TR-->
<TR>
<TD><a href="<?=$this_path?>/center.php"> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_22.gif" WIDTH=184 HEIGHT=67 ALT=""></a></TD>
</TR>
<TR>
<TD WIDTH=184></TD>
</TR>
</TABLE>
<!--menu³¡-->
<TD WIDTH=184 HEIGHT=24 onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();"><a href=<?=$link?> onfocus=blur() onmouseover="img_act('img<?=$top_name[top_code]?>')" onmouseout="img_inact('+ '+ 'img<?=$top_name[top_code]?>')"><IMG SRC=<?=$this_path."/".$dir?>/images/menu_<?=$top_name[top_code]?>.gif border=0 name=img<?=$top_name[top_code]?>></a></TD>
</TR>
TD의 HEIGHT를 20으로 주세요.
이미지 사이즈는 20인데 TD는 24네요. :)