mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
GNB sub-menu highlight UI added.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12029 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cf8a0b30ff
commit
b82124b896
4 changed files with 7 additions and 5 deletions
|
|
@ -99,13 +99,13 @@ jQuery(function($){
|
|||
var $xGnb = $xBody.find('>.gnb');
|
||||
var $xGnb_li = $xGnb.find('>ul>li');
|
||||
// Add icon
|
||||
$xGnb_li.find('a').prepend('<i />');
|
||||
$xGnb_li.find('>a').prepend('<i />');
|
||||
// Active Submenu Copy
|
||||
$xGnb_li.each(function(index){
|
||||
$(this).attr('data-index', index+1);
|
||||
});
|
||||
var parentIndex = $xGnb_li.find('>ul>li.active_').closest('li.active').attr('data-index');
|
||||
$xGnb_li.find('>ul>li.active_').clone().addClass('active').attr('data-index', parentIndex).prependTo('#gnbNav');
|
||||
$xGnb_li.find('>ul>li.active_').clone().addClass('active').attr('data-index', parentIndex).prependTo('#gnbNav').find('>a').prepend('<i />');
|
||||
// Index
|
||||
// GNB Hover toggle
|
||||
function reflow(){ // Browser bug fix & resize height
|
||||
|
|
|
|||
2
modules/admin/tpl/js/admin.min.js
vendored
2
modules/admin/tpl/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue