Created
March 18, 2013 07:30
-
-
Save hito-asa/5185573 to your computer and use it in GitHub Desktop.
enable fullscreen mode for co-meeting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$("#account-menus ul").append("<li><a href='#' id='fullscreen-menu'>フルスクリーン</a></li>"); | |
$("#fullscreen-menu").click(function () { | |
$("#header").remove(); | |
$("#footer").remove(); | |
$("#guide").remove(); | |
$("#side-panel").remove(); | |
$("#main-header").remove(); | |
$("#main-subheader").remove(); | |
$("#online-demo-support-tab").remove(); | |
$("#main").css("margin", "0 0 0 0"); | |
$(".SWCAW").css("top", "-30px"); | |
$(".SWCAW").css("z-index", "2"); | |
$(".SWCAW").css("background-color", "#FFFFFF"); | |
$("#main").height($(window).height()); | |
$("#main-body").css("height", "100%"); | |
}); | |
$(window).resize(function () { | |
$("#main-body").css("height", "100%"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment