parallaxis/quartet/parallaxis-body.js

28 lines
479 B
JavaScript
Raw Normal View History

function toggle(e) {
e = document.getElementById(e);
if(e.style.display == "block") {
e.style.display = "none";
}
else {
e.style.display = "block";
}
}
// CLOSE BUTTON FOR DIVS
$(document).on('click','.close_box',function(){
$(this).parent().fadeTo(300,1,function(){
$(this).css( "display", "none" )
});
});
$("#help").mouseover(function() {
$("#helpcontent").show();
}).mouseout(function() {
$("#helpcontent").hide();
});