제이쿼리 슬라이드 메뉴 질문해도 되나요?
본문
상단메뉴에 슬라이드 메뉴를 넣었는데요..
<div id="myslidemenu" class="jqueryslidemenu">
<ul>
<li><table width="265" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><!--전체메뉴--><a href="#"><img src="../images/top/menu/menu_01.jpg"/></a></td>
</tr>
</tbody>
</table>
<ul>
<li><!--테이블삽입시작-->
<table width="990" border="0" cellspacing="0" cellpadding="0" bgcolor="#fff">
<tbody>
<tr>
<td><img src="../images/top/cate_all/cate_all.jpg"></td>
</tr>
</tbody>
</table>
<!--테이블삽입 끝--></li>
</ul>
<li><table width="149" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><!--메뉴02--><a href="list.php?ca_id=10#"><img src="../images/top/menu/menu_02.jpg" width="149" height="49" alt=""/></a></td>
</tr>
</tbody>
</table>
<!--에코엔조이 끝-->
<ul>
<li><!--테이블삽입시작-->
<div class="2side"><table width="990" border="0" cellspacing="0" cellpadding="0" bgcolor="#fff">
<tbody>
<tr>
<td><img src="../images/top/cate_all/eco.jpg"></td>
</tr>
</tbody>
</table>
</div>
<!--테이블삽입 끝--></li>
</ul>
<li><table width="142" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><!--메뉴03--><a href="list.php?ca_id=70"><img src="../images/top/menu/menu_03.jpg" width="142" height="49" alt=""/></a></td>
</tr>
</tbody>
</table>
<ul>
<li><!--테이블삽입시작-->
<div id="sub"><table width="990" border="0" cellspacing="0" cellpadding="0" bgcolor="#fff">
<tbody>
<tr>
<td><img src="../images/top/cate_all/chef.jpg"></td>
</tr>
</tbody>
</table></div>
<!--테이블삽입 끝--></li>
</ul>
<li><table width="110" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><!-- 메뉴04--><a href="/bbs/board.php?bo_table=event"><img src="../images/top/menu/menu_04.jpg" width="110" height="49" alt=""/></a></td>
</tr>
</tbody>
</table>
<ul>
<li><!--테이블삽입시작-->
<div id="sub"><table width="990" border="0" cellspacing="0" cellpadding="0" bgcolor="#fff">
<tbody>
<tr>
<td><img src="../images/top/cate_all/chef.jpg"></td>
</tr>
</tbody>
</table></div>
<!--테이블삽입 끝--></li>
</ul>
<li><table width="125" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><!--메뉴05--><a href="#"><img src="../images/top/menu/menu_05.jpg" width="125" height="49" alt=""/></a></td>
</tr>
</tbody>
</table>
<!--테이블삽입시작--><ul>
<li>
<div id="sub"><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#fff">
<tbody>
<tr>
<td><img src="../images/top/cate_all/chef.jpg"></td>
</tr>
</tbody>
</table></div>
</li>
</ul><!--테이블삽입 끝-->
</li>
<li><table width="199" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><table width="199" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><!-- 메뉴 06--><a href="#"><img src="../images/top/menu/menu_06.jpg" width="199" height="49" alt=""/></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<ul>
<li><!--테이블삽입시작-->
<div id="sub"><table width="990" border="0" cellspacing="0" cellpadding="0" bgcolor="#fff">
<tbody>
<tr>
<td><img src="../images/top/cate_all/chef.jpg"></td>
</tr>
</tbody>
</table></div>
<!--테이블삽입 끝--></li>
</ul>
</li>
</li>
</ul>
<br style="clear: left" />
</div>
제가 답을얻고 싶은부분은 어떤 메뉴든 마우스 올리면 가로전체영역으로 레이어가 나오게 하고 싶습니다.
현재는 해당 메뉴 아래로만 레이어가 나옵니다.
아래는 css입니다.
.jqueryslidemenu{
background: #fff;/*기본메뉴 배경색*/
width: 100%;/*기본메뉴 가로사이즈*/
}
.jqueryslidemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
z-index:5001;/*2, 3차메뉴 순서*/
}
/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
float: left;
}
/*Top level menu link items style*/
.jqueryslidemenu ul li a{
display: block;
background: #; /*background of tabs (default state)*/
color: #ccc;
border-right: px solid #778;
color: #FF3135;
text-decoration: none;
}
* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: #000;/*기본메뉴 텍스트색상*/
font-size:12px
}
.jqueryslidemenu ul li a:hover{
background: #; /*오버시 백그라운드색상*/
color: #ccc;/*메뉴롤오버시 텍스트색상*/
}
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: -800px;
display: block;
visibility: hidden;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: left;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
position: absolute;
left: -500px;
top: 0;
width: 819px;
}
/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: bold 12px Dotum, "돋움";/*링크가 있는 텍스트*/
position: absolute;left:0px;
width:160px; /*2차메뉴 가로사이즈*/
height:20px;
background:#FFFFFF;
}
.div 2side{
position:absolute;left:-300px; float:left
.jqueryslidemenuz ul li ul li a:hover{ /*메뉴텍스트 오버스타일*/
background: #ccc;
color: 333;
}
.
/* ######### CSS classes applied to down and right arrow images ######### */
/*.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}
.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}
*/
!-->!-->
답변을 작성하시기 전에 로그인 해주세요.