stview.html 2.63 KB
Newer Older
Masaru Abe committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="-1">

    <title></title>
    
    <script type="text/javascript" src="./abvw/common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
    <script type="text/javascript" src="./abvw/common/js/avweb.js?__UPDATEID__"></script>
    <script type="text/javascript" src="./abvw/common/js/i18n.js?__UPDATEID__"></script>
    <script type="text/javascript" src="./abvw/common/js/common.js?__UPDATEID__"></script>
    <script type="text/javascript" src="./abvw/js/Limit_Access_Content.js?__UPDATEID__"></script>
    <script type="text/javascript" src="./abvw/js/login.js?__UPDATEID__"></script>
Masaru Abe committed
19
    <script type="text/javascript" src="./abvw/js/stview.js?__UPDATEID__4"></script>
Masaru Abe committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65

<style>
#loader-bg {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	/*background: #000;*/
	z-index: 1;
}
#loader {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 200px;
	height: 200px;
	margin-top: -100px;
	margin-left: -100px;
	text-align: center;
	color: #fff;
	z-index: 2;
}

</style>

<script type="text/javascript">

	$(function() {
		var h = $(window).height();
		$('#loader-bg ,#loader').height(h).css('display','block');
	});

	$(document).ready(function () {
	
		//$('#main-error-message').html("document ready");
		//$('#main-error-message').show();
		STVIEW.ready();
		//$('#loader-bg').delay(900).fadeOut(800);
		//$('#loader').delay(600).fadeOut(300);
	});

	//デバイスから呼ばれる
	function setLocation(latitude, longitude){
Masaru Abe committed
66
		//alert("stview receive setLocation:" + latitude + "," + longitude );
Masaru Abe committed
67 68 69 70 71 72 73 74 75 76
		if( STVIEW.latitude != null ){
			STVIEW.latitude = latitude;
		}
		if( STVIEW.longitude != null ){
			STVIEW.longitude = longitude;
		}
	}

	//デバイスから呼ばれる閲覧ログ送信指示
	function sendLog(){
Masaru Abe committed
77
		//alert("stview receive sendLog ");
Masaru Abe committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
		//送信終了を通知
		//if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos() || CONTENTVIEW_GENERAL.avwUserEnvObj.isAndroid()) {
			var url = "abooksendlog://?send=true";
			location.href = url;
		//}
		return true;
	}

</script>

</head>
<body id="stview">
	<div id="loader-bg">
		<div id="loader">
			<!--
			<img src="abvw/img/view_loading.gif" width="64" height="64" alt="Now Loading..." />
			<br />Now Loading...
			-->
		</div>
		<p class="error lang" id="main-error-message" style="display:none;">メッセージ</p>
	</div>
</body>
</html>