次のjqueryプラグインを使用して、Webアプリでフルスクリーンを有効にしています。
https://github.com/martinaglv/jQuery-FullScreen
フルスクリーンモードのときにテキストエリアを編集できないことを除けば、うまく機能しますか?どうしてこれなの?それはブラウザのものですか、それともプラグインですか?
それは決して無効にされていないようです...
以下の私のテストコード:
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script type="text/javascript" src="https://raw.github.com/martinaglv/jQuery-FullScreen/master/fullscreen/jquery.fullscreen.js"></script>
</head>
<body>
<div id="content">
<textarea></textarea>
<button>
Go Go Fullscreen</button>
</div>
<script type="text/javascript">
(function () {
if ($.support.fullscreen) {
$('button').click(function (e) {
$('#content').fullScreen();
});
}
})();
</script>
</body>
</html>