mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Admin UI minor update. Layer open JS added.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11249 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
613f5ae401
commit
b0e4c4a044
2 changed files with 12 additions and 2 deletions
|
|
@ -6,11 +6,16 @@ jQuery(function($){
|
||||||
$('.x .skipNav>a').click(function(){
|
$('.x .skipNav>a').click(function(){
|
||||||
$($(this).attr('href')).attr('tabindex','0').css('outline','0').focus();
|
$($(this).attr('href')).attr('tabindex','0').css('outline','0').focus();
|
||||||
});
|
});
|
||||||
// Content Toggle
|
// Layer Toggle
|
||||||
$('.x [data-toggle^="#"]').click(function(){
|
$('.x [data-toggle^="#"]').click(function(){
|
||||||
$($(this).attr('data-toggle')).toggle();
|
$($(this).attr('data-toggle')).toggle();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
// Open Layer
|
||||||
|
$('.x [data-open^="#"]').click(function(){
|
||||||
|
$($(this).attr('data-open')).open();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
// Close Layer
|
// Close Layer
|
||||||
$('.x [data-close^="#"]').click(function(){
|
$('.x [data-close^="#"]').click(function(){
|
||||||
$($(this).attr('data-close')).hide();
|
$($(this).attr('data-close')).hide();
|
||||||
|
|
|
||||||
7
modules/admin/tpl/js/admin.min.js
vendored
7
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -6,11 +6,16 @@ jQuery(function($){
|
||||||
$('.x .skipNav>a').click(function(){
|
$('.x .skipNav>a').click(function(){
|
||||||
$($(this).attr('href')).attr('tabindex','0').css('outline','0').focus();
|
$($(this).attr('href')).attr('tabindex','0').css('outline','0').focus();
|
||||||
});
|
});
|
||||||
// Content Toggle
|
// Layer Toggle
|
||||||
$('.x [data-toggle^="#"]').click(function(){
|
$('.x [data-toggle^="#"]').click(function(){
|
||||||
$($(this).attr('data-toggle')).toggle();
|
$($(this).attr('data-toggle')).toggle();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
// Open Layer
|
||||||
|
$('.x [data-open^="#"]').click(function(){
|
||||||
|
$($(this).attr('data-open')).open();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
// Close Layer
|
// Close Layer
|
||||||
$('.x [data-close^="#"]').click(function(){
|
$('.x [data-close^="#"]').click(function(){
|
||||||
$($(this).attr('data-close')).hide();
|
$($(this).attr('data-close')).hide();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue