좌측메뉴 크기 정보
좌측메뉴 크기본문
댓글 전체
td width 값과 플래시 width값이 같나요?
$table_width = 980;
$main = mb_strcut($bo_table, 1 ,1);
$sub = mb_strcut($bo_table, 2 ,1);
if($main=="2"||$main=="6"||$main=="7"){
$lm_height=256;
}elseif($main=="3"){
$lm_height=222;
}elseif($main=="1"||$main=="4"){
$lm_height=290;
}elseif($main=="5"){
$lm_height=319;
}
?>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" class="left_bg<? if($bo_table){ ?>a<? } ?>"><img src="<?=$g4['path']?>/images/b_l<? if($bo_table){ ?>a<? } ?>.gif" border="0"></td>
<td width="<?=$table_width?>" align="center" valign="top">
<? if($bo_table){ ?>
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/index.swf?main=<?=$main?>&sub=<?=$sub?>",980,100,"#ffffff","index");
</script>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/sub.swf",980,240,"#ffffff","sub");
</script>
</td>
</tr>
<tr><td height="25"></td></tr>
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="210" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/lm<?=$main?>.swf?main=<?=$sub?>",200,<?=$lm_height?>,"#ffffff","lm<?=$main?>");
</script>
</td>
</tr>
</table>
</td>
<td width="40"></td>
<td width="730" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><img src="<?=$g4['path']?>/images/subject/<?=$bo_table?>.gif" border="0"></td>
</tr>
<tr><td height="15"></td></tr>
<tr>
<td align="center" valign="top">
<? } ?>
head. php?가이런식으로 되있는데요 어떤 소스가 좌측메뉴인지 못찾겠어여
$main = mb_strcut($bo_table, 1 ,1);
$sub = mb_strcut($bo_table, 2 ,1);
if($main=="2"||$main=="6"||$main=="7"){
$lm_height=256;
}elseif($main=="3"){
$lm_height=222;
}elseif($main=="1"||$main=="4"){
$lm_height=290;
}elseif($main=="5"){
$lm_height=319;
}
?>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" class="left_bg<? if($bo_table){ ?>a<? } ?>"><img src="<?=$g4['path']?>/images/b_l<? if($bo_table){ ?>a<? } ?>.gif" border="0"></td>
<td width="<?=$table_width?>" align="center" valign="top">
<? if($bo_table){ ?>
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/index.swf?main=<?=$main?>&sub=<?=$sub?>",980,100,"#ffffff","index");
</script>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/sub.swf",980,240,"#ffffff","sub");
</script>
</td>
</tr>
<tr><td height="25"></td></tr>
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="210" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/lm<?=$main?>.swf?main=<?=$sub?>",200,<?=$lm_height?>,"#ffffff","lm<?=$main?>");
</script>
</td>
</tr>
</table>
</td>
<td width="40"></td>
<td width="730" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><img src="<?=$g4['path']?>/images/subject/<?=$bo_table?>.gif" border="0"></td>
</tr>
<tr><td height="15"></td></tr>
<tr>
<td align="center" valign="top">
<? } ?>
head. php?가이런식으로 되있는데요 어떤 소스가 좌측메뉴인지 못찾겠어여
flash_obj("<?=$g4['path']?>/images/lm<?=$main?>.swf?main=<?=$sub?>",200,<?=$lm_height?>,"#ffffff","lm<?=$main?>");
이 소스인것 같은데 200,1000,으로 변경해두 적용이 안되는데 다른 소스인가여?
좌측메뉴가 lm1, lm2,lm3 .....이런식으로 돼있거든여
이 소스인것 같은데 200,1000,으로 변경해두 적용이 안되는데 다른 소스인가여?
좌측메뉴가 lm1, lm2,lm3 .....이런식으로 돼있거든여
$table_width = 980;
$main = mb_strcut($bo_table, 1 ,1);
$sub = mb_strcut($bo_table, 2 ,1);
if($main=="2"||$main=="6"||$main=="7"){
$lm_height=256;
}elseif($main=="3"){
$lm_height=222;
}elseif($main=="1"||$main=="4"){
$lm_height=290;
}elseif($main=="5"){
$lm_height=319;
}
?>
<table width="100%" cellspacing="0" cellpadding="0" border=0>
<tr>
<td width="50%" class="left_bg<? if($bo_table){ ?>a<? } ?>"><img src="<?=$g4['path']?>/images/b_l<? if($bo_table){ ?>a<? } ?>.gif" border="0"></td>
<td width="<?=$table_width?>" align="center" valign="top">
<? if($bo_table){ ?>
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/index.swf?main=<?=$main?>&sub=<?=$sub?>",980,100,"#ffffff","index");
</script>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/sub.swf",980,240,"#ffffff","sub");
</script>
</td>
</tr>
<tr><td height="25"></td></tr>
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="210" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/lm<?=$main?>.swf?main=<?=$sub?>",200,<?=$lm_height?>,"#ffffff","lm<?=$main?>");
</script>
</td>
<td width="40"></td>
<td width="730" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><img src="<?=$g4['path']?>/images/subject/<?=$bo_table?>.gif" border="0"></td>
</tr>
<tr><td height="15"></td></tr>
<tr>
<td align="center" valign="top">
<? } ?>
$main = mb_strcut($bo_table, 1 ,1);
$sub = mb_strcut($bo_table, 2 ,1);
if($main=="2"||$main=="6"||$main=="7"){
$lm_height=256;
}elseif($main=="3"){
$lm_height=222;
}elseif($main=="1"||$main=="4"){
$lm_height=290;
}elseif($main=="5"){
$lm_height=319;
}
?>
<table width="100%" cellspacing="0" cellpadding="0" border=0>
<tr>
<td width="50%" class="left_bg<? if($bo_table){ ?>a<? } ?>"><img src="<?=$g4['path']?>/images/b_l<? if($bo_table){ ?>a<? } ?>.gif" border="0"></td>
<td width="<?=$table_width?>" align="center" valign="top">
<? if($bo_table){ ?>
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/index.swf?main=<?=$main?>&sub=<?=$sub?>",980,100,"#ffffff","index");
</script>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/sub.swf",980,240,"#ffffff","sub");
</script>
</td>
</tr>
<tr><td height="25"></td></tr>
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="210" align="center" valign="top">
<script language="javascript">
flash_obj("<?=$g4['path']?>/images/lm<?=$main?>.swf?main=<?=$sub?>",200,<?=$lm_height?>,"#ffffff","lm<?=$main?>");
</script>
</td>
<td width="40"></td>
<td width="730" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><img src="<?=$g4['path']?>/images/subject/<?=$bo_table?>.gif" border="0"></td>
</tr>
<tr><td height="15"></td></tr>
<tr>
<td align="center" valign="top">
<? } ?>
어디부분을 수정해야하나요?
복사해서 넣어보세요
네 감사합니다
이미지를 넣어두 크기가 안주는건가요?
그리고 인덱스 메뉴에 해당하는 메인이미지를 메뉴마다다르게 하고 싶은데
flash_obj("<?=$g4['path']?>/images/sub.swf",980,240,"#ffffff","sub");
이소스를 밑으로 복사해서
flash_obj("<?=$g4['path']?>/images/sub1.swf",980,240,"#ffffff","sub1");
flash_obj("<?=$g4['path']?>/images/sub2.swf",980,240,"#ffffff","sub2");
이렇게 해두 되나요?
아님 다른방법 있음 갈켜주세용~~~^^
이미지를 넣어두 크기가 안주는건가요?
그리고 인덱스 메뉴에 해당하는 메인이미지를 메뉴마다다르게 하고 싶은데
flash_obj("<?=$g4['path']?>/images/sub.swf",980,240,"#ffffff","sub");
이소스를 밑으로 복사해서
flash_obj("<?=$g4['path']?>/images/sub1.swf",980,240,"#ffffff","sub1");
flash_obj("<?=$g4['path']?>/images/sub2.swf",980,240,"#ffffff","sub2");
이렇게 해두 되나요?
아님 다른방법 있음 갈켜주세용~~~^^
좌측크기 해결된건가요?
이미지도 가로픽셀 210을 넘지 않으면 줄어 들지는 않습니다.
메뉴에 따라 페이지명으로 하거나 또는 링크에 코드값을 주어 구별하시고
게시판의 경우는
<? if($bo_table == "notice") { // notice 게시판일때?>
flash_obj("<?=$g4['path']?>/images/sub1.swf",980,240,"#ffffff","sub1");
<? }elseif($bo_table == "qna"){ ?>
flash_obj("<?=$g4['path']?>/images/sub2.swf",980,240,"#ffffff","sub2");
<? } ?>
이런식으로 하시면 됩니다
이미지도 가로픽셀 210을 넘지 않으면 줄어 들지는 않습니다.
메뉴에 따라 페이지명으로 하거나 또는 링크에 코드값을 주어 구별하시고
게시판의 경우는
<? if($bo_table == "notice") { // notice 게시판일때?>
flash_obj("<?=$g4['path']?>/images/sub1.swf",980,240,"#ffffff","sub1");
<? }elseif($bo_table == "qna"){ ?>
flash_obj("<?=$g4['path']?>/images/sub2.swf",980,240,"#ffffff","sub2");
<? } ?>
이런식으로 하시면 됩니다
잘 안되네요~~~~ㅠㅠ
지금 쩔쩔 헤메고 있습니다~~~ㅠㅠ
공유할수 있음 공유하고 싶은 맘입니다~~~~ㅠㅠ
지금 쩔쩔 헤메고 있습니다~~~ㅠㅠ
공유할수 있음 공유하고 싶은 맘입니다~~~~ㅠㅠ
일부 파일로 답변드리기는 어려운 경우도 있습니다
전체 테이블 소스를 보면 쉽게 해결되는데 계정정보를 알려 주시면 해결이 쉬운데
그게 아니면 사무실의 다른분께 도움을 요청해 보시지요
전체 테이블 소스를 보면 쉽게 해결되는데 계정정보를 알려 주시면 해결이 쉬운데
그게 아니면 사무실의 다른분께 도움을 요청해 보시지요