mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +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
Loading…
Add table
Add a link
Reference in a new issue