<nav id="horizontalNav" role="navigation"></nav>
<nav id="menu" aria-hidden="true"></nav>
<div id="search"></div>
- <a id="logo" aria-hidden="true" tabindex="-1"></a>
+ <a id="logo" aria-hidden="true"></a>
</header>
<nav role="navigation" id="interface"></nav>
<div id="helpView"></div>
},
tabNavigation: function (selector, dir) {
- var focusableElementsString = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"]:not(.ps__thumb-x):not(.ps__thumb-y), [contenteditable]';
+ var focusableElementsString = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"]:not(.ps__thumb-x):not(.ps__thumb-y), [contenteditable], button';
var elements = $(selector).find(focusableElementsString);
var list = [];
+ //console.log('elements', elements);
$(elements).each(function () {
if ($(this).attr('tabindex') == '-1') {
+ //console.log('skip because of tabindex', this);
return;
}
- if ($(this).parents('[tabindex="-1"],.ignore-tab-children').length === 0 && $(this).is(':visible')) {
+ if ($(this).parents('.ignore-tab-children').length === 0 && $(this).is(':visible')) {
list.push(this);
+ } else {
+ //console.log('skip because of parent or not being visible', this);
}
});
+ //console.log('list', list);
this._navigate(list, dir);
},
player.on('ended', function () {
$this.fluidbook.contentlock.addAction(linkid, 'complete');
});
- }, openVideo: function (link) {
+ },
+
+ openVideo: function (link) {
if (link === undefined) return false;
link = $(link);
popup.show();
//console.log(link);
- }, initCache: function () {
+ },
+
+ initCache: function () {
var $this = this;
$('body').append('<iframe id="videoframe" marginheight="0" marginwidth="0" scrolling="no" width="1" height="1" src="data/links/video.' + this.preferedFormat + '.html" frameborder="0"></iframe>');
$("#videoframe").load(function () {
cache.addEventListener('error', $this.logCacheEvent, false);
$(this).hide();
});
- }, logCacheEvent: function (e) {
+ },
+
+ logCacheEvent: function (e) {
+
+ },
- }, pauseAllVideos: function () {
+ pauseAllVideos: function () {
$('video').each(function () {
this.pause();
});
.vjs-fluidbook-skin .vjs-big-play-button:focus, .vjs-fluidbook-skin .vjs-big-play-button:hover {
opacity: 1;
- outline: none;
}
/* Fix #4362 */
}
.video-js .vjs-control:focus:before, .video-js .vjs-control:hover:before, .video-js .vjs-control:focus {
- outline: none;
text-shadow: none;
}
\ No newline at end of file