mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
page anchor: focus moved to target area.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12601 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6d13cd0b43
commit
5f83837088
5 changed files with 7 additions and 6 deletions
|
|
@ -140,6 +140,11 @@ if(jQuery) jQuery.noConflict();
|
|||
/* jQuery(document).ready() */
|
||||
jQuery(function($) {
|
||||
|
||||
// Anchor: focus move to target
|
||||
$('a[href^="#"]').click(function(){
|
||||
$($(this).attr('href')).attr('tabindex','0').css('outline','0').focus();
|
||||
});
|
||||
|
||||
/* select - option의 disabled=disabled 속성을 IE에서도 체크하기 위한 함수 */
|
||||
if($.browser.msie) {
|
||||
$('select').each(function(i, sels) {
|
||||
|
|
|
|||
1
common/js/common.min.js
vendored
Normal file
1
common/js/common.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -25,7 +25,6 @@
|
|||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<a class="brand" href="{geturl('')}">HOME</a>
|
||||
<div class="nav-collapse">
|
||||
<ul class="nav">
|
||||
<li loop="$GNB->list=>$key1,$val1" class="dropdown"|cond="!$val1['selected']" class="dropdown active"|cond="$val1['selected']">
|
||||
|
|
|
|||
|
|
@ -21,10 +21,6 @@ function completeInstallModule(ret_obj) {
|
|||
jQuery(function($){
|
||||
// iSO mobile device toolbar remove
|
||||
window.scrollTo(0,0);
|
||||
// Skip to content
|
||||
$('.x .skipNav>a').click(function(){
|
||||
$($(this).attr('href')).attr('tabindex','0').css('outline','0').focus();
|
||||
});
|
||||
// TARGET toggle
|
||||
$(document.body).on('click', '.x [data-toggle]', function(){
|
||||
var $this = $(this);
|
||||
|
|
|
|||
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