//menu tre pallini function ClickOnMenu(){ el = document.getElementById("menu"); el.classList.toggle('active'); el = document.getElementById("dotmenu"); if (el.classList.contains('showlayer')) { //nascondi menu HideMenu(); }else{ //mostra menu el.classList.add("showlayer"); jQuery("#menu-head").addClass("blurred"); jQuery("#cover").addClass("blurred"); jQuery(".sectionlist").addClass("blurred"); jQuery(".postlist").addClass("blurred"); jQuery(".grplayer").addClass("blurred"); jQuery("#footer").addClass("blurred"); jQuery(".postcover-cont").addClass("blurred"); jQuery(".postbody").addClass("blurred"); jQuery("#comments_container").addClass("blurred"); } } //nascondi menu function HideMenu(){ jQuery("#menu").removeClass("active"); jQuery("#dotmenu").removeClass("showlayer"); jQuery("#menu-head").removeClass("blurred"); jQuery("#cover").removeClass("blurred"); jQuery(".sectionlist").removeClass("blurred"); jQuery(".postlist").removeClass("blurred"); jQuery(".grplayer").removeClass("blurred"); jQuery("#footer").removeClass("blurred"); jQuery(".postcover-cont").removeClass("blurred"); jQuery(".postbody").removeClass("blurred"); jQuery("#comments_container").removeClass("blurred"); } window.onscroll = function() { el = document.getElementById("dotmenu"); act = document.activeElement.id == "cercalayer"; if ((el.classList.contains('showlayer')) && !act) { //nascondi menu allo scroll HideMenu(); } } //script per lo smooth scroll jQuery(document).ready(function(){ jQuery("a").on('click', function(event) { // Make sure this.hash has a value before overriding default behavior if (this.hash !== "") { // Prevent default anchor click behavior event.preventDefault(); // Store hash var hash = this.hash; // Using jQuery's animate() method to add smooth page scroll // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area jQuery('html, body').animate({ scrollTop: jQuery(hash).offset().top }, 500, function(){ // Add hash (#) to URL when done scrolling (default click behavior) window.location.hash = hash; }); } }); });
Player Select
Giovanni Panoga
Videogiocatore di vecchia data, continua a dilettarsi in questo ramo, scegliendo però con cosa intrattenersi, avendo però un'ampia rosa di generi da scegliere, che spaziano dai JRPG, agli FPS, dalle ultime uscite, ai classici per Arcade. Apprezzi il suo lavoro? Dimostralo! Vai agli articoli