tooltips thingy

This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-06 16:07:54 +02:00
parent b429f646f3
commit 93424424eb
4 changed files with 29 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -295,6 +295,29 @@ function init(){
tooltip: "Fullscreen"
});
$("#search-btn").tooltip({
delay: 5,
position: "bottom",
tooltip: "Search"
});
$("#skip").tooltip({
delay: 5,
position: "bottom",
tooltip: "Skip",
});
$("#shuffle").tooltip({
delay: 5,
position: "bottom",
tooltip: "Shuffle",
});
$("#settings").tooltip({
delay: 5,
position: "bottom",
tooltip: "Settings",
});
window.onYouTubeIframeAPIReady = Player.onYouTubeIframeAPIReady;
if(Player.player === "" || Player.player === undefined || Helper.mobilecheck()) Player.loadPlayer();

View File

@@ -40,25 +40,25 @@
<li>
<a class="nav-btn" href="#find" id="search-btn">
<i class="material-icons">search</i>
<span class="hover-text">Find</span>
<!--<span class="hover-text">Find</span>-->
</a>
</li>
<li>
<a class="nav-btn" href="#skip" id="skip">
<i class="material-icons">skip_next</i>
<span class="hover-text">Skip</span>
<!--<span class="hover-text">Skip</span>-->
</a>
</li>
<li>
<a class="nav-btn hide-on-small-only" href="#stir" id="shuffle">
<i class="material-icons">shuffle</i>
<span class="hover-text">Stir</span>
<!--<span class="hover-text">Stir</span>-->
</a>
</li>
<li>
<a class="nav-btn" href="#settings" data-activates="settings-bar" id="settings">
<i class="material-icons">menu</i>
<span class="hover-text">Conf</span>
<!--<span class="hover-text">Conf</span>-->
</a>
</li>
</ul>