cinera_player_post.js: Mouse nav in quotes menu
This commit is contained in:
parent
6f751dd2b2
commit
9ce24be33a
|
@ -4,6 +4,16 @@ var quotesMenu = titleBar.querySelector(".quotes_container");
|
||||||
if(quotesMenu)
|
if(quotesMenu)
|
||||||
{
|
{
|
||||||
menuState.push(quotesMenu);
|
menuState.push(quotesMenu);
|
||||||
|
var quoteItems = quotesMenu.querySelectorAll(".ref");
|
||||||
|
if(quoteItems)
|
||||||
|
{
|
||||||
|
for(var i = 0; i < quoteItems.length; ++i)
|
||||||
|
{
|
||||||
|
quoteItems[i].addEventListener("mouseenter", function(ev) {
|
||||||
|
mouseOverQuotes(this);
|
||||||
|
})
|
||||||
|
};
|
||||||
|
}
|
||||||
var quoteTimecodes = quotesMenu.querySelectorAll(".refs .ref .ref_indices .timecode");
|
var quoteTimecodes = quotesMenu.querySelectorAll(".refs .ref .ref_indices .timecode");
|
||||||
for (var i = 0; i < quoteTimecodes.length; ++i) {
|
for (var i = 0; i < quoteTimecodes.length; ++i) {
|
||||||
quoteTimecodes[i].addEventListener("click", function(ev) {
|
quoteTimecodes[i].addEventListener("click", function(ev) {
|
||||||
|
|
Loading…
Reference in New Issue