.triviadiv .et_pb_row, .adventurediv .et_pb_row, .games3div .et_pb_row{padding-top: 0; padding-bottom: 2em !important;}
[rev_slider games-slide]
jQuery(document).ready(function( $ ) { /* setTimeout(switchtrivia, 2000); */ /* $(".adventurediv").hide(); */ switchtrivia(); $(".switchtrivia").click(function() { $(".toggletitle a").removeClass("activeg"); $(this).addClass('activeg'); switchtrivia(); }) $(".switchadventure").click(function() { $(".toggletitle a").removeClass("activeg"); $(this).addClass('activeg'); switchadventure(); }) $(".switchgames3").click(function() { $(".toggletitle a").removeClass("activeg"); $(this).addClass('activeg'); switchgames3(); }) function switchtrivia(){ $('.triviadiv').css('visibility','visible'); $('.triviadiv').css('height','auto'); $('.adventurediv').css('visibility','hidden'); $('.adventurediv').css('height','0px'); $('.games3div').css('visibility','hidden'); $('.games3div').css('height','0px'); } function switchadventure(){ $('.adventurediv').css('visibility','visible'); $('.adventurediv').css('height','auto'); $('.triviadiv').css('visibility','hidden'); $('.triviadiv').css('height','0px'); $('.games3div').css('visibility','hidden'); $('.games3div').css('height','0px'); } function switchgames3(){ $('.games3div').css('visibility','visible'); $('.games3div').css('height','auto'); $('.triviadiv').css('visibility','hidden'); $('.triviadiv').css('height','0px'); $('.adventurediv').css('visibility','hidden'); $('.adventurediv').css('height','0px'); } });
Loading...