관리자: 리디자인 7, gnb 작업 중

This commit is contained in:
whitedot
2013-02-14 11:41:23 +09:00
parent bec1101784
commit 6a55556183
3 changed files with 37 additions and 8 deletions

View File

@ -20,6 +20,31 @@ if (!defined('_GNUBOARD_')) exit;
<script src="<?=G4_ADMIN_URL?>/admin.js"></script>
<script>
$(function(){
// 주메뉴
var $gnb = $('.gnb_1depth a');
$gnb.hover(
function() {
$(this).parent().toggleClass('gnb_1depth_over');
},
function() {
$(this).parent().toggleClass('gnb_1depth_over');
}
);
$gnb.focus(
function() {
$(this).parent().toggleClass('gnb_1depth_over');
}
);
$gnb.focusout(
function() {
$(this).parent().toggleClass('gnb_1depth_over');
}
);
});
</script>
<?
include_once(G4_PATH.'/tail.sub.php');
?>