좌측메뉴 크기

좌측메뉴.JPG
좌측메뉴1.JPG
안녕하세요^^

다름이 아니라 좌측메뉴를 이렇게 만들었는데요.....

메뉴 밑에다가 이미지 사진을 5장~6장 줄줄이 삽입하고 싶은데 이 메뉴가 플래쉬로 작업을 했어요

플래쉬로 메뉴 밑에다가 이미지를 넣으니까 좌측메뉴 전체사이즈가 그림처럼 줄어들더라구

어떻게 해야 하는지 몰라서 질문 드립니다.

첨부파일

좌측메뉴.JPG (7.7 KB)
0회 2011-07-06 13:57
좌측메뉴1.JPG (6.2 KB)
0회 2011-07-06 13:57
|

댓글 10개

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?가이런식으로 되있는데요 어떤 소스가 좌측메뉴인지 못찾겠어여
flash_obj("<?=$g4['path']?>/images/lm<?=$main?>.swf?main=<?=$sub?>",200,<?=$lm_height?>,"#ffffff","lm<?=$main?>");

이 소스인것 같은데 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">
<? } ?>
어디부분을 수정해야하나요?
복사해서 넣어보세요
네 감사합니다
이미지를 넣어두 크기가 안주는건가요?

그리고 인덱스 메뉴에 해당하는 메인이미지를 메뉴마다다르게 하고 싶은데
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");
<? } ?>
이런식으로 하시면 됩니다
잘 안되네요~~~~ㅠㅠ

지금 쩔쩔 헤메고 있습니다~~~ㅠㅠ

공유할수 있음 공유하고 싶은 맘입니다~~~~ㅠㅠ
일부 파일로 답변드리기는 어려운 경우도 있습니다
전체 테이블 소스를 보면 쉽게 해결되는데 계정정보를 알려 주시면 해결이 쉬운데
그게 아니면 사무실의 다른분께 도움을 요청해 보시지요
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
14년 전 조회 856
14년 전 조회 991
14년 전 조회 996
14년 전 조회 805
14년 전 조회 813
14년 전 조회 1,590
14년 전 조회 864
14년 전 조회 1,335
14년 전 조회 985
14년 전 조회 1,220
14년 전 조회 1,614
14년 전 조회 1,424
14년 전 조회 1,281
14년 전 조회 1,241
14년 전 조회 1,003
14년 전 조회 1,547
14년 전 조회 1,649
14년 전 조회 993
14년 전 조회 801
14년 전 조회 948