Commit 38bf701c by Masaru Abe

ビューアから戻る処理改善対応

parent 9b78c046
......@@ -7,11 +7,15 @@
<meta http-equiv="Cache-Control" content="no-store">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="-1">
<title></title>
<link rel="stylesheet" type="text/css" href="common/css/jquery-ui.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.toastmessage.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/default.css?__UPDATEID__"/>
<link rel="stylesheet" type="text/css" href="common/css/screenLock.css?__UPDATEID__"/>
<link rel="stylesheet" type="text/css" href="common/css/jquery.treeview.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/reset.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/common.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/common.css?__UPDATEID__" />
......@@ -30,24 +34,34 @@
<link rel="stylesheet" type="text/css" href="css/layout/limit_access.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/limit_access.css?__UPDATEID__" />
<!-- CSSビュー -->
<!-- link rel="stylesheet" type="text/css" href="css/reset.css?#UPDATEID#" / -->
<link rel="stylesheet" type="text/css" href="css/layout/viewer.css?#UPDATEID#" />
<link rel="stylesheet" type="text/css" href="css/theme/viewer.css?#UPDATEID#" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.powertip.css?#UPDATEID#" />
<link rel="stylesheet" type="text/css" href="css/layout/Anket.css?#UPDATEID#" />
<link rel="stylesheet" type="text/css" href="css/theme/Anket.css?#UPDATEID#" />
<link rel="stylesheet" type="text/css" href="css/delete_shiori.css?#UPDATEID#" />
<script type="text/javascript" src="./common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery-ui-1.8.23.custom.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.toastmessage.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/avweb.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/i18n.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/common.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/uuid.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/screenLock.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.edit.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/header.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/Limit_Access_Content.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/bookmark.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/thickbox.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/scrolltopcontrol.js?__UPDATEID__"></script>
<title></title>
</head>
<body id="list">
<header>
<body id="bookmark" oncontextmenu="return false;">
<header id="header-ws" class="header_ws">
<div class="notification-pushmessage" style="display:none;">
<!--新着メッセージがあります!!!-->
</div>
......@@ -94,11 +108,9 @@
</div>
</header>
<div id="inc_backup"></div>
<div class="wrapper">
<div id="main">
<div id="ws-body" class="wrapper_ws" >
<div id="inc_backup"></div>
<div id="main-ws">
<article id="articleMain" class="articleMain">
<div class="tops" id="sortingDiv">
<span class="lang" lang="txtSort"><!--並び替え--></span>
......@@ -107,7 +119,6 @@
<li><a id="dspTitleNmKn" lang="dspTitleNmKn" class="lang"><!--タイトル名(かな)--></a><b id="dspTitleNmKn_Seperate">|</b></li>
<li><a id="dspPubDt" lang="dspRegDt" class="lang"><!--登録日--></a></li>
</ul>
<a class="delete lang" id="dspDelete" lang="dspDelete"><!--削除--></a>
</div>
<section id="pnlTop" class='top'>
......@@ -119,25 +130,29 @@
<a class="delete lang" id="dspDelete1" lang="dspDelete"><!--削除--></a>
</section>
</article>
</div>
</div>
</div>
<!-- Delete panel [start]-->
<!-- Delete panel [start]-->
<section class="sectionDeleteConfirm" id="delete_shiori">
<h1 class="lang" lang="txtDeleteConfirmTitle"><!--しおり削除確認--></h1>
<p class="message lang" lang="dspShioriDelConf"><!--設定されているしおりを削除しますか?--></p>
<p class="deletebtn"><a id="dspConfirmOK" lang="dspOK" class="ok lang"><!--OK--></a><a id="dspCancel" lang="dspCancel" class="cancel lang"><!--キャンセル--></a></p>
<h1 class="lang" lang="txtDeleteConfirmTitle">しおり削除確認</h1>
<p class="message lang" lang="dspShioriDelConf">設定されているしおりを削除しますか?</p>
<p class="deletebtn"><a id="dspConfirmOK" lang="dspOK" class="ok lang">OK</a><a id="dspCancel" lang="dspCancel" class="cancel lang">キャンセル</a></p>
</section>
<!-- Delete panel [end] -->
<footer>
<div class="border">
<footer>
<div class="border">
<div class="cnt_footer">
COPYRIGHT &copy; 2014 AGENTEC Co., Ltd. ALL RIGHTS RESERVED.
</div>
</div>
</footer>
</div>
<div id="viewer" style="display:none;" >
</div>
</footer>
<iframe style="height:0px;width:0px;visibility:hidden;display:none;" src="about:blank">
this frame prevents back forward cache
</iframe>
......
/*
html, body {height:100%; margin: 0; padding: 0; }
html>body {
font-size: 16px;
font-size: 68.75%;
} /* Reset Base Font Size */
}
body {
font-family: Verdana, helvetica, arial, sans-serif;
......@@ -11,6 +12,7 @@ body {
background: #fff;
color: #333;
}
*/
h1, h2 { font-family: 'trebuchet ms', verdana, arial; padding: 10px; margin: 0 }
h1 { font-size: large }
......@@ -19,6 +21,6 @@ h1 { font-size: large }
background: url(bg.gif) repeat-x; text-align: center }
#banner a { color: white; }
#main { padding: 1em; }
#main-ws { padding: 1em; }
a img { border: none; }
\ No newline at end of file
......@@ -451,7 +451,7 @@ AVWEB._callCmsApi = function(url, accountPath, apiName, type, params, async, suc
apiUrl = url;
}
if(accountPath) {
apiUrl = AVWEB.format(apiUrl, accountPath)
apiUrl = AVWEB.format(apiUrl, accountPath);
}
apiUrl = apiUrl + '/' + apiName + '/';
......@@ -488,10 +488,60 @@ AVWEB._callCmsApi = function(url, accountPath, apiName, type, params, async, suc
if(error) {
error(xmlHttpRequest, txtStatus, errorThrown);
} else {
if(xmlHttpRequest.status == 403) {
AVWEB.showSystemError('sysErrorCallApi02');
}
else {
AVWEB.showSystemError();
}
}
}
});
};
/* CMS API Call */
AVWEB._callCmsApiWhen = function(accountPath, apiName, type, params ) {
// アプリケーション設定取得
var sysSettings = AVWEB.avwSysSetting();
// url 構築
var apiUrl = ClientData.conf_apiUrl();
if(accountPath) {
apiUrl = AVWEB.format(apiUrl, accountPath);
}
apiUrl = apiUrl + '/' + apiName + '/';
//----------------------------------------------------------------------------------
// for IE: 暫定的に対応 (これをすることでIE9でもCrossDomainリクエストが可能だがアクセスのたびに警告が出る)
$.support.cors = true;
//----------------------------------------------------------------------------------
// ajax によるAPIの実行(json)
var ajaxObj = $.ajax( {
async: true,
type: (type) ? type : 'get',
url: apiUrl,
cache: false,
dataType: 'json',
data: params,
crossDomain: true,
beforeSend: function(xhr) {
/*
* ABook viewer for WEB 用のリクエストヘッダに、以下のヘッダを付加する
* X-AGT-AppId: ABookWebCL
* X-AGT-AppVersion: 0.0.1
*/
xhr.setRequestHeader('X-AGT-AppId', sysSettings.appName);
xhr.setRequestHeader('X-AGT-AppVersion', sysSettings.appVersion);
}
});
return ajaxObj;
};
/*
......@@ -659,7 +709,7 @@ AVWEB.avwGrabContentPageImage = function(accountPath, params, success, error) {
if (error) {
error(xmlHttp, xmlHttp.status, xmlHttp.statusText);
} else {
//console.log(xmlHttp.status + ' ' + xmlHttp.statusText);
AVWEB.avwLog(xmlHttp.status + ' ' + xmlHttp.statusText);
}
}
}
......@@ -759,7 +809,7 @@ AVWEB.avwUploadBackupFile = function(accountPath, params, async, success, error)
});
};
/* show system error message */
AVWEB.showSystemError = function() {
AVWEB.showSystemError = function(textId) {
if(AVWEB.avwHasError()) {
// すでにエラー状態であればエラーを表示しない
......@@ -769,8 +819,12 @@ AVWEB.showSystemError = function() {
AVWEB.avwSetErrorState();
}
if( !textId ){
textId = 'sysErrorCallApi01';
}
// create DOM element for showing error message
var errMes = I18N.i18nText('sysErrorCallApi01');
var errMes = I18N.i18nText(textId);
var tags = '<div id="avw-sys-error"></div>';
//$('body').prepend(tags);
$('body').append(tags);
......
{
"apiUrl" : "https://web3.agentec.jp/acms/{0}/abvapi",
"apiLoginUrl" : "https://web3.agentec.jp/acms/nuabvapi",
"apiResourceDlUrl" : "https://web3.agentec.jp/acms/{0}/dl",
"apiUrl" : "https://abmaker.agentec.jp/acms/{0}/abvapi",
"apiLoginUrl" : "https://abmaker.agentec.jp/acms/nuabvapi",
"apiResourceDlUrl" : "https://abmaker.agentec.jp/acms/{0}/dl",
"bookShelfCount" : 15,
"bookListCount" : 15,
"screenlockTimeDefault" : 30,
......
......@@ -7,14 +7,16 @@
<meta http-equiv="Cache-Control" content="no-store">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="-1">
<title></title>
<link rel="stylesheet" type="text/css" href="common/css/jquery-ui.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.toastmessage.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/default.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/screenLock.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/screen.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.treeview.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/reset.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/common.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/common.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/header.css?__UPDATEID__" />
......@@ -33,17 +35,39 @@
<link rel="stylesheet" type="text/css" href="css/theme/limit_access.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/share.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/share.css?__UPDATEID__" />
<!--
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/default.css?__UPDATEID__" id="theme_base" />
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/default.date.css?__UPDATEID__" id="theme_date" />
-->
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/classic.css?__UPDATEID__" id="theme_base" />
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/classic.date.css?__UPDATEID__" id="theme_date" />
</head>
<body>
<!-- CSSビュー -->
<!-- link rel="stylesheet" type="text/css" href="css/reset.css?__UPDATEID__" / -->
<link rel="stylesheet" type="text/css" href="css/layout/viewer.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/viewer.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.powertip.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/Anket.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/Anket.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/delete_shiori.css?__UPDATEID__" />
<header>
<script type="text/javascript" src="./common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery-ui-1.8.23.custom.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.toastmessage.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/i18n.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/avweb.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/common.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/uuid.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/Limit_Access_Content.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentsearch.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/header.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/gotop.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/tab.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/screenLock.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.edit.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/detail.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/scrolltopcontrol.js?__UPDATEID__"></script>
</head>
<body id="contentsearch" oncontextmenu="return false;">
<header id="header-ws" class="header_ws">
<div class="notification-pushmessage" style="display:none;">
<!--新着メッセージがあります!!!-->
</div>
......@@ -90,15 +114,14 @@
</div>
</header>
<div id="inc_backup"></div>
<div class="wrapper">
<div id="main">
<div id="ws-body" class="wrapper_ws" >
<div id="inc_backup"></div>
<div id="main-ws">
<article class="articlecontentsearch">
<div class="tops">
<div id="main-searchresult">
<span class="lang" lang="txtSearchResult" id="txtSearchResult"><!--検索結果--></span>
<input type="text" id="txtSearch" />
<input type="text" id="txtSearchWs" />
<input type="radio" id="main-content" name="main-searchtype" value="1" checked/><span id="main-search-content" class="lang" lang="txtCtnNm"><!--コンテンツ名--></span>
<input type="radio" id="main-tag" name="main-searchtype" value="2" /><span id="main-search-tag" class="lang" lang="txtTag"><!--タグ--></span>
<input type="radio" id="main-body" name="main-searchtype" value="3" /><span id="main-search-body" class="lang" lang="txtContTxt"><!--本文--></span>
......@@ -131,9 +154,7 @@
</p>
</div>
<div class="clearboth"></div>
<div id="content-grid">
</div>
<div id="content-grid"></div>
<div style="display:none;" id="msgSearchNotExist" class="lang" lang="msgSearchNotExist"> </div>
<br/>
<section style="height:110px; width:100%;">
......@@ -141,35 +162,25 @@
</section>
</article>
</div>
</div>
<div id="inc_detail" ></div>
<div id="inc_detail" ></div>
<footer>
<div class="border">
<footer>
<div class="border">
<div class="cnt_footer">
COPYRIGHT &copy; 2014 AGENTEC Co., Ltd. ALL RIGHTS RESERVED.
</div>
</div>
</footer>
</div>
<div id="viewer" style="display:none;" >
</div>
</footer>
<iframe style="height:0px;width:0px;visibility:hidden;display:none;" src="about:blank">
this frame prevents back forward cache
</iframe>
<script type="text/javascript" src="./common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery-ui-1.8.23.custom.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.toastmessage.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/i18n.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/avweb.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/common.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/Limit_Access_Content.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/header.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentsearch.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/gotop.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/tab.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/screenLock.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/scrolltopcontrol.js?__UPDATEID__"></script>
</body>
</html>
......@@ -19,7 +19,7 @@
height: 33px;
display: table-cell;
}
#bookshelf .wrapper #main .hoge-R section.sectionhomebookshelf .name img {
#bookshelf .wrapper_ws #main-ws .hoge-R section.sectionhomebookshelf .name img {
display: inline-block;
vertical-align: middle;
margin-right: 5px;
......@@ -123,22 +123,22 @@ a:hover.btn_bott{
}
#bookshelf .wrapper #main .hoge-R .tops .floatR {
#bookshelf .wrapper_ws #main-ws .hoge-R .tops .floatR {
display: inline;
}
#bookshelf .wrapper #main .hoge-R section .cnt_section_bookshelf .img .band_vertical {
#bookshelf .wrapper_ws #main-ws .hoge-R section .cnt_section_bookshelf .img .band_vertical {
position: absolute;
top: 8px;
left: 40px;
}
#bookshelf .wrapper #main .hoge-R section .cnt_section_bookshelf .img .band_horizontal {
#bookshelf .wrapper_ws #main-ws .hoge-R section .cnt_section_bookshelf .img .band_horizontal {
position: absolute;
top: 46px;
left: 19px;
}
.wrapper #main .hoge-R section .cnt_section_bookshelf .img .book_horizontal {
.wrapper_ws #main-ws .hoge-R section .cnt_section_bookshelf .img .book_horizontal {
margin-top: 44px;
}
.wrapper #main .hoge-R .cnt_section_bookshelf .img .book_vertical {
.wrapper_ws #main-ws .hoge-R .cnt_section_bookshelf .img .book_vertical {
margin-top: 5px;
}
\ No newline at end of file
......@@ -15,7 +15,7 @@ form, ul{ margin:0; padding:0;}
li{ list-style-type:none;}
img{ display:block; border:none;}
#main{
#main-ws{
width: 960px;
padding-top: 20px;
overflow: hidden;
......@@ -55,3 +55,4 @@ br.clear { clear: both; margin: 0; padding: 0; font-size: 0; line-height: 0; }
.floatL { float: left;}
.floatR { float: right;}
......@@ -150,7 +150,8 @@
}
.cnt_section_list .text ul.pic li img {
position: relative;
left: -18px;
/*left: -18px;*/
left: 1px;
}
.cnt_section_list .text ul.pic li a.read {
margin-top: 42px;
......@@ -235,7 +236,7 @@ a:hover.btn_bott{
right: 20px;
top: 50px;
}
section
#main-ws section
{
}
......
@charset "utf-8";
/* footer */
footer{
#ws-body footer{
display: block;
height: 58px;
line-height: 60px;
......
@charset "utf-8";
header{
.header_ws{
height: 100px;
width: 100%;
display: block;
......@@ -129,21 +129,22 @@ header{
.cnt_header .menu_language ul.pushMessage a:hover { }
header .cnt_header .menu_language ul li a img { display: inline; }
header .cnt_header .menu_language ul .language {
.header_ws .cnt_header .menu_language ul li a img { display: inline; }
.header_ws .cnt_header .menu_language ul .language {
padding: 0;
margin-left: 0px;
}
header .cnt_header .menu_language .button .menuIcon img { display: inline; }
header .cnt_header .menu_language ul li a#jQueryPush{
.header_ws .cnt_header .menu_language .button .menuIcon img { display: inline; }
.header_ws .cnt_header .menu_language ul li a#jQueryPush{
}
header .cnt_header .menu_language .button {
.header_ws .cnt_header .menu_language .button {
width: 520px;
/*width: 590px;*/
position: relative;
}
header .cnt_header .menu_language #header-searchbox {
.header_ws .cnt_header .menu_language #header-searchbox {
width: 200px;
position: absolute;
top: 25px;
......@@ -152,11 +153,11 @@ header .cnt_header .menu_language #header-searchbox {
right: 0px;
padding-top:5px;
}
header .cnt_header .menu_language #header-searchbox span
.header_ws .cnt_header .menu_language #header-searchbox span
{
cursor:pointer;
}
header .cnt_header .menu_language #header-searchbox a#searchbox-search {
.header_ws .cnt_header .menu_language #header-searchbox a#searchbox-search {
height: 20px;
line-height:20px;
/*width: 25px;*/
......@@ -170,7 +171,7 @@ header .cnt_header .menu_language #header-searchbox a#searchbox-search {
display: inline-block;
margin:0 5px 5px 0;
}
header .cnt_header .menu_language #header-searchbox a#searchbox-search:hover {
.header_ws .cnt_header .menu_language #header-searchbox a#searchbox-search:hover {
}
a#searchbox-search:active{
position:relative;
......@@ -196,9 +197,9 @@ a#searchbox-search:active{
margin-right:5px;
}
.tops ul.sort li.current a.ascending_sort{
text-decoration:underline;
padding-right: 15px;
margin-right:5px;
text-decoration:underline;
padding-right: 15px;
margin-right:5px;
}
.tops ul.sort li b{
}
......
......@@ -154,6 +154,11 @@
position: relative;
left: -1px;
}
.cnt_section_list .text ul.pic li img.pen {
margin-left: 15px;
}
.cnt_section_list .text ul.pic li a.read {
margin-top: 42px;
-moz-border-radius: 6px;
......
......@@ -61,7 +61,7 @@
a:hover{
cursor: pointer;
}
canvas:hover
#main-ws canvas:hover
{
cursor: pointer;
}
......
......@@ -20,7 +20,7 @@
display: table-cell;
}
#list .wrapper #main .hoge-R section.sectionhomelist .name img {
#list .wrapper_ws #main-ws .hoge-R section.sectionhomelist .name img {
display: inline-block;
vertical-align: middle;
margin-right: 5px;
......@@ -148,34 +148,26 @@ section.sectionhomelist{
a:hover.btn_bott{
}
#list .wrapper #main .hoge-R .tops .floatR {
#list .wrapper_ws #main-ws .hoge-R .tops .floatR {
display: inline;
}
#list .wrapper #main .hoge-R section .cnt_section_list .img .band_horizontal {
#list .wrapper_ws #main-ws .hoge-R section .cnt_section_list .img .band_horizontal {
position: absolute;
top: 7px;
left: 12px;
}
#list .wrapper #main .hoge-R section .cnt_section_list .img .band_vertical {
#list .wrapper_ws #main-ws .hoge-R section .cnt_section_list .img .band_vertical {
position: absolute;
top: 7px;
left: 50px;
}
/*
#list .wrapper #main .hoge-R section .cnt_section_list .text .info .pic li .read {
#list .wrapper_ws #main-ws .hoge-R section .cnt_section_list .text .info .pic li .iconList {
position: absolute;
right: -145px;
display: block;
top: 15px;
}
*/
#list .wrapper #main .hoge-R section .cnt_section_list .text .info .pic li .iconList {
position: absolute;
right: -145px;
display: block;
top: 15px;
}
#list .wrapper #main article section .cnt_section_list .text .name .listIcon {
#list .wrapper_ws #main-ws article section .cnt_section_list .text .name .listIcon {
display: inline;
vertical-align: middle;
margin-right: 5px;
......
......@@ -27,7 +27,7 @@ a
font-size: 12px;
}
.button{ float:right; margin-top:20px; margin-right:2px; }
.delete {
#ws-body .delete {
position: absolute;
top: 27px;
left: 20px;
......@@ -36,23 +36,24 @@ a
padding: 2px 26px;
margin-left: 5px;
}.delete:hover {
}
#ws-body .delete:hover {
}
.delete:active {
#ws-body .delete:active {
/* position:relative;
top:1px;*/
}
a.delete:not(:target) {
#ws-body a.delete:not(:target) {
/* background-image: url(button_back_off.svg);*/
}
a.delete:hover:not(:target) {
#ws-body a.delete:hover:not(:target) {
/* background-image: url(button_back_on.svg);*/
}
.delete_hover {
#ws-body .delete_hover {
display: inline-block;
......@@ -60,9 +61,10 @@ a.delete:hover:not(:target) {
margin-left: 5px;
background-position: center top;
}
.delete:hover:hover {
#ws-body .delete:hover:hover {
}.delete:hover:active {
}
#ws-body .delete:hover:active {
/* position:relative;
top:1px;*/
}
......@@ -179,8 +181,17 @@ a.delete:hover:not(:target) {
position: relative;
left: -18px;
}
.cnt_section .text ul.pic li a.read_open {
margin-top: 30px;
}
.cnt_section .text ul.pic li a.read_download {
margin-top: 60px;
}
.cnt_section .text ul.pic li a.read {
margin-top: 42px;
/*margin-top: 42px;*/
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
......@@ -230,17 +241,17 @@ section#bottom {
margin-top: 10px;
display: block;
}
#list .wrapper #main article section .cnt_section .img .band_horizontal {
#bookmark .wrapper_ws #main-ws article section .cnt_section .img .band_horizontal {
position: absolute;
top: -4px;
left: 1px;
}
#list .wrapper #main article section .cnt_section .img .band_vertical {
#bookmark .wrapper_ws #main-ws article section .cnt_section .img .band_vertical {
position: absolute;
left: 40px;
top: -4px;
}
#list .wrapper #main article section .cnt_section .text .info .pic li .read {
#bookmark .wrapper_ws #main-ws article section .cnt_section .text .info .pic li .read {
position: absolute;
right: 20px;
top: 50px;
......
......@@ -162,7 +162,7 @@
margin-right: auto;
margin-left: auto;
padding-top: 124px;
width: 180px;
width: 200px;
}
.sectiondetailnopdf #book_data .book_img {
height: 145px;
......
......@@ -28,6 +28,10 @@ html,body{
width:100%;
}
html{
overflow-y:auto;
}
body{
}
......@@ -59,7 +63,7 @@ body{
width: 100%;
}
#main{
#main-ws{
width:960px;
padding:0;
}
......@@ -155,7 +159,7 @@ section a.loginbtn {
}
section a.loginbtn:hover {
}
#login .wrapper #main article section a.loginbtn:active {
#login .wrapper #main-ws article section a.loginbtn:active {
position:relative;
top:1px;
}
......@@ -198,21 +202,21 @@ section .loginbtn a:hover:not(:target) {
text-align: left;
padding-left:30px;
}
#login .wrapper #main article section table tr td input {
#login .wrapper #main-ws article section table tr td input {
width: 240px;
height: 28px;
}
#login article section table tr th,#login article section table tr td {
padding-bottom: 30px;
}
#login .wrapper #main article section table {
#login .wrapper #main-ws article section table {
margin:0 30px ;
}
#login footer .border .cnt_footer {
border: none;
}
#login .wrapper #main article img {
#login .wrapper #main-ws article img {
margin-right: auto;
margin-left: auto;
}
......@@ -238,12 +242,12 @@ section .loginbtn a:hover:not(:target) {
left: 0px;
z-index: 50;
}
#login .wrapper #main ul
#login .wrapper #main-ws ul
{
margin-top:15px;
}
#login .wrapper #main li {
#login .wrapper #main-ws li {
display: inline-block;
margin-right:5px;
}
......@@ -267,7 +271,7 @@ footer{
.focus{ }
#user_change footer .border .cnt_footer img { display: inline;}
#login .wrapper #main article section .error {
#login .wrapper #main-ws article section .error {
margin-top: 20px;
text-align: center;
}
......
......@@ -56,14 +56,14 @@ body{
/* 5. .section setting */
/*----------------------------*/
#main{
#main-ws{
width: 960px;
padding: 0;
margin-right: auto;
margin-left: auto;
}
article{
#main-ws article{
width: 960px;
/*height: 900px;*/
padding: 0;
......
......@@ -33,6 +33,8 @@
/*----------------------------*/
/* 1. gloval setting */
/*----------------------------*/
/*
html{
overflow: hidden;
}
......@@ -46,6 +48,18 @@ body{
margin: 0;
padding: 0;
}
*/
/*
#viewer {
overflow: hidden;
width:100%;
height:100%;
margin: 0;
padding: 0;
}
*/
/*----------------------------*/
/* 2. wrapper setting */
......@@ -64,7 +78,7 @@ body{
/* 3. header setting */
/*----------------------------*/
header{
#header_toolbar{
max-width: none;
min-width: 1000px;
height: 60px;
......@@ -258,7 +272,7 @@ header{
/* 5. section setting */
/*----------------------------*/
article{
#viewer article{
display:table;
width:100%;
min-height:100%;
......@@ -268,7 +282,7 @@ article{
margin:0 auto 0;
}
section{
#viewer section{
}
......@@ -931,7 +945,7 @@ aside.MemoIndexBox .indexBoxBody_off{
display: block;
}
.thumbnail
#wrapper .thumbnail
{
width: 15%;
height: 100%;
......@@ -1316,7 +1330,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
margin-left: auto;
margin-top: auto;
padding: 15px;
z-index: 102;
/*z-index: 102;*/
z-index: 101;
}
......
......@@ -23,7 +23,7 @@
background-position: center center;
border-radius: 3px 0px 0px 3px;
}
#bookshelf .wrapper #main .hoge-R section.sectionhomebookshelf .name img {
#bookshelf .wrapper_ws #main-ws .hoge-R section.sectionhomebookshelf .name img {
}
......@@ -152,18 +152,18 @@ a:hover.btn_bott{
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#22466D', endColorstr='#37648C',GradientType=0 ); /* IE6-9 */
}
#bookshelf .wrapper #main .hoge-R .tops .floatR {
#bookshelf .wrapper_ws #main-ws .hoge-R .tops .floatR {
}
#bookshelf .wrapper #main .hoge-R section .cnt_section_bookshelf .img .band_vertical {
#bookshelf .wrapper_ws #main-ws .hoge-R section .cnt_section_bookshelf .img .band_vertical {
}
#bookshelf .wrapper #main .hoge-R section .cnt_section_bookshelf .img .band_horizontal {
#bookshelf .wrapper_ws #main-ws .hoge-R section .cnt_section_bookshelf .img .band_horizontal {
}
.wrapper #main .hoge-R section .cnt_section_bookshelf .img .book_horizontal {
.wrapper_ws #main-ws .hoge-R section .cnt_section_bookshelf .img .book_horizontal {
}
.wrapper #main .hoge-R .cnt_section_bookshelf .img .book_vertical {
.wrapper_ws #main-ws .hoge-R .cnt_section_bookshelf .img .book_vertical {
}
......@@ -15,7 +15,7 @@ form, ul{ }
li{ }
img{ }
#main{
#main-ws{
}
......@@ -50,3 +50,4 @@ br.clear { }
color: #fff;
background: #ccc;
}
......@@ -190,7 +190,7 @@ a:hover.btn_bott{
.cnt_section_list .text .info .pic li .read {
}
section
#main-ws section
{
border-top: 1px dashed #cccccc;
}
......
@charset "utf-8";
/* footer */
footer{
#ws-body footer{
background-color: #EDF2F2;
}
.cnt_footer{
......
@charset "utf-8";
header{
.header_ws{
background-image: url(../../img/common/header_border.jpg) ,url(../../img/common/header_bg.jpg);
background-repeat: repeat-x, repeat;
background-position: bottom, top;
......@@ -101,29 +101,28 @@ header{
.cnt_header .menu_language ul.pushMessage a:hover { text-decoration: none; }
header .cnt_header .menu_language ul li a img { display: inline; }
header .cnt_header .menu_language ul .language {
.header_ws .cnt_header .menu_language ul li a img { display: inline; }
.header_ws .cnt_header .menu_language ul .language {
padding: 0;
margin-left: 0px;
}
header .cnt_header .menu_language .button .menuIcon img { display: inline; }
header .cnt_header .menu_language ul li a#jQueryPush{
.header_ws .cnt_header .menu_language .button .menuIcon img { display: inline; }
.header_ws .cnt_header .menu_language ul li a#jQueryPush{
text-decoration: none !important;
color:#333;
}
header .cnt_header .menu_language .button {
.header_ws .cnt_header .menu_language .button {
}
header .cnt_header .menu_language #header-searchbox {
.header_ws .cnt_header .menu_language #header-searchbox {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
}
header .cnt_header .menu_language #header-searchbox span
.header_ws .cnt_header .menu_language #header-searchbox span
{
}
header .cnt_header .menu_language #header-searchbox a#searchbox-search {
.header_ws .cnt_header .menu_language #header-searchbox a#searchbox-search {
-moz-box-shadow: inset 0px 1px 0px 0px #86ACC7;
-webkit-box-shadow: inset 0px 1px 0px 0px #86ACC7;
box-shadow: inset 0px 1px 0px 0px #86ACC7;
......@@ -134,7 +133,7 @@ header .cnt_header .menu_language #header-searchbox a#searchbox-search {
border: 1px solid #0C274D;
color: #ffffff;
}
header .cnt_header .menu_language #header-searchbox a#searchbox-search:hover {
.header_ws .cnt_header .menu_language #header-searchbox a#searchbox-search:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #23486F), color-stop(1, #36638B) );
background:-moz-linear-gradient( center top, #23486F 5%, #36638B 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#23486F', endColorstr='#36638B');
......@@ -162,8 +161,8 @@ a#searchbox-search:active{
background: url(../../img/common/icon_triangle_d.png) no-repeat right 5px;
}
.tops ul.sort li.current a.ascending_sort{
color:#2d83da;
background:url(../../img/common/icon_triangle_u.png) no-repeat right 5px;
color:#2d83da;
background:url(../../img/common/icon_triangle_u.png) no-repeat right 5px;
}
.tops ul.sort li b{
font-weight: normal;
......
......@@ -42,7 +42,7 @@
a:hover{
}
canvas:hover{
#main-ws canvas:hover{
}
......
......@@ -24,7 +24,7 @@
border-radius: 0px 3px 3px 0px;
}
#list .wrapper #main .hoge-R section.sectionhomelist .name img {
#list .wrapper_ws #main-ws .hoge-R section.sectionhomelist .name img {
}
......@@ -187,18 +187,18 @@ a:hover.btn_bott{
background: linear-gradient(to bottom, #22466D 0%,#37648C) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#22466D', endColorstr='#37648C',GradientType=0 ); /* IE6-9 */
}
#list .wrapper #main .hoge-R .tops .floatR {
#list .wrapper_ws #main-ws .hoge-R .tops .floatR {
}
#list .wrapper #main .hoge-R section .cnt_section_list .img .band_horizontal {
#list .wrapper_ws #main-ws .hoge-R section .cnt_section_list .img .band_horizontal {
}
#list .wrapper #main .hoge-R section .cnt_section_list .img .band_vertical {
#list .wrapper_ws #main-ws .hoge-R section .cnt_section_list .img .band_vertical {
}
#list .wrapper #main .hoge-R section .cnt_section_list .text .info .pic li .read {
#list .wrapper_ws #main-ws .hoge-R section .cnt_section_list .text .info .pic li .read {
}
#list .wrapper #main article section .cnt_section_list .text .name .listIcon {
#list .wrapper_ws #main-ws article section .cnt_section_list .text .name .listIcon {
}
......@@ -20,7 +20,7 @@ a
font-size:12px;
}
.button{ }
.delete {
#ws-body .delete {
-moz-box-shadow: inset 0px 1px 0px 0px #C66;
-webkit-box-shadow: inset 0px 1px 0px 0px #C66;
......@@ -40,27 +40,28 @@ a
text-decoration: none;
background-position: center top;
}.delete:hover {
}
#ws-body .delete:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #CC0000), color-stop(1, #F33) );
background:-moz-linear-gradient( center top, #CC0000 5%, #F33 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CC0000', endColorstr='#F33');
background-color:#F33;
}
.delete:active {
#ws-body .delete:active {
}
a.delete:not(:target) {
#ws-body a.delete:not(:target) {
filter: none;
-ms-filter: none;
/* background-image: url(button_back_off.svg);*/
}
a.delete:hover:not(:target) {
#ws-body a.delete:hover:not(:target) {
filter: none;
-ms-filter: none;
/* background-image: url(button_back_on.svg);*/
}
.delete_hover {
#ws-body .delete_hover {
-moz-box-shadow: inset 0px 1px 0px 0px #C66;
-webkit-box-shadow: inset 0px 1px 0px 0px #C66;
box-shadow: inset 0px 1px 0px 0px #C66;
......@@ -81,12 +82,13 @@ a.delete:hover:not(:target) {
line-height: 20px;
background-position: center top;
}
.delete:hover:hover {
#ws-body .delete:hover:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #CC0000), color-stop(1, #F33) );
background:-moz-linear-gradient( center top, #CC0000 5%, #F33 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CC0000', endColorstr='#F33');
background-color:#F33;
}.delete:hover:active {
}
#ws-body .delete:hover:active {
}
......@@ -211,11 +213,11 @@ a.delete:hover:not(:target) {
section#bottom {
border-top: 1px dashed #cccccc;
}
#list .wrapper #main article section .cnt_section .img .band_horizontal {
#bookmark .wrapper_ws #main-ws article section .cnt_section .img .band_horizontal {
}
#list .wrapper #main article section .cnt_section .img .band_vertical {
#bookmark .wrapper_ws #main-ws article section .cnt_section .img .band_vertical {
}
#list .wrapper #main article section .cnt_section .text .info .pic li .read {
#bookmark .wrapper_ws #main-ws article section .cnt_section .text .info .pic li .read {
}
.shioriNotExist
......
......@@ -58,7 +58,7 @@ background:#37648C;
.wrapper {
}
#main{
#main-ws{
}
a
......@@ -129,7 +129,7 @@ section a.loginbtn:hover {
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#23486F', endColorstr='#36638B');
background-color:#36638B;
}
#login .wrapper #main article section a.loginbtn:active {
#login .wrapper #main-ws article section a.loginbtn:active {
}
section .loginbtn a:not(:target) {
......@@ -174,11 +174,11 @@ section .loginbtn a:hover:not(:target) {
font-size: 14px;
font-weight: bolder;
}
#login .wrapper #main article section table tr td input {
#login .wrapper #main-ws article section table tr td input {
}
#login article section table tr th,#login article section table tr td {
}
#login .wrapper #main article section table {
#login .wrapper #main-ws article section table {
border-bottom:dotted 1px #BBBBBB;
}
......@@ -186,7 +186,7 @@ section .loginbtn a:hover:not(:target) {
background: url(../../img/login/login_border.jpg) top repeat-x;
opacity:0;
}
#login .wrapper #main article img {
#login .wrapper #main-ws article img {
}
#loader {
}
......@@ -195,10 +195,10 @@ section .loginbtn a:hover:not(:target) {
background-color: #000;
opacity: 0.3;
}
#login .wrapper #main article ul {
#login .wrapper #main-ws article ul {
}
#login .wrapper #main article li {
#login .wrapper #main-ws article li {
}
......@@ -214,7 +214,7 @@ footer{
.focus{ color: #969696;}
#user_change footer .border .cnt_footer img { }
#login .wrapper #main article section .error {
#login .wrapper #main-ws article section .error {
font-size: 13px;
color: #FF0000;
font-weight: bolder;
......
......@@ -54,11 +54,11 @@ body{
/* 5. .section setting */
/*----------------------------*/
#main{
#main-ws{
background-color: #EDF2F2;
}
article{
#main-ws article{
}
.sectionSetting{
......
......@@ -32,6 +32,8 @@
/*----------------------------*/
/* 1. gloval setting */
/*----------------------------*/
/*
html{
}
......@@ -45,6 +47,13 @@ body{
background:#898989;
background-image: url(../../img/viewer/article_bg.png);
}
*/
#viewer {
font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Pゴシック", "MS P Gothic", "Osaka", Verdana, Arial, Helvetica, sans-serif;
background:#898989;
background-image: url(../../img/viewer/article_bg.png);
}
/*----------------------------*/
/* 2. wrapper setting */
......@@ -60,7 +69,7 @@ body{
/* 3. header setting */
/*----------------------------*/
header{
#header_toolbar{
background-image: url(../../img/viewer/header_bg.jpg);
background-repeat: repeat-x;
box-shadow:0px 2px 10px 2px #333333;
......@@ -199,11 +208,11 @@ header{
/* 5. section setting */
/*----------------------------*/
article{
#viewer article{
background:#999999;
}
section{
#viewer section{
}
......@@ -772,7 +781,7 @@ aside.MemoIndexBox .indexBoxBody_off{
}
.thumbnail
#wrapper .thumbnail
{
box-shadow: 0px 2px 8px 0px #ccc;
border:3px solid #fff;
......@@ -1065,6 +1074,8 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
font-family: Verdana;
font-size: 10pt;
border-radius: 10px;
/*word-break: break-all;*/
/*word-wrap: break-word;*/
-moz-box-shadow:-3px 3px 3px #777;
-webkit-box-shadow:-3px 3px 3px #777;
......
......@@ -13,7 +13,10 @@
<link rel="stylesheet" type="text/css" href="common/css/jquery.toastmessage.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/default.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/screenLock.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/screen.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.treeview.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/reset.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/common.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/common.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/header.css?__UPDATEID__" />
......@@ -36,16 +39,39 @@
<link rel="stylesheet" type="text/css" href="css/theme/limit_access.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/share.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/share.css?__UPDATEID__" />
<!--
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/default.css?__UPDATEID__" id="theme_base" />
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/default.date.css?__UPDATEID__" id="theme_date" />
-->
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/classic.css?__UPDATEID__" id="theme_base" />
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/classic.date.css?__UPDATEID__" id="theme_date" />
<!-- CSSビュー -->
<!-- link rel="stylesheet" type="text/css" href="css/reset.css?__UPDATEID__" / -->
<link rel="stylesheet" type="text/css" href="css/layout/viewer.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/viewer.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.powertip.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/Anket.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/Anket.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/delete_shiori.css?__UPDATEID__" />
<script type="text/javascript" src="./common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery-ui-1.8.23.custom.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.toastmessage.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/i18n.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/avweb.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/common.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/uuid.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/Limit_Access_Content.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/history.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/header.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/gotop.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/tab.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.treeview.edit.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/screenLock.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/detail.js?__UPDATEID__" ></script>
</head>
<body>
<body id="history" oncontextmenu="return false;">
<header>
<header id="header-ws" class="header_ws">
<div class="notification-pushmessage" style="display:none;">
<!--新着メッセージがあります!!!-->
</div>
......@@ -92,10 +118,9 @@
</div>
</header>
<div id="inc_backup"></div>
<div class="wrapper">
<div id="main">
<div id="ws-body" class="wrapper_ws" >
<div id="inc_backup"></div>
<div id="main-ws">
<article class="articlehistory">
<span class="lang sort-title" lang="txtSort"><!--並び替え--></span>
<div class="tops">
......@@ -105,7 +130,7 @@
<a class="lang control_sort_off" lang="dspTitleNm" style="display:none"><!--タイトル名--></a>
<b>|</b>
</li>
<li >
<li>
<a id="control-sort-titlekana" class="lang nottouchdevice control_sort_on" lang="dspTitleNmKn"><!--タイトル名(かな)--></a>
<a id="control-sort-titlekana-off" class="lang control_sort_off" lang="dspTitleNmKn" style="display:none"><!--タイトル名(かな)--></a>
<b id="separate">|</b>
......@@ -125,40 +150,29 @@
</p>
</div>
<div class="clearboth"> </div>
<div id="content-grid">
</div>
<div id="content-grid"> </div>
<br/>
</article>
</div>
</div>
</div>
<div id="inc_detail" ></div>
<div id="inc_detail" ></div>
<footer>
<div class="border">
<footer>
<div class="border">
<div class="cnt_footer">
COPYRIGHT &copy; 2014 AGENTEC Co., Ltd. ALL RIGHTS RESERVED.
</div>
</div>
</footer>
</div>
<div id="viewer" style="display:none;" >
</div>
</footer>
<iframe style="height:0px;width:0px;visibility:hidden;display:none;" src="about:blank">
this frame prevents back forward cache
</iframe>
<script type="text/javascript" src="./common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery-ui-1.8.23.custom.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.toastmessage.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/i18n.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/avweb.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/common.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/Limit_Access_Content.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/header.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/history.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/gotop.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/tab.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/screenLock.js?__UPDATEID__" ></script>
</body>
</html>
......@@ -7,6 +7,7 @@
<meta http-equiv="Cache-Control" content="no-store">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta name="viewport" content="">
<title></title>
<link rel="stylesheet" type="text/css" href="common/css/jquery-ui.css?__UPDATEID__" />
......@@ -14,7 +15,9 @@
<link rel="stylesheet" type="text/css" href="common/css/default.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/screenLock.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.treeview.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/screen.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/reset.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/common.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/common.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/header.css?__UPDATEID__" />
......@@ -39,16 +42,40 @@
<link rel="stylesheet" type="text/css" href="css/theme/limit_access.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/share.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/share.css?__UPDATEID__" />
<!--
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/default.css?__UPDATEID__" id="theme_base" />
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/default.date.css?__UPDATEID__" id="theme_date" />
-->
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/classic.css?__UPDATEID__" id="theme_base" />
<link rel="stylesheet" type="text/css" href="common/js/pickadate/themes/classic.date.css?__UPDATEID__" id="theme_date" />
<!-- CSSビュー -->
<!-- link rel="stylesheet" type="text/css" href="css/reset.css?__UPDATEID__" / -->
<link rel="stylesheet" type="text/css" href="css/layout/viewer.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/viewer.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="common/css/jquery.powertip.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/layout/Anket.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/theme/Anket.css?__UPDATEID__" />
<link rel="stylesheet" type="text/css" href="css/delete_shiori.css?__UPDATEID__" />
<script type="text/javascript" src="./common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery-ui-1.8.23.custom.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.toastmessage.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/avweb.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/i18n.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/common.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/uuid.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/Limit_Access_Content.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/home.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/header.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/scrolltopcontrol.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/tab.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.cookie.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.edit.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/screenLock.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/detail.js?__UPDATEID__" ></script>
</head>
<body id="bookshelf">
<header>
<body id="bookshelf" oncontextmenu="return false;">
<header id="header-ws" class="header_ws">
<div class="notification-pushmessage" style="display:none;">
<!--新着メッセージがあります!!!-->
</div>
......@@ -91,16 +118,14 @@
<li class="menuIcon" id="dspSetting" style="display:none;"><a href="#"><img src="img/common/icon_setup.png" width="30" height="30"></a></li>
<li class="menuIcon" id="dspLogout" style="margin-right:0;display:none;"><a href="#"><img src="img/common/icon_logout.png" width="30" height="30"></a></li>
<li class="menuIcon" id="dspHibiya" style="display:none;"><a href="#"><img src="img/common/icon_setup.png" width="30" height="30"></a></li>
</ul>
</div>
</div>
</header>
<div id="inc_backup"></div>
<div class="wrapper">
<div id="main" class="hoge">
<div id="ws-body" class="wrapper_ws" >
<div id="inc_backup"></div>
<div id="main-ws" class="hoge">
<div class="tabUnit" style="display:none;" >
<ul class="switchingTab">
<li class="colleft" ><a href="#list_0" class="current" id="lnkbtnGenre"> </a></li>
......@@ -109,17 +134,13 @@
<div class="tabUnitList" id="list_0" style="display: block;">
<img src="img/common/parts_sankaku.png" width="15" height="10" class="sankaku_left">
<div class="tab_bg_color">
<ul id="branch1" class="treeview">
</ul>
<ul id="branch1" class="treeview"></ul>
</div>
</div>
<div class="tabUnitList" id="list_1" style="display: none;">
<img src="img/common/parts_sankaku.png" width="15" height="10" class="sankaku_right">
<div class="tab_bg_color">
<ul id="branch2" class="treeview">
</ul>
<ul id="branch2" class="treeview"></ul>
</div>
</div>
</div>
......@@ -130,7 +151,6 @@
<li class="thumbnail_select first_area"> <a href="#" id="control-bookshelf-type"> </a></li>
<li class="list last_area"><a href="#" id="control-list-type"> </a></li>
</ul>
<div class="sort_area" >
<span class="lang" lang="txtSort"><!--並び替え--></span>
<ul class="sort" id="menu_sort">
......@@ -139,7 +159,7 @@
<!--<label id="title-sorttype"> </label>-->
<b>|</b>
</li>
<li >
<li>
<a id="control-sort-titlekana" class="lang nottouchdevice" lang="dspTitleNmKn"><!--タイトル名(かな)--></a>
<!-- <label id="titlekana-sorttype"> </label>-->
<b id="separate">|</b>
......@@ -158,9 +178,7 @@
<label class="lang pageNumControl" lang="txtRecordTotal" style="visibility: hidden"><!--件 表示--></label>
</p>
</div>
<div id="content-grid">
</div>
<div id="content-grid"></div>
<section class="sectionhomebookshelf" style="height:110px; width:100%;">
<a class="btn_bott" id="control-nextrecord" style="display: none"><!--次の15件を表示する --></a>
</section>
......@@ -172,45 +190,33 @@
</section>
<div id="dlgOverlay"> </div>
</div>
</div>
<div id="inc_detail" ></div>
<div id="inc_detail" ></div>
<!-- Hカスタム -->
<div id="dlgAddMemberGroup" title="コード入力" style="display: none;" >
<!-- Hカスタム -->
<div id="dlgAddMemberGroup" title="コード入力" style="display: none;" >
<p>コードを入力してください</p>
<p class="addMemberGroup">
<input type="text" id="txtAddMemberGroupName" value="" /><a class="ok" href="#" id="btnAddMemberGroupSearch" lang="txtSearch">検索</a>
</p>
</div>
</div>
<footer>
<div class="border">
<footer>
<div class="border">
<div class="cnt_footer">
COPYRIGHT &copy; 2014 AGENTEC Co., Ltd. ALL RIGHTS RESERVED.
</div>
</div>
</footer>
</div>
<div id="viewer" style="display:none;" >
</div>
</footer>
<iframe style="height:0px;width:0px;visibility:hidden;display:none;" src="about:blank">
this frame prevents back forward cache
</iframe>
<script type="text/javascript" src="./common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery-ui-1.8.23.custom.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.toastmessage.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/avweb.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/i18n.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/common.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/uuid.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/Limit_Access_Content.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/header.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/home.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/scrolltopcontrol.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/tab.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/jquery.cookie.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.edit.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.treeview.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/screenLock.js?__UPDATEID__" ></script>
</body>
</html>
\ No newline at end of file
......@@ -4,15 +4,17 @@
<p class="message"><label lang="txtLogoutBkMsg" class="lang"><!--ログアウトする前にバックアップしますか?--></label></p>
<p class="message-options">
<label class="option_backup">
<!--<label class="option_backup">-->
<p class="option_backup" style="font-size: 13px;margin-left:50px">
<label lang="txtBkSelectData" class="lang"><!--バックアップするデータを選択してください。--></label><br />
<input type="checkbox" id="chkBkAllMarking" class="chkbx" checked="checked" /><label for="chkBkAllMarking" lang="txtBkMarking" class="lang"><!--マーキング--></label>
<input type="checkbox" id="chkBkAllMemo" class="chkbx" checked="checked" /><label for="chkBkAllMemo" lang="txtBkMemo" class="lang"><!--メモ--></label>
<input type="checkbox" id="chkBkAllShiori" class="chkbx" checked="checked" /><label for="chkBkAllShiori" lang="txtBkShiori" class="lang"><!--しおり--></label>
</label>
<input type="checkbox" name="chkBkAllMarking" id="chkBkAllMarking" class="chkbx" checked="checked" /><label for="chkBkAllMarking" lang="txtBkMarking" class="lang"><!--マーキング--></label>
<input type="checkbox" name="chkBkAllMemo" id="chkBkAllMemo" class="chkbx" checked="checked" /><label for="chkBkAllMemo" lang="txtBkMemo" class="lang"><!--メモ--></label>
<input type="checkbox" name="chkBkAllShiori" id="chkBkAllShiori" class="chkbx" checked="checked" /><label for="chkBkAllShiori" lang="txtBkShiori" class="lang"><!--しおり--></label>
</p>
<!--</label>-->
</p>
<p class="notice">
<input type="checkbox" id="chkRememberBackup" /><label for="chkRememberBackup" class="lang" lang="txtLogoutOptBkCfm"><!--今回の行動を記憶し、次回から確認せずに、同じことをする。--></label>
<input type="checkbox" name="chkRememberBackup" id="chkRememberBackup" /><label for="chkRememberBackup" class="lang" lang="txtLogoutOptBkCfm"><!--今回の行動を記憶し、次回から確認せずに、同じことをする。--></label>
</p>
<p class="backupbtn">
<a class="cancel lang" href="#" lang="dspBkCancel" id="dlgConfirmBackup-withoutbackup"><!--バックアップしないでログアウト--></a>
......
<!-- ビューアエリア FROM -->
<div id="wrapper" style="">
<!--Viewer component is added here -->
<div id="overlay" class="web_dialog_overlay"> </div>
<div id="dialog" class="web_dialog"> </div>
<div id="divCheckExistMarking" class="check_marking" style="display:none;">
<img src="img/viewer/icon_marked.png" />
</div>
<header id ="header_toolbar" class="header__">
<div class = "wrapper_header">
<div id ="top_toolbar" class="hdLcolumn fix">
<span class="hgloupe">
<a id="imgHome" class="home" title="ホーム" lang="dspHome"> </a>
<a id="imgBack" class="back" title="戻る" lang="txtTooltipBack"> </a>
</span>
<span class="gloupe">
<a id="listbookmark" class="bmList" title="しおり一覧" lang="txtShioriCtnLs"> </a>
<a id="imgbookmark" class="bmAdd" title="しおり追加" lang="txtTooltipBookmark"> </a>
</span>
<span class="gloupe">
<a id="listindex" class="index" title="インデックス" lang="txtIndex"> </a>
</span>
<aside id="boxIndex" class="indexBox" style="display: none;">
<h1 id="indexBoxHdIndex" class="indexBoxHd">
<a id="indexClosing" class="delete" > </a>
</h1>
<div id="divListIndex" class="indexBoxBody_on"></div>
</aside>
<span class="gloupe">
<a id="copytext" class="copy" title="コピー" lang="txtTextCopy"> </a>
</span>
<aside class="bookmarkBox" id ="boxCopyText">
<h1 class="bookmarkBoxHd" id="bookmarkBoxHdCT"></h1>
<ul id="divCopyText" class="bookmarkBoxBody_on"></ul>
</aside>
<aside class="bookmarkBox" id="boxBookMark" style="display: none;">
<h1 class="bookmarkBoxHd" id="bookmarkBoxHdBM"></h1>
<ul id="divListBookmark" class="bookmarkBoxBody_on"></ul>
</aside>
<span class="gloupe">
<a id="imgmemo" class="memoDisplay" title="メモ表示" lang="txtTooltipShowMemo"> </a>
<a id="imgaddmemo" class="memoAdd" title="メモ追加" lang="txtTooltipAddMemo"> </a>
</span>
<span class="lgloupe">
<a id="imgmarking" class="marking" title="マーキング" lang="txtTooltipShowMarking"> </a>
<a id="imgmarkingtoolbar" class="markingToolbar" title="マーキングツールバー表示" lang="txtTooltipShowMarkingTool"> </a>
</span>
</div>
<div class="hdRcolumn">
<input id="txtSearch" type="text">
<aside id="boxSearching" class="bookmarkBox" style="display: none;">
<h1 id="bookmarkBoxHdSearching" class="bookmarkBoxHd"></h1>
<ul id="divSearchResult" class="bookmarkBoxBody_on"></ul>
</aside>
</div>
</div>
</header>
<aside id="boxAddMemo" class="bookmarkBox">
<h1 id="bookmarkBoxHdMemo" class="bookmarkBoxHd">
<a id="memoClosing" class="delete" > </a>
<label class="lang" lang = "txtMemoMenu" > </label>
</h1>
<ul id="divAddMemo" class="bookmarkBoxBody_on">
<br />
<a id="liAddMemo" lang = "txtMemoNew" class="lang cancelbtn"> </a><br />
<a id="liCopyMemo" lang = "txtMemoPaste" class="lang cancelbtn"> </a> <br />
<a id="liDeleteMemo" lang = "txtMemoClear" class="lang cancelbtn"> </a>
<br />
</ul>
</aside>
<div id="button_pre_canvas" class="gBackbtn"></div>
<div id="button_next_canvas" class="gNextbtn"></div>
<div id="divDialogMemo"></div>
<div id="dialog-contenttype-music"></div>
<div id="dialogPopUp" class="popuptext_web_dialog"></div>
<div id="arrow" class="popuptext_arrow"></div>
<div id="pop_up_memo" class="pop-up-memo">
<a id="btn_show_memo" class="lang" lang = "txtMemoEdit" > </a> <br /><br />
<a id="btn_copy_memo" class="lang" lang = "txtMemoCopy"> </a>
</div>
<div id="divImageLoading">
<img src="img/view_loading.gif" width="64px" height="64px">
</div>
<!-- ================================================================================== -->
<!-- Marking group [start]
<!-- ================================================================================== -->
<!-- Marking [start] -->
<aside class="markingBox" id="dlgMarking">
<h1 class="markingBoxHd">
<label class="lang" lang="txtMkToolBar">マーカー(オプション)</label>
<a class="hidden_off" id="dlgMarking_imgMin" > </a>
<a class="hidden_on" id="dlgMarking_imgMax"> </a>
</h1>
<div id="dlgMarking_body" class="markingBoxBody_on">
<ul class="fix">
<li><div id="dlgMarking_imgPen" > </div></li>
<li><div id="dlgMarking_imgPenOption"> </div></li>
<li><div id="dlgMarking_imgMaker"> </div></li>
<li><div id="dlgMarking_imgMakerOption"> </div></li>
<li><div id="dlgMarking_imgEraser"> </div></li>
<li><div id="dlgMarking_imgEraserOption"> </div></li>
</ul>
<a id="dlgMarking_dspPgClear" class="clearbtn lang" lang="dspPgClear">このページクリア</a>
<a id="dlgMarking_dspSave" class="savebtn lang" lang="dspSave" >保存</a>
<a id="dlgMarking_dspCancel" class="cancelbtn lang" lang="dspCancel">キャンセル</a>
</div>
</aside>
<!-- Marking [ end ] -->
<!-- Eraser [start] -->
<div class="rayermenu3" id="dlgGomu">
<div>
<ul>
<li>
<a id="text_dlgGomu_rdo4">
<input type="radio" id="dlgGomu_rdo4" name="rdoSize" value="4"/>
<span><label for="dlgGomu_rdo4" class="lang" lang="txtMkgSB">特大</label></span>
<img class="sizeXL" src="img/viewer/en_xl.png" alt="">
</a>
</li>
<li>
<a id="text_dlgGomu_rdo3">
<input type="radio" id="dlgGomu_rdo3" name="rdoSize" value="3"/>
<span><label for="dlgGomu_rdo3" class="lang" lang="txtMkgB"></label></span>
<img class="sizeL" src="img/viewer/en_l.png" alt="">
</a>
</li>
<li>
<a id="text_dlgGomu_rdo2">
<input type="radio" id="dlgGomu_rdo2" name="rdoSize" value="2"/>
<span><label for="dlgGomu_rdo2" class="lang" lang="txtMkgM"></label></span>
<img class="sizeM" src="img/viewer/en_m.png" alt="">
</a>
</li>
<li>
<a id="text_dlgGomu_rdo1">
<input type="radio" id="dlgGomu_rdo1" name="rdoSize" value="1" checked="checked"/>
<span><label for="dlgGomu_rdo1" class="lang" lang="txtMkgS"></label></span>
<img class="sizeS" src="img/viewer/en_s.png" alt="">
</a>
</li>
</ul>
</div>
<div class="popcolumnR">
<canvas id="dlgGomu_cvMain" class="canvasArea_l" width="98" height="98"> </canvas>
</div>
<div>
<a id="dlgGomu_dspCancel" class="cancelbtn lang" href="#" lang="dspCancel">キャンセル</a>
<a id="dlgGomu_dspOK" class="cancelbtn lang okbtn" href="#" lang="dspOK">OK</a>
</div>
</div>
<!-- Eraser [ end ] -->
<!-- Maker [ start ] -->
<div id="dlgMaker" class="rayermenu1">
<ul class="popcolumnL">
<li>
<a id="marker-oversize-text">
<input type="radio" id="maker-size-oversize" name="maker-size" />
<span><label for="maker-size-oversize" class="lang" lang="txtMkgSB">XL</label></span>
<img class="sizeXL" src="img/viewer/en_xl.png" alt="">
</a>
</li>
<li>
<a id="marker-large-text">
<input type="radio" id="maker-size-large" name="maker-size"/>
<span><label for="maker-size-large" class="lang" lang="txtMkgB">L</label></span>
<img class="sizeL" src="img/viewer/en_l.png" alt="">
</a>
</li>
<li>
<a id="marker-medium-text">
<input type="radio" id="maker-size-medium" name="maker-size"/>
<span><label for="maker-size-medium" class="lang" lang="txtMkgM">M</label></span>
<img class="sizeM" src="img/viewer/en_m.png" alt="">
</a>
</li>
<li>
<a id="marker-small-text">
<input type="radio" id="maker-size-small" name="maker-size"/>
<span><label for="maker-size-small" class="lang" lang="txtMkgS">S</label></span>
<img class="sizeS" src="img/viewer/en_s.png" alt="">
</a>
</li>
</ul>
<div id="makerColorwrapper" class="popcolumnR">
<table cellpadding="0" cellspacing="0" class="colorchip">
<tbody>
<tr>
<td><a colorId="ff0000" class="color01 colorpicker" href="#"> </a></td>
<td><a colorId="ffff00" class="color02 colorpicker" href="#"> </a></td>
</tr>
<tr>
<td><a colorId="00ff00" class="color03 colorpicker" href="#"> </a></td>
<td><a colorId="00ffff" class="color04 colorpicker" href="#"> </a></td>
</tr>
<tr>
<td><a colorId="0000ff" class="color05 colorpicker" href="#"> </a></td>
<td><a colorId="ff00ff" class="color06 colorpicker" href="#"> </a></td>
</tr>
<tr>
<td><a colorId="ffffff" class="color07 colorpicker" href="#"> </a></td>
<td><a colorId="000000" class="color08 colorpicker" href="#"> </a></td>
</tr>
</tbody>
</table>
<span> </span>
<canvas id="Maker_cvPreviewmaker" class="canvasArea_s" width="98" height="98"> </canvas>
</div>
<div>
<a id="Maker_btnCancel" class="lang cancelbtn" lang="dspCancel">キャンセル</a>
<a id="Maker_btnOk" class="lang cancelbtn okbtn" lang="dspOK">OK</a>
</div>
</div>
<!-- Maker [ end ] -->
<!-- Pen [ start ] -->
<div id="dlgPen" class="rayermenu1">
<ul class="popcolumnL">
<li>
<a id="pen-oversize-text">
<input type="radio" id="pen-size-oversize" name="maker-size"/>
<span><label for="pen-size-oversize" class="lang" lang="txtMkgSB">XL</label></span>
<img class="sizeXL" src="img/viewer/en_xl.png" alt="">
</a>
</li>
<li>
<a id="pen-large-text">
<input type="radio" id="pen-size-large" name="maker-size"/>
<span><label for="pen-size-large" class="lang" lang="txtMkgB">L</label></span>
<img class="sizeL" src="img/viewer/en_l.png" alt="">
</a>
</li>
<li>
<a id="pen-medium-text">
<input type="radio" id="pen-size-medium" name="maker-size"/>
<span><label for="pen-size-medium" class="lang" lang="txtMkgM">M</label></span>
<img class="sizeM" src="img/viewer/en_m.png" alt="">
</a>
</li>
<li>
<a id="pen-small-text">
<input type="radio" id="pen-size-small" name="maker-size"/>
<span><label for="pen-size-small" class="lang" lang="txtMkgS">S</label></span>
<img class="sizeS" src="img/viewer/en_s.png" alt="">
</a>
</li>
</ul>
<div id="penColorwrapper" class="popcolumnR">
<table cellpadding="0" cellspacing="0" class="colorchip">
<tbody>
<tr>
<td><a colorId="ff0000" class="color01 colorpicker" href="#"> </a></td>
<td><a colorId="ffff00" colorId class="color02 colorpicker" href="#"> </a></td>
</tr>
<tr>
<td><a colorId="00ff00" class="color03 colorpicker" href="#"> </a></td>
<td><a colorId="00ffff" class="color04 colorpicker" href="#"> </a></td>
</tr>
<tr>
<td><a colorId="0000ff" class="color05 colorpicker" href="#"> </a></td>
<td><a colorId="ff00ff" class="color06 colorpicker" href="#"> </a></td>
</tr>
<tr>
<td><a colorId="ffffff" class="color07 colorpicker" href="#"> </a></td>
<td><a colorId="000000" class="color08 colorpicker" href="#"> </a></td>
</tr>
</tbody>
</table>
<span> </span>
<canvas id="Pen_cvPreviewPen" class="canvasArea_s" width="98" height="98"> </canvas>
</div>
<div>
<a id="Pen_btnCancel" class="lang cancelbtn" lang="dspCancel">キャンセル</a>
<a id="Pen_btnOk" class="lang okbtn cancelbtn" lang="dspOK">OK</a>
</div>
</div>
<!-- Pen [ end ] -->
<div id="dlgOverlay"> </div>
<!-- ================================================================================== -->
<!-- Marking group [end]
<!-- ================================================================================== -->
<!-- ================================================================================== -->
<!-- Footer [start]
<!-- ================================================================================== -->
<footer id="footer_toolbar_1" class="footer">
<div class="ftinner">
<!-- slider transition sizing -->
<div class="ftLcolumn">
<!-- slider [start] -->
<div class="slider fix">
<div id="divTxtSlider" class="sld01">
<span><input id="txtSlider" type="text" size="2" maxlength="3"/><label id="lblSlider"> </label></span>
</div>
<a id="control_process" class="sld02"><div id="slider_page" > </div></a>
</div>
<!-- slider [end] -->
<!-- transition [start] -->
<!-- temporary tool tip - must be change "lang" -->
<div id="control_movepage" class="transition fix">
<a id="firstpage" class="begin"> </a>
<a id="prevpage" class="prev"> </a>
<a id="nextpage" class="next"> </a>
<a id="lastpage" class="last"> </a>
</div>
<!-- transition [end] -->
<!-- sizing [start] -->
<!-- temporary tool tip - must be change "lang" -->
<div id="control_zoom" class="sizing">
<a id="zoomin" class="expansion"> </a>
<a id="zoomfit" class="fit"> </a>
<a id="zoomout" class="reduction"> </a>
</div>
<!-- sizing [end] -->
</div>
<!-- toolbar -->
<div class="ftRcolumn">
<a id="control_screen" class="toolbar"> </a>
</div>
</div>
</footer>
<footer class="footerTool" id="footer_toolbar_2">
<div class="ftRcolumn_2"></div>
</footer>
<a id="control_screen_2" class="toolbar_close" style=""> </a>
<!-- ================================================================================== -->
<!-- Footer [end]
<!-- ================================================================================== -->
<section id="bgmConfirm" class="sectionDeleteConfirm" style="display:none;">
<h1 class="lang" lang=""> </h1>
<p class="message lang" lang="msgBGMPlayConfirm" id="txtAudio">このコンテンツはBGMが流れるようになっています。BGMを再生してもよろしいですか?</p>
<p class="deletebtn" ><a id="bgmConfirm_dspOK" lang="dspOK" class="ok_audio lang">OK</a></p>
</section>
<section id="bgmConfirm_page" class="sectionDeleteConfirm" style="display:none;">
<h1 class="lang" lang=""> </h1>
<p class="message lang" lang="msgBGMPlayConfirm" id="txtAudio_page">このコンテンツはBGMが流れるようになっています。BGMを再生してもよろしいですか?</p>
<p class="deletebtn" ><a id="bgmConfirm_dspOK_page" lang="dspOK" class="ok_audio lang">OK</a></p>
</section>
<section id="contentVideoConfirm" class="sectionDeleteConfirm" style="display:none;">
<h1 class="lang" lang=""> </h1>
<p class="message lang" lang="txtMediaAutoPlayWarning" id="txtContentVideo">Confirm Play Video</p>
<p class="deletebtn" ><a id="contentVideoConfirm_OK" lang="dspOK" class="ok_audio lang">OK</a></p>
</section>
<section id="contentAudioConfirm" class="sectionDeleteConfirm" style="display:none;">
<h1 class="lang" lang=""> </h1>
<p class="message lang" lang="txtMediaAutoPlayWarning" id="txtContentAudio">Confirm Play Audio</p>
<p class="deletebtn" ><a id="contentAudioConfirm_OK" lang="dspOK" class="ok_audio lang">OK</a></p>
</section>
</div>
<!-- ビューアエリア TO -->
<!-- JSビュー -->
<script type="text/javascript" src="./common/js/jquery.ui.touch-punch.min.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/htmlparser.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/textObject.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_CallApi.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/contentview_Events.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/contentview_GetData.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/contentview_InitObjects.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/contentview_CreateObjects.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/contentview_General.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./js/contentview.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_Memo.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_Gomu.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_Maker.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_Pen.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_Marking.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_PopupText.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_Paint.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_Anket.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_3d.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_ContentTypeNone.js?__UPDATEID__"></script>
<script type="text/javascript" src="./js/contentview_ImagePreview.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/zoomDetector.js?__UPDATEID__" ></script>
<script type="text/javascript" src="./common/js/jquery.powertip.js?__UPDATEID__"></script>
<script type="text/javascript" src="./common/js/script.js?__UPDATEID__"></script>
......@@ -6,7 +6,13 @@ LIMIT_ACCESS_CONTENT.messageLevel = {};
LIMIT_ACCESS_CONTENT.checkLimitContent = function(contentId, funcOk, funcCancel, isNotUnlockScreen) {
var levelContent = parseInt(LIMIT_ACCESS_CONTENT.messageLevel[contentId].alertMessageLevel);
var levelContent = 0;
try {
levelContent = parseInt(LIMIT_ACCESS_CONTENT.messageLevel[contentId].alertMessageLevel);
} catch(e){
//取得できない場合OKにする
levelContent = 0;
}
if (levelContent == 1) {
if ($('#limit_level1').length <= 0) {
......
......@@ -12,6 +12,12 @@ BOOKMARK.bookmark_errorContent = [];
// Contain contents
BOOKMARK.collection_contents = [];
//ソート条件復帰
BOOKMARK.searchDivision = 1;
BOOKMARK.sortType = 2;
//スクロール復帰
BOOKMARK.scrollTop = 0;
// Init function of page
$(document).ready(function () {
......@@ -41,7 +47,8 @@ $(document).ready(function () {
BOOKMARK.ClearGrid();
if (ClientData.BookMarkData().length == 0) {
//if (ClientData.BookMarkData().length == 0) {
if(BOOKMARK.collection_contents.length == 0){
// Show error
$("#msgShioriNotExists").show();
$("#dspDelete").hide();
......@@ -62,8 +69,8 @@ $(document).ready(function () {
BOOKMARK.HideSorting();
// Default sort is タイトル名, default is asc
ClientData.sortOpt_searchDivision(1);
ClientData.sortOpt_sortType(2);
ClientData.sortOpt_searchDivision(BOOKMARK.searchDivision);
ClientData.sortOpt_sortType(BOOKMARK.sortType);
BOOKMARK.dspTitleNm_Click();
}
else {
......@@ -90,8 +97,58 @@ $(document).ready(function () {
$("#dspTitleNmKn_Seperate").show();
}
//ビューア、共有表示パーツ読み込み
$("#viewer").load("./inc_contentview.html?__UPDATEID__", function (myData, myStatus, xhr){
//読み込み完了時の処理
I18N.i18nReplaceText();
});
});
BOOKMARK.refreshView = function() {
// Synchronize bookmarks with server
BOOKMARK.SyncContent();
// Collection all detail of pages
BOOKMARK.bookmark_collectAllPages();
BOOKMARK.ClearGrid();
//if (ClientData.BookMarkData().length == 0) {
if(BOOKMARK.collection_contents.length == 0){
// Show error
$("#msgShioriNotExists").show();
$("#dspDelete").hide();
$("#dspDelete1").hide();
}
else {
$("#msgShioriNotExists").hide();
$("#dspDelete").show();
$("#dspDelete1").show();
}
// Default sort is タイトル名, default is asc
ClientData.sortOpt_searchDivision(BOOKMARK.searchDivision);
//前と同じ状態にするので逆転させる
if( BOOKMARK.sortType == 1 ){
BOOKMARK.sortType = 2;
} else {
BOOKMARK.sortType = 1;
}
ClientData.sortOpt_sortType(BOOKMARK.sortType);
if( BOOKMARK.searchDivision == 1 ){
BOOKMARK.dspTitleNm_Click();
} else if( BOOKMARK.searchDivision == 2 ){
BOOKMARK.dspTitleNmKn_Click();
} else {
BOOKMARK.dspPubDt_Click();
}
};
/*
----------------------------------------------------------------------------
Event groups [start]
......@@ -104,18 +161,20 @@ BOOKMARK.dspTitleNm_Click = function() {
if (ClientData.sortOpt_searchDivision() == 1) { // Name
if (ClientData.sortOpt_sortType() == 1) { // ASC
isAsc = false;
ClientData.sortOpt_sortType(2);
BOOKMARK.sortType = 2;
}
else {
isAsc = true;
ClientData.sortOpt_sortType(1);
BOOKMARK.sortType = 1;
}
}
else {
BOOKMARK.searchDivision = 1;
BOOKMARK.sortType = 1;
ClientData.sortOpt_searchDivision(1);
ClientData.sortOpt_sortType(1); // default is asc
isAsc = true;
}
ClientData.sortOpt_sortType(BOOKMARK.sortType);
BOOKMARK.SortTitleName(isAsc);
......@@ -128,18 +187,20 @@ BOOKMARK.dspTitleNmKn_Click = function() {
if (ClientData.sortOpt_searchDivision() == 2) { // Kana
if (ClientData.sortOpt_sortType() == 1) { // ASC
isAsc = false;
ClientData.sortOpt_sortType(2);
BOOKMARK.sortType = 2;
}
else {
isAsc = true;
ClientData.sortOpt_sortType(1);
BOOKMARK.sortType = 1;
}
}
else {
BOOKMARK.searchDivision = 2;
BOOKMARK.sortType = 1;
ClientData.sortOpt_searchDivision(2); // Kana
ClientData.sortOpt_sortType(1); // default is asc
isAsc = true;
}
ClientData.sortOpt_sortType(BOOKMARK.sortType);
BOOKMARK.SortTitleNameKana(isAsc);
......@@ -152,18 +213,19 @@ BOOKMARK.dspPubDt_Click = function() {
if (ClientData.sortOpt_searchDivision() == 3) { // Publish date
if (ClientData.sortOpt_sortType() == 1) { // ASC
isAsc = false;
ClientData.sortOpt_sortType(2);
BOOKMARK.sortType = 2;
}
else {
isAsc = true;
ClientData.sortOpt_sortType(1);
BOOKMARK.sortType = 1;
}
}
else {
BOOKMARK.sortType = 1;
ClientData.sortOpt_searchDivision(3); // Kana
ClientData.sortOpt_sortType(1); // default is asc
isAsc = true;
}
ClientData.sortOpt_sortType(BOOKMARK.sortType);
BOOKMARK.SortPubDate(isAsc);
......@@ -192,7 +254,11 @@ BOOKMARK.dspRead_Click_callback = function(data) {
ClientData.bookmark_pageNo(data.pageNo);
ClientData.contentInfo_contentType(data.contentType);
ClientData.IsRefresh(false);
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//表示
BOOKMARK.showContentView();
};
// Cancel dialog of deleting
......@@ -258,7 +324,7 @@ BOOKMARK.dspDelete_Click = function() {
};
// Show detail content
BOOKMARK.ShowBookmark = function() {
BOOKMARK.ShowBookmark = function(showList) {
if (AVWEB.avwHasError()) {
return;
}
......@@ -268,17 +334,17 @@ BOOKMARK.ShowBookmark = function() {
var contentid = "";
var pageNo = 0;
if (ClientData.BookMarkData().length > 0) {
if (showList.length > 0) {
$("#dspDelete").show();
$("#dspDelete1").show();
}
//TotalThread = ClientData.BookMarkData().length;
for (var nIndex = ClientData.BookMarkData().length - 1; nIndex >= 0; nIndex--) {
for (var nIndex = showList.length - 1; nIndex >= 0; nIndex--) {
hasMarking = false;
hasMemo = false;
contentid = ClientData.BookMarkData()[nIndex].contentid;
pageNo = ClientData.BookMarkData()[nIndex].pageNo;
contentid = showList[nIndex].contentid;
pageNo = showList[nIndex].pageNo;
// Check if contentid has marking
for (var nIndex1 = 0; nIndex1 < ClientData.MarkingData().length; nIndex1++) {
......@@ -355,6 +421,7 @@ BOOKMARK.SortTitleName = function(isAsc) {
var arrSource = ClientData.BookMarkData();
var arrTarget = [];
var arrShowList = [];
var strTemp = "";
var nTempIndex = 0;
var isStop = false;
......@@ -385,6 +452,15 @@ BOOKMARK.SortTitleName = function(isAsc) {
}
// Add to target array
arrTarget.push(arrSource[nTempIndex]);
//表示対象なら表示用リストにプッシュ
for (var nIndex2 = 0; nIndex2 < BOOKMARK.collection_contents.length; nIndex2++) {
if (BOOKMARK.collection_contents[nIndex2].contentid == arrSource[nTempIndex].contentid) {
arrShowList.push(arrSource[nTempIndex]);
break;
}
}
// Remove min item from source array
arrSource.splice(nTempIndex, 1);
}
......@@ -394,7 +470,7 @@ BOOKMARK.SortTitleName = function(isAsc) {
}
BOOKMARK.ClearGrid();
ClientData.BookMarkData(arrTarget);
BOOKMARK.ShowBookmark();
BOOKMARK.ShowBookmark(arrShowList);
};
// Clear all rows of grid
BOOKMARK.ClearGrid = function() {
......@@ -412,6 +488,7 @@ BOOKMARK.SortTitleNameKana = function(isAsc) {
var arrSource = ClientData.BookMarkData();
var arrTarget = [];
var arrShowList = [];
var strTemp = "";
var nTempIndex = 0;
var isStop = false;
......@@ -442,6 +519,15 @@ BOOKMARK.SortTitleNameKana = function(isAsc) {
}
// Add to target array
arrTarget.push(arrSource[nTempIndex]);
//表示対象なら表示用リストにプッシュ
for (var nIndex2 = 0; nIndex2 < BOOKMARK.collection_contents.length; nIndex2++) {
if (BOOKMARK.collection_contents[nIndex2].contentid == arrSource[nTempIndex].contentid) {
arrShowList.push(arrSource[nTempIndex]);
break;
}
}
// Remove min item from source array
arrSource.splice(nTempIndex, 1);
}
......@@ -451,7 +537,7 @@ BOOKMARK.SortTitleNameKana = function(isAsc) {
}
BOOKMARK.ClearGrid();
ClientData.BookMarkData(arrTarget);
BOOKMARK.ShowBookmark();
BOOKMARK.ShowBookmark(arrShowList);
};
// Sort by publish date
BOOKMARK.SortPubDate = function(isAsc) {
......@@ -460,6 +546,7 @@ BOOKMARK.SortPubDate = function(isAsc) {
var arrSource = ClientData.BookMarkData();
var arrTarget = [];
var arrShowList = [];
var dateTemp = undefined;
var nTempIndex = 0;
var isStop = false;
......@@ -490,6 +577,15 @@ BOOKMARK.SortPubDate = function(isAsc) {
}
// Add to target array
arrTarget.push(arrSource[nTempIndex]);
//表示対象なら表示用リストにプッシュ
for (var nIndex2 = 0; nIndex2 < BOOKMARK.collection_contents.length; nIndex2++) {
if (BOOKMARK.collection_contents[nIndex2].contentid == arrSource[nTempIndex].contentid) {
arrShowList.push(arrSource[nTempIndex]);
break;
}
}
// Remove min item from source array
arrSource.splice(nTempIndex, 1);
}
......@@ -499,7 +595,7 @@ BOOKMARK.SortPubDate = function(isAsc) {
}
BOOKMARK.ClearGrid();
ClientData.BookMarkData(arrTarget);
BOOKMARK.ShowBookmark();
BOOKMARK.ShowBookmark(arrShowList);
};
/*
Update information of specified bookmark
......@@ -610,23 +706,26 @@ BOOKMARK.insertRow = function(contentid, pageThumbnail, pageTitle, pageText, pag
imgTemp.src = pageThumbnail;
if (hasMemo) {
newRow += '<li><a href="#">' + imgMemo + '</a></li>';
newRow += '<li><a href="javascript:void(0);" style="cursor: default;">' + imgMemo + '</a></li>';
}
else {
newRow += '<li><a href="#">' + imgMemoHide + '</a></li>';
newRow += '<li><a href="javascript:void(0);" style="cursor: default;">' + imgMemoHide + '</a></li>';
}
if (hasMarking) {
newRow += '<li><a href="#">' + imgMarking + '</a></li>';
newRow += '<li><a href="javascript:void(0);" style="cursor: default;">' + imgMarking + '</a></li>';
}
else {
newRow += '<li><a href="#">' + imgMarkingHide + '</a></li>';
newRow += '<li><a href="javascript:void(0);" style="cursor: default;">' + imgMarkingHide + '</a></li>';
}
newRow += '<li class="pageno"><label id="Label2" class="lang" lang="txtPage">' + I18N.i18nText('txtPage') + '</label><label id="Label3">' + pageNo + '</label></li>';
newRow += "<li><a class='read lang' name='dspRead' value='{\"contentid\":\"" + contentid + "\", \"pageNo\":\"" + pageNo + "\", \"contentType\":\"" + contentType + "\" }' lang='txtRead'>" + I18N.i18nText('txtRead') + "</a></li>";
newRow +='<li>';
newRow += "<a class='read read_open lang' name='dspRead' value='{\"contentid\":\"" + contentid + "\", \"pageNo\":\"" + pageNo + "\", \"contentType\":\"" + contentType + "\" }' lang='txtRead'>" + I18N.i18nText('txtRead') + "</a>";
newRow +='</li>';
newRow +='</ul>';
newRow +='</div>';
newRow +='</div>';
......@@ -866,6 +965,8 @@ BOOKMARK.IsExistContent = function(strContentId) {
getType: '1',
contentId: strContentId
};
result["isExisted"] = isExisted;
AVWEB.avwCmsApiSync(ClientData.userInfo_accountPath(), "webGetContent", 'GET', params,
function (data) {
isExisted = true;
......@@ -875,10 +976,10 @@ BOOKMARK.IsExistContent = function(strContentId) {
result["contentType"] = contentType;
// save content type
BOOKMARK.contentTypes[strContentId] = contentType;
BOOKMARK.contentName[strContentId] = data.contentData.contentName;
//BOOKMARK.contentTypes[strContentId] = contentType;
//BOOKMARK.contentName[strContentId] = data.contentData.contentName;
// save alert message level
LIMIT_ACCESS_CONTENT.messageLevel[strContentId] = { alertMessageLevel: data.contentData.alertMessageLevel, alertMessage: data.contentData.alertMessage };
//LIMIT_ACCESS_CONTENT.messageLevel[strContentId] = { alertMessageLevel: data.contentData.alertMessageLevel, alertMessage: data.contentData.alertMessage };
},
function (xmlHttpRequest, txtStatus, errorThrown) {
......@@ -895,8 +996,74 @@ BOOKMARK.IsExistContent = function(strContentId) {
return result;
};
/*
----------------------------------------------------------------------------
Setting dialog [ end ]
----------------------------------------------------------------------------
*/
BOOKMARK.showContentView = function(){
//TOPに戻す
var y = 0;
if( document.documentElement.scrollTop ){
y = document.documentElement.scrollTop;
}
if( document.body.scrollTop ){
if( y == undefined || y == 0){
y = document.body.scrollTop;
}
}
if( y == undefined || y == null){
y = 0;
}
BOOKMARK.scrollTop = y;
window.scrollTo(0,0);
//試験
$("#header-ws").hide();
$("#ws-body").hide();
$("#topcontrol").hide();
CONTENTVIEW_INITOBJECT.clearViewerComponent();
CONTENTVIEW.cssInit();
$("#viewer").show();
CONTENTVIEW.ready();
};
BOOKMARK.cssInit = function(){
$('html').css({
'overflow-y':'scroll'
});
$('html,body').css({
'height':'100%',
'margin': '0',
'padding': '0'
});
$('html>body').css({
'font-size':'16px',
'font-size':'68.75%'
});
$('body').css({
'font-family':'Verdana, helvetica, arial, sans-serif',
'font-size':'68.75%',
'background':'#fff',
'color':'#333'
});
};
BOOKMARK.downloadFunction = function(e) {
if (e) {
e.preventDefault();
}
var contentId = $(this).attr('contentid');
//Download content
HEADER.downloadResourceById(contentId);
};
......@@ -22,6 +22,9 @@ CONTENTSEARCH.chkSearchTextEmpty = false;
CONTENTSEARCH.noRecordFlg = false;
CONTENTSEARCH.home_isMove = false;
//スクロール復帰
CONTENTSEARCH.scrollTop = 0;
$(document).ready(function(){
if (!AVWEB.avwCheckLogin(COMMON.ScreenIds.Login)){
......@@ -50,10 +53,9 @@ $(document).ready(function(){
CONTENTSEARCH.renderGridView();
//Go To Details Page
$('canvas').live('click', CONTENTSEARCH.canvasClickFunction);
//$('canvas').live('touchstart', CONTENTSEARCH.canvasClickFunction);
$('canvas').live('touchend', CONTENTSEARCH.canvasClickFunction);
$('canvas').live('touchmove', function () { CONTENTSEARCH.home_isMove = true; });
$('#main-ws canvas').live('click', CONTENTSEARCH.canvasClickFunction);
$('#main-ws canvas').live('touchend', CONTENTSEARCH.canvasClickFunction);
$('#main-ws canvas').live('touchmove', function () { CONTENTSEARCH.home_isMove = true; });
//Open dialog
$('.dialog').live('click', CONTENTSEARCH.titleClickFunction);
......@@ -86,7 +88,7 @@ $(document).ready(function(){
$('#main-search').click(CONTENTSEARCH.searchEventButtonFunction);
$('#txtSearch').keydown(CONTENTSEARCH.mainSearchKeyDownFunction);
$('#txtSearchWs').keydown(CONTENTSEARCH.mainSearchKeyDownFunction);
$('#main-search-content').click(CONTENTSEARCH.mainSearchContentClickFunction);
......@@ -116,7 +118,7 @@ $(document).ready(function(){
}
//詳細、共有表示パーツ読み込み
$("#inc_detail").load("./inc_detail.html", function (myData, myStatus, xhr){
$("#inc_detail").load("./inc_detail.html?__UPDATEID__", function (myData, myStatus, xhr){
//読み込み完了時の処理
I18N.i18nReplaceText();
$('.datepicker').pickadate({
......@@ -124,6 +126,12 @@ $(document).ready(function(){
});
});
//ビューア、共有表示パーツ読み込み
$("#viewer").load("./inc_contentview.html?__UPDATEID__", function (myData, myStatus, xhr){
//読み込み完了時の処理
I18N.i18nReplaceText();
});
});
......@@ -163,7 +171,7 @@ CONTENTSEARCH.initialScreen = function(){
var searchText = ClientData.searchCond_searchText();
var searchDivision = ClientData.searchCond_searchDivision();
$('#txtSearch').val(searchText);
$('#txtSearchWs').val(searchText);
//ClientData.searchCond_searchText('');
if(searchDivision == 1){
......@@ -825,7 +833,10 @@ CONTENTSEARCH.readSubmenuFunction_callback = function(contentId)
}
else{
//Go to Conten view page
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
CONTENTSEARCH.drawEditImage(contentId);
CONTENTSEARCH.showContentView();
}
//End Function : No.12 -- Editor : Le Long -- Date : 08/02/2013 -- Summary : Check content type other for download.
};
......@@ -1098,7 +1109,7 @@ CONTENTSEARCH.searchEventButtonFunction = function(){
var toPage = CONTENTSEARCH.returnNumberDispRecordForList();
var sortType = CONTENTSEARCH.DEFAULT_SORT_TYPE;
var sortOrder = CONTENTSEARCH.DEFAULT_SORT_ORDER;
var searchText = $('#txtSearch').val();
var searchText = $('#txtSearchWs').val();
var searchDivision;
var content = $('#main-content').attr('checked');
var tag = $('#main-tag').attr('checked');
......@@ -1387,3 +1398,73 @@ CONTENTSEARCH.showContentShareDlgFunction = function(e) {
};
CONTENTSEARCH.showContentView = function(){
//TOPに戻す
var y = 0;
if( document.documentElement.scrollTop ){
y = document.documentElement.scrollTop;
}
if( document.body.scrollTop ){
if( y == undefined || y == 0){
y = document.body.scrollTop;
}
}
if( y == undefined || y == null){
y = 0;
}
CONTENTSEARCH.scrollTop = y;
window.scrollTo(0,0);
//試験
$("#header-ws").hide();
$("#ws-body").hide();
$("#topcontrol").hide();
CONTENTVIEW_INITOBJECT.clearViewerComponent();
CONTENTVIEW.cssInit();
$("#viewer").show();
CONTENTVIEW.ready();
};
CONTENTSEARCH.cssInit = function(){
$('html').css({
'overflow-y':'scroll'
});
$('html,body').css({
'height':'100%',
'margin': '0',
'padding': '0'
});
$('html>body').css({
'font-size':'16px',
'font-size':'68.75%'
});
$('body').css({
'font-family':'Verdana, helvetica, arial, sans-serif',
'font-size':'68.75%',
'background':'#fff',
'color':'#333'
});
};
//ダウンロードButton CLick
CONTENTSEARCH.downloadSubmenuFunction = function(e) {
if (e) {
e.preventDefault();
}
if (CONTENTSEARCH.home_isMove == true) {
CONTENTSEARCH.home_isMove = false;
return;
}
var contentId = $(this).attr('contentid');
//Download content
HEADER.downloadResourceById(contentId);
};
......@@ -4,7 +4,9 @@
var CONTENTVIEW = {};
$(document).mouseup(function (e) {
if (e.which == 1) CONTENTVIEW_GENERAL.isPressLeftMouse = false
if (e.which == 1){
CONTENTVIEW_GENERAL.isPressLeftMouse = false;
}
});
/* change size */
......@@ -245,7 +247,12 @@ CONTENTVIEW.changePageIndex = function(page_index) {
}
//End: Function No.12
else{
//最後のページのメモを削除するとエラーになる暫定対応
if( CONTENTVIEW_GENERAL.dataWebContentPage.pages[page_index] ){
return CONTENTVIEW_GENERAL.dataWebContentPage.pages[page_index].pageNo;
} else {
return page_index - 1;
}
}
};
......@@ -300,7 +307,18 @@ CONTENTVIEW.handleAPIWebContentPage = function(dataJson, pos) {
$('#bookmarkBoxHdBM').children().remove();
$('#bookmarkBoxHdBM').html('<a id="bookmarkClosing" class="delete" > </a>');
$("#bookmarkClosing").click(CONTENTVIEW_EVENTS.closeBookmarkBox);
//$("#bookmarkClosing").click(CONTENTVIEW_EVENTS.closeBookmarkBox);
$("#bookmarkClosing").on({
'click touchend': function(ev){
CONTENTVIEW_EVENTS.closeBookmarkBox(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#bookmarkBoxHdBM').append(I18N.i18nText('txtShioriCtnLs'));
$('#boxBookMark').css('z-index', '101');
......@@ -625,7 +643,18 @@ CONTENTVIEW.handleCopyTextData = function(data, pos) {
//title start
$('#bookmarkBoxHdCT').children().remove();
$('#bookmarkBoxHdCT').html('<a id="copyTextClosing" class="delete" style="padding-top:0px;"> </a>');
$("#copyTextClosing").click(CONTENTVIEW_EVENTS.closeCopyTextBox);
//$("#copyTextClosing").click(CONTENTVIEW_EVENTS.closeCopyTextBox);
$("#copyTextClosing").on({
'click touchend': function(ev){
CONTENTVIEW_EVENTS.closeCopyTextBox(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#bookmarkBoxHdCT').append(I18N.i18nText('txtTextCopy'));
//title end
......@@ -650,7 +679,18 @@ CONTENTVIEW.handleCopyTextData = function(data, pos) {
//title start
$('#bookmarkBoxHdCT').children().remove();
$('#bookmarkBoxHdCT').html('<a id="copyTextClosing" class="delete" style="padding-top:0px;"> </a>');
$("#copyTextClosing").click(CONTENTVIEW_EVENTS.closeCopyTextBox);
//$("#copyTextClosing").click(CONTENTVIEW_EVENTS.closeCopyTextBox);
$("#copyTextClosing").on({
'click touchend': function(ev){
CONTENTVIEW_EVENTS.closeCopyTextBox(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#bookmarkBoxHdCT').append(I18N.i18nText('txtTextCopy'));
//title end
......@@ -930,10 +970,13 @@ CONTENTVIEW.showAlertScreen = function(errMes, scrMove) {
CONTENTVIEW.changePage = function(page_index) {
//abe スライダーのページ移動
//alert("changePage:" + page_index);
//console.log("changePage:" + page_index);
// Make sure page_index is number
page_index = Number(page_index);
if( page_index < 0 ){
page_index = 0;
}
if (page_index != CONTENTVIEW_GETDATA.getContent().pageIndex) {
......@@ -1736,16 +1779,26 @@ CONTENTVIEW.handleSliderBar = function() {
/* event change txtProcess */
$('#txtSlider').keydown(function (event) {
if (event.keyCode == 13) {
if (parseInt($('#txtSlider').val()) <= 0) {
var pageNo = parseInt($('#txtSlider').val());
if(isNaN(pageNo)){
pageNo = 1;
}
if(pageNo == 0){
pageNo = 1;
}
if (pageNo <= 0) {
$('#txtSlider').val('1');
} else if (parseInt($('#txtSlider').val()) > CONTENTVIEW_GENERAL.totalPage) {
} else if (pageNo > CONTENTVIEW_GENERAL.totalPage) {
$('#txtSlider').val(CONTENTVIEW_GENERAL.totalPage);
} else if (/\D/g.test($('#txtSlider').val())) {
$('#txtSlider').val('1');
} else {
$('#txtSlider').val(pageNo);
}
if (parseInt($('#txtSlider').val()) - 1 != CONTENTVIEW_GETDATA.getPageIndex()) {
$("#slider_page").slider("value", $('#txtSlider').val());
CONTENTVIEW.changePage($('#txtSlider').val() - 1);
}
......@@ -1836,7 +1889,7 @@ CONTENTVIEW.resizeScreen = function() {
CONTENTVIEW.changePageWithoutSlide = function(pageMove) {
//abe コンテンツリンクで移動時
//alert("changePageWithoutSlide:" + pageMove);
//console.log("changePageWithoutSlide:" + pageMove);
//ページ閲覧ログセット
COMMON.SetPageLog( CONTENTVIEW_GENERAL.contentID, pageMove);
......@@ -2037,10 +2090,12 @@ CONTENTVIEW.displayOverlayForHtmlAndMediaType = function(){
//END TRB00075 - Editor: Long - Date - 24/09/2013 - Summary : Fix for prevent moving page when display dialog
//Display overlay dialog for specify content type
CONTENTVIEW.displayOverlayForSpecifyContentType = function(){
CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
var contentId = ClientData.contentInfo_contentId();
var resourceUrl = CONTENTVIEW.downloadResourceById(contentId);
if( resourceUrl == null ){
resourceUrl = CONTENTVIEW.downloadResourceById(contentId);
}
//CONTENTVIEW_GENERAL.contentType = COMMON.ContentTypeKeys.Type_Html;
if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_Music){
......@@ -2463,6 +2518,31 @@ CONTENTVIEW.downloadResourceById = function(contentId){
return resourceUrl;
};
CONTENTVIEW.getVideoContentResourceId = function(contentId){
if(CONTENTVIEW_GENERAL.contentType != COMMON.ContentTypeKeys.Type_Video){
return null;
}
var params = {
sid: ClientData.userInfo_sid(),
contentId: contentId,
getType: '2'
};
var resourceId;
CONTENTVIEW_CALLAPI.abapi('webGetContent', params, 'GET', function (data) {
$.each(data.contentData , function(i, n){
if(typeof n == "object"){
resourceId = n.resourceId;
}
});
//Get resource
});
return resourceId;
};
//Start : TRB00015 - Editor : Long - Date : 08/28/2013 - Summary : For win 8 rotate handling.
CONTENTVIEW.setViewportForWin8 = function(){
if (window.navigator.msPointerEnabled) {
......@@ -2923,19 +3003,24 @@ CONTENTVIEW.ContentPage.prototype.addPageObjects = function (pageObjects) {
//Start Function: No.4 - Editor : Long - Date : 08/09/2013 - Summary: Edit function to draw on multi canvas
/* drawing for current page */
CONTENTVIEW.ContentPage.prototype.drawPage = function (context, opt) {
if( opt == undefined || opt == null){
opt = 0;
}
//console.log("CONTENTVIEW.ContentPage.prototype.drawPage:" + opt);
/*set status is loading page */
CONTENTVIEW_GENERAL.isLoadingObject = true;
/* lock all controls in page */
CONTENTVIEW_GENERAL.disableAllControl();
/* init array image */
CONTENTVIEW_GENERAL.arrImage = [];
CONTENTVIEW_GENERAL.nCountObjectLoad = 0;
CONTENTVIEW_GENERAL.nCountObjectLoad[opt] = 0;
$('#divImageLoading').css('display', 'block');
//var width = this.image.width;
//var height = this.image.height;
//START TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_PDF){
if(opt == null || opt == 0){
......@@ -3049,9 +3134,9 @@ CONTENTVIEW.ContentPage.prototype.drawPage = function (context, opt) {
objPageTemp[i].drawPageObject(context, opt);
}
else {
CONTENTVIEW_GENERAL.nCountObjectLoad++;
CONTENTVIEW_GENERAL.nCountObjectLoad[opt]++;
if (CONTENTVIEW_GENERAL.nCountObjectLoad == objPageTemp.length) {
if (CONTENTVIEW_GENERAL.nCountObjectLoad[opt] == objPageTemp.length) {
/* draw marking */
CONTENTVIEW.drawMarkingOnScreen(opt);
......@@ -3207,7 +3292,6 @@ CONTENTVIEW.ContentPage.prototype.findById = function (id) {
/* check status button move page when change page */
CONTENTVIEW.checkExistNextPrePage = function() {
//check next page
if (CONTENTVIEW_GETDATA.getContent().hasNextPage()) {
//$('#nextpage').show();
//COMMON.enable('#nextpage');
......@@ -4498,7 +4582,8 @@ CONTENTVIEW.showVideoObject = function(x, y, width, height, src, isFullscreen) {
'width="' + (pt2.x - pt1.x) + '" ' +
'height="' + (pt2.y - pt1.y) + '" ' +
'autoplay controls loop>' +
' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/mp4"> ' +
' <source src="' + src + '" type="video/mp4"> ' +
//' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/mp4"> ' +
//' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/ogg"> ' +
'</video>'
);
......@@ -4508,7 +4593,8 @@ CONTENTVIEW.showVideoObject = function(x, y, width, height, src, isFullscreen) {
'width="' + (pt2.x - pt1.x) + '" ' +
'height="' + (pt2.y - pt1.y) + '" ' +
'autoplay controls>' +
' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/mp4"> ' +
//' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/mp4"> ' +
' <source src="' + src + '" type="video/mp4"> ' +
'</video>'
);
}
......@@ -5257,34 +5343,143 @@ CONTENTVIEW.deleteMaxPageOverData = function() {
};
CONTENTVIEW.handleDisplayMobileToolbar = function(){
CONTENTVIEW.cssInit = function(){
//CSS
$('html').css({
'overflow-y':'',
'overflow': 'hidden'
});
$('html,body').css({
'height':'100%',
'width':'100%',
'margin':'',
'padding':''
});
$('html>body').css({
'font-size':''
});
$('body').css({
'font-family': '"メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Pゴシック", "MS P Gothic", "Osaka", Verdana, Arial, Helvetica, sans-serif',
'font-size':'',
'background':'#898989',
'background-image':'url(./img/viewer/article_bg.png)',
'color':'',
'margin':'0',
'padding':'0'
});
};
if($('#menu').length){
if ($('#menu').is(':hidden')) {
// 非表示の場合の処理
$('#menu').show();
} else {
// 表示されている場合の処理
$('#menu').hide();
}
CONTENTVIEW.screenMove = function(){
CONTENTVIEW.initScreen();
CONTENTVIEW.ready();
};
//戻る処理
CONTENTVIEW.screenBack = function(){
//後始末
CONTENTVIEW.initScreen();
$("#viewer").hide();
if( $('#bookshelf').length || $('#list').length ){
HOME.cssInit();
$("#header-ws").show();
$("#ws-body").show();
$("#topcontrol").show();
document.title = I18N.i18nText('dspHome') + ' | ' + I18N.i18nText('sysAppTitle');
//console.log("back HOME.scrollTop:" + HOME.scrollTop);
//元の位置に戻す
window.scrollTo(0,HOME.scrollTop);
} else if( $('#bookmark').length ){
BOOKMARK.cssInit();
$("#header-ws").show();
$("#ws-body").show();
$("#topcontrol").show();
document.title = I18N.i18nText('dspShiori') + ' | ' + I18N.i18nText('sysAppTitle');
//元の位置に戻す
window.scrollTo(0,BOOKMARK.scrollTop);
BOOKMARK.refreshView();
} else if( $('#history').length ){
HISTORY.cssInit();
$("#header-ws").show();
$("#ws-body").show();
$("#topcontrol").show();
document.title = I18N.i18nText('dspViewHistory') + ' | ' + I18N.i18nText('sysAppTitle');
//元の位置に戻す
window.scrollTo(0,HISTORY.scrollTop);
} else if( $('#contentsearch').length ){
CONTENTSEARCH.cssInit();
$("#header-ws").show();
$("#ws-body").show();
$("#topcontrol").show();
document.title = I18N.i18nText('txtSearchResult') + ' | ' + I18N.i18nText('sysAppTitle');
//元の位置に戻す
window.scrollTo(0,CONTENTSEARCH.scrollTop);
}
//プッシュメッセージ再開
// check new push message
if (COMMON.isAnonymousLogin() == false ) {
// continue check new push message
setTimeout(HEADER.getPushMessageNew, HEADER.getTimeWaitCheckNewPushMessage());
}
};
CONTENTVIEW.getSessionId = function(){
CONTENTVIEW.initScreen = function(){
if (ClientData.userInfo_sid_local()) {
return ClientData.userInfo_sid_local();
} else if (ClientData.userInfo_sid_local_bak()) {
return ClientData.userInfo_sid_local_bak();
} else {
return ClientData.userInfo_sid();
//画面初期化
if($('#canvasWrapper').length){
$('#main').empty();
}
if($('#dialog').length){
$('#dialog').hide();
$('#dialog').empty();
$('#dialog').removeClass();
$('#dialog').removeAttr('style');
//$('#dialog').attr('style', 'width:');
$('#dialog').addClass('web_dialog');
}
$('#header_toolbar').show();
$('#txtSearch').val('');
$('#divCheckExistMarking').hide();
$('#divCacheLoading').hide();
$('#overlay').hide();
$('#dialogPopUp').hide();
$('#arrow').hide();
$("#wrapper *").unbind("click");
};
$("document").ready(function () {
//CONTENTVIEW.ready = function(){
$(function () {
//CONTENTVIEW.ready();
});
CONTENTVIEW.ready = function(){
CONTENTVIEW_CALLAPI.ready();
CONTENTVIEW_EVENTS.ready();
CONTENTVIEW_GETDATA.ready();
CONTENTVIEW_INITOBJECT.ready();
CONTENTVIEW_CREATEOBJECT.ready();
CONTENTVIEW_GENERAL.ready();
CONTENTVIEW_MEMO.ready();
CONTENTVIEW_GOMU.ready();
CONTENTVIEW_MAKER.ready();
CONTENTVIEW_PEN.ready();
CONTENTVIEW_MARKING.ready();
CONTENTVIEW_POPUPTEXT.ready();
CONTENTVIEW_PAINT.ready();
CONTENTVIEW_ANKET.ready();
CONTENTVIEW_3D.ready();
CONTENTVIEW_CONTENTTYPENONE.ready();
CONTENTVIEW_IMAGEPREVIEW.ready();
//CONTENTVIEW_FILESYSTEM.ready();
CONTENTVIEW.isPendingContentBGM = false;
CONTENTVIEW.isZoomingContent = false;
......@@ -5444,6 +5639,33 @@ $("document").ready(function () {
}
}
);
//};
});
};
CONTENTVIEW.handleDisplayMobileToolbar = function(){
if($('#menu').length){
if ($('#menu').is(':hidden')) {
// 非表示の場合の処理
$('#menu').show();
} else {
// 表示されている場合の処理
$('#menu').hide();
}
}
};
CONTENTVIEW.getSessionId = function(){
if (ClientData.userInfo_sid_local()) {
return ClientData.userInfo_sid_local();
} else if (ClientData.userInfo_sid_local_bak()) {
return ClientData.userInfo_sid_local_bak();
} else {
return ClientData.userInfo_sid();
}
};
......@@ -2,16 +2,6 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_3D = {};
CONTENTVIEW_3D._3dMoveFlag = false;
CONTENTVIEW_3D._3dAction = '';
CONTENTVIEW_3D._curr3dObject;
//CONTENTVIEW_3D._3dTimeToDetect = 1000;
CONTENTVIEW_3D._3dActionType = {
'TouchStart_MouseDown' : 0,
'TouchMove_MouseMove' : 1,
'TouchEnd_MouseUp' : 2
};
CONTENTVIEW_3D.createMatrixPoints = function(width, height, _v, _h, imgCurrX, imgCurrY){
var deltaX = width/ _h;
......@@ -317,3 +307,20 @@ CONTENTVIEW_3D.get3DAction = function(lastFrame, currFrame){
return nRet;
};
$(function () {
//CONTENTVIEW_3D.ready();
});
CONTENTVIEW_3D.ready = function(){
CONTENTVIEW_3D._3dMoveFlag = false;
CONTENTVIEW_3D._3dAction = '';
CONTENTVIEW_3D._curr3dObject = undefined;
CONTENTVIEW_3D._3dActionType = {
'TouchStart_MouseDown' : 0,
'TouchMove_MouseMove' : 1,
'TouchEnd_MouseUp' : 2
};
};
......@@ -122,13 +122,8 @@ CONTENTVIEW_ANKET.resizeAnket = function() {
// set height for anket container
$('#dialog .anket-container').css('height', iframeHeight);
// set overflow for container iframe
//if (avwUserEnvObj.isIos()) {
// $('#dialog .anket-container').css('overflow', 'scroll');
// $('#dialog .anket-container').css('-webkit-overflow-scrolling', 'touch');
// //$('#dialog .anket-container').css('display', 'inline-block');
// //$('#dialog iframe').css('display', 'block');
//}
};
CONTENTVIEW_ANKET.ready = function(){
};
......@@ -7,28 +7,67 @@ CONTENTVIEW_CALLAPI.abapi = function(name, param, method, callback) {
AVWEB.avwCmsApiSync(ClientData.userInfo_accountPath(), name, method, param, callback, null);
};
//START TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
/* get Json stored content info */
CONTENTVIEW_CALLAPI.getJsonContentInfo = function() {
CONTENTVIEW_CALLAPI.getJsonContentInfo = function( doneFunc ) {
//console.log("CONTENTVIEW_CALLAPI.getJsonContentInfo");
AVWEB.avwGrabContentPageImage(ClientData.userInfo_accountPath(),
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: CONTENTVIEW.getSessionId(), pageNo: 1 },
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: ClientData.userInfo_sid(), pageNo: 1 },
function (data) {
CONTENTVIEW_GENERAL.pageImages = data;
CONTENTVIEW_CALLAPI.webGetContentData();
CONTENTVIEW_CALLAPI.getSearchDataFromJson();
CONTENTVIEW_CALLAPI.getJsonDataPageTitle();
CONTENTVIEW_CALLAPI.getJsonDataType4();
CONTENTVIEW_CALLAPI.getJsonDataType5();
CONTENTVIEW_CALLAPI.getDataJsonFile();
//CONTENTVIEW_CALLAPI.webGetPageImageContentSize();
CONTENTVIEW_CALLAPI.webGetContentPageSize();
CONTENTVIEW_CALLAPI.getJsonContentInfoDone(doneFunc);
},
function (xmlHttpRequest, txtStatus, errorThrown) {
CONTENTVIEW.showErrorScreen();
}
);
};
CONTENTVIEW_CALLAPI.getJsonContentInfoDone = function(doneFunc){
var ajax1 = CONTENTVIEW_CALLAPI.webGetContentDataWhen();
var ajax2 = CONTENTVIEW_CALLAPI.getSearchDataFromJsonWhen();
var ajax3 = CONTENTVIEW_CALLAPI.getJsonDataPageTitleWhen();
var ajax4 = CONTENTVIEW_CALLAPI.getJsonDataType4When();
var ajax5 = CONTENTVIEW_CALLAPI.getJsonDataType5When();
var ajax6 = CONTENTVIEW_CALLAPI.getDataJsonFileWhen();
var ajax7 = CONTENTVIEW_CALLAPI.webGetContentPageSizeWhen();
$.when(
ajax1,ajax2,ajax3,ajax4,ajax5,ajax6,ajax7
).done(function(data1, data2, data3, data4, data5, data6, data7) {
//console.log("done:data1:" + data1);
//console.log("done:data2:" + data2);
//console.log("done:data3:" + data3);
//console.log("done:data4:" + data4);
//console.log("done:data5:" + data5);
//console.log("done:data6:" + data6);
//console.log("done:data7:" + data7);
if(data1){
CONTENTVIEW_CALLAPI.webGetContentDataDone(data1[0]);
}
if(data2){
CONTENTVIEW_CALLAPI.getSearchDataFromJsonDone(data2[0]);
}
if(data3){
CONTENTVIEW_CALLAPI.getJsonDataPageTitleDone(data3[0]);
}
if(data4){
CONTENTVIEW_CALLAPI.getJsonDataType4Done(data4[0]);
}
if(data5){
CONTENTVIEW_CALLAPI.getJsonDataType5Done(data5[0]);
}
if(data6){
CONTENTVIEW_CALLAPI.getDataJsonFileDone(data6[0]);
}
if(data7){
CONTENTVIEW_CALLAPI.webGetContentPageSizeDone(data7[0]);
}
if(doneFunc){
doneFunc();
}
});
};
//END TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
......@@ -52,8 +91,7 @@ CONTENTVIEW_CALLAPI.webGetPageImageContentSize = function() {
null);
};
//START TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
CONTENTVIEW_CALLAPI.webGetContentPageSize = function(){
CONTENTVIEW_CALLAPI.webGetContentPageSizeWhen = function(){
var params = {
contentId: CONTENTVIEW_GENERAL.contentID,
......@@ -62,11 +100,16 @@ CONTENTVIEW_CALLAPI.webGetContentPageSize = function(){
isStreaming: ClientData.isStreamingMode()
};
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(),
return AVWEB._callCmsApiWhen(
ClientData.userInfo_accountPath(),
"webGetContent",
"GET",
params,
function (data) {
params
);
};
CONTENTVIEW_CALLAPI.webGetContentPageSizeDone = function(data){
if( data.contentData.pageInfoData.pagesInfo ){
$.each(data.contentData.pageInfoData.pagesInfo, function(i, n){
CONTENTVIEW_GENERAL.contentPageSizeArr.push(n);
......@@ -77,8 +120,6 @@ CONTENTVIEW_CALLAPI.webGetContentPageSize = function(){
} else {
CONTENTVIEW.showErrorScreen();
}
},
null);
};
//Get Pagesize by pageNo
......@@ -92,9 +133,8 @@ CONTENTVIEW_CALLAPI.getPageSizeByPageNo = function(pageNo){
}
}
};
//END TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
CONTENTVIEW_CALLAPI.webGetContentData = function() {
CONTENTVIEW_CALLAPI.webGetContentDataWhen = function() {
var params = {
contentId: CONTENTVIEW_GENERAL.contentID,
......@@ -103,18 +143,21 @@ CONTENTVIEW_CALLAPI.webGetContentData = function() {
isStreaming: ClientData.isStreamingMode()
};
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(),
return AVWEB._callCmsApiWhen(
ClientData.userInfo_accountPath(),
"webGetContent",
"GET",
params,
function (data) {
params
);
};
CONTENTVIEW_CALLAPI.webGetContentDataDone = function(data) {
CONTENTVIEW_GENERAL.totalPage = data.contentData.allPageNum;
},
null);
};
/* get Json stored page title */
CONTENTVIEW_CALLAPI.getJsonDataPageTitle = function() {
CONTENTVIEW_CALLAPI.getJsonDataPageTitleWhen = function() {
var params = {
contentId: CONTENTVIEW_GENERAL.contentID,
......@@ -123,11 +166,16 @@ CONTENTVIEW_CALLAPI.getJsonDataPageTitle = function() {
isStreaming: ClientData.isStreamingMode()
};
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(),
return AVWEB._callCmsApiWhen(
ClientData.userInfo_accountPath(),
"webGetContent",
"GET",
params,
function (data) {
params
);
};
CONTENTVIEW_CALLAPI.getJsonDataPageTitleDone = function(data) {
CONTENTVIEW_GENERAL.dataPageTitle = [];
for (var nIndex = 0; nIndex < CONTENTVIEW_GENERAL.totalPage; nIndex++) {
CONTENTVIEW_GENERAL.dataPageTitle.push("");
......@@ -138,12 +186,10 @@ CONTENTVIEW_CALLAPI.getJsonDataPageTitle = function() {
CONTENTVIEW_GENERAL.dataPageTitle = data.contentData.titleInfo;
}
}
},
null);
};
/* get Json webGetContent4 */
CONTENTVIEW_CALLAPI.getJsonDataType4 = function() {
CONTENTVIEW_CALLAPI.getJsonDataType4When = function() {
var params = {
contentId: CONTENTVIEW_GENERAL.contentID,
......@@ -152,18 +198,21 @@ CONTENTVIEW_CALLAPI.getJsonDataType4 = function() {
isStreaming: ClientData.isStreamingMode()
};
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(),
return AVWEB._callCmsApiWhen(
ClientData.userInfo_accountPath(),
"webGetContent",
"GET",
params,
function (data) {
params
);
};
CONTENTVIEW_CALLAPI.getJsonDataType4Done = function(data) {
CONTENTVIEW_GENERAL.dataJsonType4 = data.contentData.linkData;
},
null);
};
/* get Json webGetContent5 */
CONTENTVIEW_CALLAPI.getJsonDataType5 = function() {
CONTENTVIEW_CALLAPI.getJsonDataType5When = function() {
var params = {
contentId: CONTENTVIEW_GENERAL.contentID,
......@@ -172,18 +221,21 @@ CONTENTVIEW_CALLAPI.getJsonDataType5 = function() {
isStreaming: ClientData.isStreamingMode()
};
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(),
return AVWEB._callCmsApiWhen(
ClientData.userInfo_accountPath(),
"webGetContent",
"GET",
params,
function (data) {
params
);
};
CONTENTVIEW_CALLAPI.getJsonDataType5Done = function(data) {
CONTENTVIEW_GENERAL.dataJsonType5 = data.contentData.outlineData;
},
null);
};
/* read file Json -> get page objects */
CONTENTVIEW_CALLAPI.getDataJsonFile = function() {
CONTENTVIEW_CALLAPI.getDataJsonFileWhen = function() {
var params = {
contentId: CONTENTVIEW_GENERAL.contentID,
......@@ -192,12 +244,17 @@ CONTENTVIEW_CALLAPI.getDataJsonFile = function() {
isStreaming: ClientData.isStreamingMode()
};
//get content from JSON
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(),
return AVWEB._callCmsApiWhen(
ClientData.userInfo_accountPath(),
"webGetContent",
"GET",
params,
function (data) {
params
);
};
CONTENTVIEW_CALLAPI.getDataJsonFileDone = function(data) {
var JsonFile = data.contentData;
CONTENTVIEW_GENERAL.pageObjectsData = [];
if (JsonFile.vertical) {
......@@ -258,8 +315,7 @@ CONTENTVIEW_CALLAPI.getDataJsonFile = function() {
//End : Function : No.12 - Editor : Long - Date: 08/27/2013 - Summary : Get Page Object for content type none
CONTENTVIEW_GETDATA.getPageObjectsByPageIndex(CONTENTVIEW_GENERAL.pageObjectsData, 0);
},
null);
};
CONTENTVIEW_CALLAPI.loadDataBookmark = function(lstPageNo) {
......@@ -316,7 +372,7 @@ CONTENTVIEW_CALLAPI.loadDataBookmark = function(lstPageNo) {
};
/* get data using for search */
CONTENTVIEW_CALLAPI.getSearchDataFromJson = function() {
CONTENTVIEW_CALLAPI.getSearchDataFromJsonWhen = function() {
//get data from JSON file
var arrPageNo = '';
......@@ -335,17 +391,18 @@ CONTENTVIEW_CALLAPI.getSearchDataFromJson = function() {
isStreaming: ClientData.isStreamingMode()
};
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(),
return AVWEB._callCmsApiWhen(
ClientData.userInfo_accountPath(),
"webContentPage",
"GET",
params,
function (data) {
CONTENTVIEW_GENERAL.contentName = data.contentTitle;
CONTENTVIEW_GENERAL.dataWebContentPage = data;
params
);
},
null);
};
CONTENTVIEW_CALLAPI.getSearchDataFromJsonDone = function(data) {
CONTENTVIEW_GENERAL.contentName = data.contentTitle;
CONTENTVIEW_GENERAL.dataWebContentPage = data;
};
CONTENTVIEW_CALLAPI.loadDataSearch = function(lstPageNo) {
......@@ -401,3 +458,6 @@ CONTENTVIEW_CALLAPI.loadDataSearch = function(lstPageNo) {
}
};
CONTENTVIEW_CALLAPI.ready = function(){
};
......@@ -2,11 +2,35 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_CONTENTTYPENONE = {};
CONTENTVIEW_CONTENTTYPENONE.getJsonContentInfoTyeNone = function() {
//CONTENTVIEW_CALLAPI.webGetContentData();
CONTENTVIEW_CALLAPI.getSearchDataFromJson();
CONTENTVIEW_CALLAPI.getJsonDataPageTitle();
CONTENTVIEW_CALLAPI.getDataJsonFile();
CONTENTVIEW_CONTENTTYPENONE.getJsonContentInfoTyeNone = function(doneFunc) {
//CONTENTVIEW_CALLAPI.getSearchDataFromJson();
//CONTENTVIEW_CALLAPI.getJsonDataPageTitle();
//CONTENTVIEW_CALLAPI.getDataJsonFile();
var ajax2 = CONTENTVIEW_CALLAPI.getSearchDataFromJsonWhen();
var ajax3 = CONTENTVIEW_CALLAPI.getJsonDataPageTitleWhen();
var ajax6 = CONTENTVIEW_CALLAPI.getDataJsonFileWhen();
$.when(
ajax2,ajax3,ajax6
).done(function(data2, data3, data6) {
//console.log("done:data2:" + data2);
//console.log("done:data3:" + data3);
//console.log("done:data6:" + data6);
if(data2){
CONTENTVIEW_CALLAPI.getSearchDataFromJsonDone(data2[0]);
}
if(data3){
CONTENTVIEW_CALLAPI.getJsonDataPageTitleDone(data3[0]);
}
if(data6){
CONTENTVIEW_CALLAPI.getDataJsonFileDone(data6[0]);
}
if(doneFunc){
doneFunc();
}
});
};
//Return a string base 64 image has drawn with specify data
......@@ -35,3 +59,6 @@ CONTENTVIEW_CONTENTTYPENONE.returnImageString = function(data){
return imageUrl;
};
CONTENTVIEW_CONTENTTYPENONE.ready = function(){
};
......@@ -2,9 +2,6 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_CREATEOBJECT = {};
//CONTENTVIEW_CREATEOBJECT.check;
//CONTENTVIEW_CREATEOBJECT._isEnableRotate = false;
CONTENTVIEW_CREATEOBJECT.alertMessageLevel = {
ShowAlert : '1',
RequirePassword : '2',
......@@ -13,8 +10,6 @@ CONTENTVIEW_CREATEOBJECT.alertMessageLevel = {
/* ----------------------------------- Create memo --------------------------------*/
CONTENTVIEW_CREATEOBJECT.memoObjects = [];
/* constructor */
CONTENTVIEW_CREATEOBJECT.MemoObject = function (id, text, x, y, width, heigth, imageUrl, action) {
......@@ -128,8 +123,6 @@ CONTENTVIEW_CREATEOBJECT.copyMemo = function() {
/* ----------------------------------- Create webGetContentType4 --------------------------------*/
CONTENTVIEW_CREATEOBJECT.webGetContentType4Objects = [];
/* constructor */
CONTENTVIEW_CREATEOBJECT.WebGetContentTyp4Object = function (id, x, y, width, heigth, imageUrl, action) {
......@@ -295,6 +288,10 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.hitTest = function (px, py) {
//Start Function: No.4 - Editor : Long - Date: 08/09/2013 - Summary : Edit function to draw object on next page
CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context, opt) {
if(opt == undefined || opt == null){
opt = 0;
}
var nObjectCnt = 0;
//#11478
var tempRatioWidth = 1;
......@@ -303,7 +300,8 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
var canvasHeight = 0;
//Check which pageObject to be count
if(opt == null || opt == 0){
if(opt == 0){
nObjectCnt = CONTENTVIEW_GENERAL.pageObjects.length;
//#11478
......@@ -353,6 +351,7 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
}
if (this.visible) {
/* init data */
var mediaType = this.mediaType;
var displayBorder = this.displayBorder;
......@@ -373,7 +372,7 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
//END TRB00046 - Editor : Long - Date: 09/19/2013 - Summary : Fix for draw video object at center
if (mediaType == '5') {
CONTENTVIEW_GENERAL.nCountObjectLoad++;
CONTENTVIEW_GENERAL.nCountObjectLoad[opt]++;
context.strokeStyle = "black";
context.lineWidth = "1";
context.strokeRect(x, y, w, h);
......@@ -386,8 +385,7 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
var img = new Image();
img.onload = function () {
CONTENTVIEW_GENERAL.nCountObjectLoad++;
CONTENTVIEW_GENERAL.nCountObjectLoad[opt]++;
/* create object store value image */
var objTemp = [];
......@@ -445,7 +443,8 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
CONTENTVIEW.flip(opt);
if (CONTENTVIEW_GENERAL.nCountObjectLoad >= nObjectCnt) {
//console.log("CONTENTVIEW_GENERAL.nCountObjectLoad:" + opt + " "+ CONTENTVIEW_GENERAL.nCountObjectLoad[opt] + " nObjectCnt:" + nObjectCnt);
if (CONTENTVIEW_GENERAL.nCountObjectLoad[opt] >= nObjectCnt) {
/* draw marking */
CONTENTVIEW.drawMarkingOnScreen(opt);
......@@ -528,7 +527,10 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
img.src = this.imageUrl;
}
else {
if (CONTENTVIEW_GENERAL.nCountObjectLoad >= nObjectCnt) {
//console.log("mediaType:" + mediaType);
//console.log("tempUrl:" + tempUrl);
if (CONTENTVIEW_GENERAL.nCountObjectLoad[opt] >= nObjectCnt) {
/* draw marking */
CONTENTVIEW.drawMarkingOnScreen(opt);
......@@ -902,6 +904,7 @@ CONTENTVIEW_CREATEOBJECT.showHtml = function(url, objectId ){
}
//END TRB00076 - EDITOR : Long - Date : 09/24/2013 - Summary : Fix for scrolling on ipad
/*
$('#dialog h1 img').click(function(){
var dateEnd = new Date();
......@@ -913,6 +916,22 @@ CONTENTVIEW_CREATEOBJECT.showHtml = function(url, objectId ){
CONTENTVIEW_GENERAL.hideDialog();
});
*/
$("#dialog h1 img").on({
'click touchend': function(ev){
var dateEnd = new Date();
var actionTime = dateEnd.subtractBySeconds(dateStart);
//alert("actionTime:" + actionTime);
COMMON.SetObjectLogActionTime( CONTENTVIEW_GENERAL.contentID, objectId, actionTime );
$container.removeAttr('style');
CONTENTVIEW_GENERAL.hideDialog();
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
var dateStart = new Date();
......@@ -1135,8 +1154,6 @@ CONTENTVIEW_CREATEOBJECT.openPopUp = function (mediaType, actionType, id, imageU
};
CONTENTVIEW_CREATEOBJECT.openPopUp.prototype = new CONTENTVIEW_CREATEOBJECT.PageObject();
CONTENTVIEW_CREATEOBJECT.moveContentParam = {};
/* mediaType = 1 and actionType = 10 move to Content object*/
CONTENTVIEW_CREATEOBJECT.moveToContent = function (mediaType, actionType, id, imageUrl, x, y, w, h, visible, contentId, pageNo, objectId) {
this.setup(mediaType, actionType, id, imageUrl, x, y, w, h, visible, null, null, objectId);
......@@ -1227,7 +1244,7 @@ CONTENTVIEW_CREATEOBJECT.moveToContent = function (mediaType, actionType, id, im
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isMobile() && ClientData.isGetitsMode() ) {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentViewGetits);
} else {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
CONTENTVIEW.screenMove();
}
}
}
......@@ -1250,7 +1267,7 @@ CONTENTVIEW_CREATEOBJECT.moveToContent = function (mediaType, actionType, id, im
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isMobile() && ClientData.isGetitsMode()) {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentViewGetits);
} else {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
CONTENTVIEW.screenMove();
}
}
}
......@@ -1326,7 +1343,7 @@ CONTENTVIEW_CREATEOBJECT.createAlertTypeDialog = function(msg){
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isMobile() && ClientData.isGetitsMode()) {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentViewGetits);
} else {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
CONTENTVIEW.screenMove();
}
}
......@@ -1401,7 +1418,7 @@ CONTENTVIEW_CREATEOBJECT.createPwdRequiredTypeDialog = function(){
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isMobile() && ClientData.isGetitsMode()) {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentViewGetits);
} else {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
CONTENTVIEW.screenMove();
}
}
}
......@@ -1468,26 +1485,23 @@ CONTENTVIEW_CREATEOBJECT.videoType2 = function (mediaType, actionType, id, image
if (media != '') {
$('#playvideo').children().remove();
//タグは書き出し
CONTENTVIEW_CREATEOBJECT.createVideoFulScreen(mediaFile, id);
$("#btnCloseVideo").click(function (e) {
$("#btnCloseVideo").on({
'click touchend': function(ev){
//時間記録
CONTENTVIEW_GENERAL.hideDialog();
/*play audio if exist */
CONTENTVIEW.playAllAudio();
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#main").unbind('click');
//document.getElementById('main').removeEventListener('touchstart',function(){},false);
//document.getElementById('main').removeEventListener('touchmove',function(){},false);
//document.getElementById('main').removeEventListener('touchend',function(){},false);
//$("#main").unbind('touchstart');
//$("#main").unbind('touchmove');
//$("#main").unbind('touchend');
//必要か ここから
CONTENTVIEW_GENERAL.canvas_draw.removeEventListener('touchstart', function(){},false);
CONTENTVIEW_GENERAL.canvas_draw.removeEventListener('touchmove', function(){},false);
CONTENTVIEW_GENERAL.canvas_draw.removeEventListener('touchend', function(){},false);
......@@ -1500,7 +1514,6 @@ CONTENTVIEW_CREATEOBJECT.videoType2 = function (mediaType, actionType, id, image
$("#canvasWrapper").unbind('touchmove');
$("#canvasWrapper").unbind('touchend');
document.getElementById('main').addEventListener('click', function(){return false;}, false);
document.getElementById('main').addEventListener('touchstart', function(){return false;}, false);
document.getElementById('main').addEventListener('touchmove', function(){return false;}, false);
......@@ -1509,6 +1522,7 @@ CONTENTVIEW_CREATEOBJECT.videoType2 = function (mediaType, actionType, id, image
document.getElementById('canvasWrapper').addEventListener('touchstart', function(){return false;}, false);
document.getElementById('canvasWrapper').addEventListener('touchmove', function(){return false;}, false);
document.getElementById('canvasWrapper').addEventListener('touchend', function(){return false;}, false);
//必要か ここまで
CONTENTVIEW_GENERAL.showDialog(true);
......@@ -1568,20 +1582,24 @@ CONTENTVIEW_CREATEOBJECT.videoType1 = function (mediaType, actionType, id, image
CONTENTVIEW_CREATEOBJECT.createVideoFulScreen(mediaFile, id);
$("#btnCloseVideo").click(function (e) {
$("#btnCloseVideo").on({
'click touchend': function(ev){
//時間記録
var dateEnd = new Date();
var actionTime = dateEnd.subtractBySeconds(dateStart);
//alert("actionTime:" + actionTime);
COMMON.SetObjectLogActionTime( CONTENTVIEW_GENERAL.contentID, objectId, actionTime );
CONTENTVIEW_GENERAL.hideDialog();
/* play audio */
CONTENTVIEW.playAllAudio();
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
CONTENTVIEW_GENERAL.showDialog(true);
}
//時間記録
......@@ -1801,7 +1819,6 @@ CONTENTVIEW_CREATEOBJECT.Content.prototype.setUpPage = function (pageIndex, opt)
/* check next page exists */
CONTENTVIEW_CREATEOBJECT.Content.prototype.hasNextPage = function () {
if ((this.pageIndex + 1) > (this.pageCount - 1)) {
return false;
}
......@@ -2441,11 +2458,12 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
CONTENTVIEW.srcAudioType0 = audio;
if (ClientData.userOpt_musicMode() == "1") {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
$('#playaudio').html(
' <embed id="play_audio_0" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" loop="true" hidden="true"> </embed>'
);
} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
//if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
// $('#playaudio').html(
// ' <embed id="play_audio_0" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" loop="true" hidden="true"> </embed>'
// );
//} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
$('#playaudio').html(
' <audio id="play_audio_0" loop="loop" >' +
' <source src="' + audio + '&key=' + (new Date()).toIdString() + '" type="audio/mpeg" />' +
......@@ -2460,11 +2478,12 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
}
} else {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
$('#playaudio').html(
' <embed id="play_audio_0" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" hidden="true"> </embed>'
);
} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
//if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
// $('#playaudio').html(
// ' <embed id="play_audio_0" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" hidden="true"> </embed>'
// );
//} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
$('#playaudio').html(
' <audio id="play_audio_0">' +
' <source src="' + audio + '&key=' + (new Date()).toIdString() + '" type="audio/mpeg" />' +
......@@ -2540,13 +2559,14 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
CONTENTVIEW.srcAudioType1 = audio;
if (ClientData.userOpt_musicMode() == "1") {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
$('#playaudioallpage').html(
' <embed id="play_audio_1" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" loop="true" hidden="true"> </embed>'
);
}
else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
//if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
// $('#playaudioallpage').html(
// ' <embed id="play_audio_1" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" loop="true" hidden="true"> </embed>'
// );
//
//}
//else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
$('#playaudioallpage').html(
' <audio id="play_audio_1" loop="loop" >' +
' <source src="' + audio + '&key=' + (new Date()).toIdString() + '" type="audio/mpeg" />' +
......@@ -2574,11 +2594,12 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
}
}
else {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
$('#playaudioallpage').html(
' <embed id="play_audio_1" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" hidden="true"> </embed>'
);
} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
//if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
// $('#playaudioallpage').html(
// ' <embed id="play_audio_1" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" hidden="true"> </embed>'
// );
//} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
$('#playaudioallpage').html(
' <audio id="play_audio_1" >' +
' <source src="' + audio + '&key=' + (new Date()).toIdString() + '" type="audio/mpeg" />' +
......@@ -2644,11 +2665,12 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
CONTENTVIEW.srcAudioType2 = audio;
if (ClientData.userOpt_musicMode() == "1") {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
$('#playaudiopage').html(
' <embed id="play_audio_2" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" loop="true" hidden="true"> </embed>'
);
} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
//if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
// $('#playaudiopage').html(
// ' <embed id="play_audio_2" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" loop="true" hidden="true"> </embed>'
// );
//} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
$('#playaudiopage').html(
' <audio id="play_audio_2" loop="loop" >' +
' <source src="' + audio + '&key=' + (new Date()).toIdString() + '" type="audio/mpeg" />' +
......@@ -2662,11 +2684,12 @@ CONTENTVIEW_CREATEOBJECT.createAudio = function(audio, type) {
);
}
} else {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
$('#playaudiopage').html(
' <embed id="play_audio_2" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" hidden="true"> </embed>'
);
} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
//if (CONTENTVIEW_GENERAL.avwUserEnvObj.browser == 'firefox') {
// $('#playaudiopage').html(
// ' <embed id="play_audio_2" src="' + audio + '&key=' + (new Date()).toIdString() + '" autostart="true" hidden="true"> </embed>'
// );
//} else if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos()) {
$('#playaudiopage').html(
' <audio id="play_audio_2" >' +
' <source src="' + audio + '&key=' + (new Date()).toIdString() + '" type="audio/mpeg" />' +
......@@ -2732,3 +2755,15 @@ CONTENTVIEW_CREATEOBJECT.createPageBGM = function(){
}
};
//END : TRB00028 - Editor: Long - Date: 09/10/2013 - Summary : Fix For Page BGM
$(function () {
//CONTENTVIEW_CREATEOBJECT.ready();
});
CONTENTVIEW_CREATEOBJECT.ready = function(){
//初期化用
CONTENTVIEW_CREATEOBJECT.memoObjects = [];
CONTENTVIEW_CREATEOBJECT.webGetContentType4Objects = [];
CONTENTVIEW_CREATEOBJECT.moveContentParam = {};
};
......@@ -2,29 +2,6 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_EVENTS = {};
CONTENTVIEW_EVENTS.altMode = false;
//limit area to detech if it is click(on win8)
CONTENTVIEW_EVENTS.clickLimitArea = 20;
//touch position
CONTENTVIEW_EVENTS.touchDownFirstPosX = 0;
CONTENTVIEW_EVENTS.touchDownFirstPosY = 0;
//position for click event on touch device
CONTENTVIEW_EVENTS._touchPageX = 0;
CONTENTVIEW_EVENTS._touchPageY = 0;
//Detect touch
CONTENTVIEW_EVENTS._isTouching = false;
//Detect click on touch device
CONTENTVIEW_EVENTS._isClick = false;
//Detech if page is being transition
CONTENTVIEW_EVENTS.isPageTransition = false;
//Is 3d animating
CONTENTVIEW_EVENTS._3dAnimate = false;
//Start : TRB00005, TRB00006 - Editor : Long - Date: 08/28/2013
//is prevent click event
CONTENTVIEW_EVENTS.isPreventClick = false;
//End : TRB00005, TRB00006 - Editor : Long - Date: 08/28/2013
/* add memo click */
CONTENTVIEW_EVENTS.handleAddMemo = function(event) {
......@@ -387,9 +364,8 @@ CONTENTVIEW_EVENTS.firstPage_click = function() {
if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_PDF){
//console.log("CONTENTVIEW_EVENTS.firstPage_click");
AVWEB.avwGrabContentPageImage(ClientData.userInfo_accountPath(),
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: CONTENTVIEW.getSessionId(), pageNo: 1 },
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: ClientData.userInfo_sid(), pageNo: 1 },
function (data) {
CONTENTVIEW_GENERAL.pageImages = data;
......@@ -399,11 +375,6 @@ CONTENTVIEW_EVENTS.firstPage_click = function() {
$('#divImageLoading').css('display', 'none');
//START TRB00097
//CONTENTVIEW.userScale = 1;
//CONTENTVIEW.changeScale(CONTENTVIEW.userScale);
//END TRB00097
CONTENTVIEW.checkDisableButtonZoom();
var tran = new CONTENTVIEW_CREATEOBJECT.Transition();
tran.flipToPage(0);
......@@ -411,7 +382,9 @@ CONTENTVIEW_EVENTS.firstPage_click = function() {
},
function (xmlHttpRequest, txtStatus, errorThrown) {
CONTENTVIEW.showErrorScreen();
});
}
);
}
//START : TRB00032 - Editor : Long - Date: 09/10/2013 - Summary : type none process
else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_NoFile){
......@@ -460,16 +433,14 @@ CONTENTVIEW_EVENTS.lastPage_click = function() {
if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_PDF){
//console.log("CONTENTVIEW_EVENTS.lastPage_click");
AVWEB.avwGrabContentPageImage(ClientData.userInfo_accountPath(),
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: CONTENTVIEW.getSessionId(), pageNo: CONTENTVIEW_GENERAL.totalPage },
AVWEB.avwGrabContentPageImage(
ClientData.userInfo_accountPath(),
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: ClientData.userInfo_sid(), pageNo: CONTENTVIEW_GENERAL.totalPage },
function (data) {
CONTENTVIEW_GENERAL.pageImages = data;
/* get page Objects */
CONTENTVIEW_GETDATA.getPageObjectsByPageIndex(CONTENTVIEW_GENERAL.pageObjectsData, CONTENTVIEW_GENERAL.totalPage - 1);
CONTENTVIEW_GETDATA.getContent().setPageImages(CONTENTVIEW_GENERAL.totalPage, CONTENTVIEW_GENERAL.pageImages).setPageObjects(CONTENTVIEW_GENERAL.pageObjects);
$('#divImageLoading').css('display', 'none');
CONTENTVIEW.checkDisableButtonZoom();
......@@ -479,7 +450,9 @@ CONTENTVIEW_EVENTS.lastPage_click = function() {
},
function (xmlHttpRequest, txtStatus, errorThrown) {
CONTENTVIEW.showErrorScreen();
});
}
);
}
//START : TRB00032 - Editor : Long - Date: 09/10/2013 - Summary : type none process
else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_NoFile){
......@@ -1312,28 +1285,40 @@ CONTENTVIEW_EVENTS.imgBack_click = function() {
COMMON.SetEndLog(CONTENTVIEW_GENERAL.contentID);
COMMON.RegisterLog();
window.onbeforeunload = null;
//window.onbeforeunload = null;
//画面クリア
CONTENTVIEW_INITOBJECT.clearViewerComponent();
if (ClientData.JumpQueue()) {
var oldDataBack = ClientData.JumpQueue();
if (oldDataBack.length > 0) {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
CONTENTVIEW.screenMove();
ClientData.IsJumpBack(true);
} else {
/*check back */
if (ClientData.BookmarkScreen()) {
AVWEB.avwScreenMove(ClientData.BookmarkScreen());
} else {
window.history.back();
}
//if (ClientData.BookmarkScreen()) {
// AVWEB.avwScreenMove(ClientData.BookmarkScreen());
//} else {
// window.history.back();
//}
//元の画面に戻って画面復帰
CONTENTVIEW.screenBack();
}
} else {
/*check back */
if (ClientData.BookmarkScreen()) {
AVWEB.avwScreenMove(ClientData.BookmarkScreen());
} else {
window.history.back();
}
//if (ClientData.BookmarkScreen()) {
// AVWEB.avwScreenMove(ClientData.BookmarkScreen());
//} else {
// window.history.back();
//}
//元の画面に戻って画面復帰
CONTENTVIEW.screenBack();
}
};
......@@ -1843,11 +1828,15 @@ CONTENTVIEW_EVENTS.onTouchmove = function(evt){
}
}
else{
CONTENTVIEW_EVENTS._isClick = false;
//CONTENTVIEW_EVENTS._isClick = false;
// for android or ipad
touch1 = evt.touches[0];
touch2 = evt.touches[1];
if( touch2 != null ){
CONTENTVIEW_EVENTS._isClick = false;
}
if(CONTENTVIEW_EVENTS._3dAnimate){
var imagePt = CONTENTVIEW.screenToImage(touch1.pageX, touch1.pageY);
......@@ -2418,4 +2407,32 @@ TransitionObject.prototype.processNaviPage = function (currPos) {
CONTENTVIEW_EVENTS._transitionObject = new TransitionObject();
//End Funcion : No.20 - Editor : Long - Date : 08/13/2013 - Summary : Win 8 touch handle
\ No newline at end of file
$(function () {
//CONTENTVIEW_EVENTS.ready();
});
CONTENTVIEW_EVENTS.ready = function(){
CONTENTVIEW_EVENTS.altMode = false;
//limit area to detech if it is click(on win8)
CONTENTVIEW_EVENTS.clickLimitArea = 20;
//touch position
CONTENTVIEW_EVENTS.touchDownFirstPosX = 0;
CONTENTVIEW_EVENTS.touchDownFirstPosY = 0;
//position for click event on touch device
CONTENTVIEW_EVENTS._touchPageX = 0;
CONTENTVIEW_EVENTS._touchPageY = 0;
//Detect touch
CONTENTVIEW_EVENTS._isTouching = false;
//Detect click on touch device
CONTENTVIEW_EVENTS._isClick = false;
//Detech if page is being transition
CONTENTVIEW_EVENTS.isPageTransition = false;
//Is 3d animating
CONTENTVIEW_EVENTS._3dAnimate = false;
//is prevent click event
CONTENTVIEW_EVENTS.isPreventClick = false;
};
......@@ -2,142 +2,6 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_GENERAL = {};
/* init const */
//CONTENTVIEW_GENERAL.WIDTH_DIALOG_BOOKMARK = 300;
//CONTENTVIEW_GENERAL.HEIGHT_DIALOG_BOOKMARK = 700;
//CONTENTVIEW_GENERAL.HEIGHT_DIALOG_BOOKMARK_NO_BOOKMARK = 200;
//CONTENTVIEW_GENERAL.WIDTH_DIALOG_INDEX = 300;
//CONTENTVIEW_GENERAL.HEIGHT_DIALOG_INDEX = 700;
//CONTENTVIEW_GENERAL.HEIGHT_DIALOG_INDEX_NO_INDEX = 200;
//CONTENTVIEW_GENERAL.WIDTH_DIALOG_SEARCH = 300;
//CONTENTVIEW_GENERAL.HEIGHT_DIALOG_SEARCH = 700;
//CONTENTVIEW_GENERAL.HEIGHT_DIALOG_SEARCH_NO_SEARCH = 200;
//CONTENTVIEW_GENERAL.WIDTH_DIALOG_COPYTEXT = 300;
//CONTENTVIEW_GENERAL.HEIGHT_DIALOG_COPYTEXT = 500;
//CONTENTVIEW_GENERAL.HEIGHT_DIALOG_COPYTEXT_NO_COPYTEXT = 200;
/* init variable */
CONTENTVIEW_GENERAL.pageImages = '';
CONTENTVIEW_GENERAL.totalPage = 0;
CONTENTVIEW_GENERAL.pageObjects = [];
CONTENTVIEW_GENERAL.pageObjectsData = [];
CONTENTVIEW_GENERAL.tool;
CONTENTVIEW_GENERAL.isFullScreen = false;
CONTENTVIEW_GENERAL.ctrlMode = false;
CONTENTVIEW_GENERAL.dataWebContentPage;
CONTENTVIEW_GENERAL.dataPageTitle;
CONTENTVIEW_GENERAL.dataJsonType4;
CONTENTVIEW_GENERAL.dataJsonType5;
CONTENTVIEW_GENERAL.contentID;
CONTENTVIEW_GENERAL.isOpenPopUpText = false;
CONTENTVIEW_GENERAL.isOpenPopUpMemo = true;
CONTENTVIEW_GENERAL.objEditMemo;
CONTENTVIEW_GENERAL.isCopyMemo = false;
//CONTENTVIEW_GENERAL.isExistCopyMemo = false;
CONTENTVIEW_GENERAL.posXPopupMemo = 0;
CONTENTVIEW_GENERAL.posYPopupMemo = 0;
CONTENTVIEW_GENERAL.contentName = '';
CONTENTVIEW_GENERAL.nCountObjectLoad = 0;
CONTENTVIEW_GENERAL.nAjaxLoad = 0;
CONTENTVIEW_GENERAL.isClearDrawing = false;
CONTENTVIEW_GENERAL.isDrawing = false;
CONTENTVIEW_GENERAL.mediaType4_changeImage = 0;
CONTENTVIEW_GENERAL.isLoadingObject = false;
CONTENTVIEW_GENERAL.isFirstLoad = true;
CONTENTVIEW_GENERAL.nPositionCanvas = [];
CONTENTVIEW_GENERAL.arrImage = [];
//CONTENTVIEW_GENERAL.posTxtSearch = [];
CONTENTVIEW_GENERAL.sx;
CONTENTVIEW_GENERAL.sy;
CONTENTVIEW_GENERAL.imgDrawingTemp;
CONTENTVIEW_GENERAL.imgMarkerTemp;
//CONTENTVIEW_GENERAL.isSizingDrawCanvas = false;
CONTENTVIEW_GENERAL.isDisplayBookMarkList = false;
CONTENTVIEW_GENERAL.avwUserEnvObj = new UserEnvironment();
CONTENTVIEW_GENERAL.canvas_marker;
CONTENTVIEW_GENERAL.context_marker;
CONTENTVIEW_GENERAL.canvas_draw;
CONTENTVIEW_GENERAL.context_draw;
CONTENTVIEW_GENERAL.canvas_main;
CONTENTVIEW_GENERAL.context_main;
CONTENTVIEW_GENERAL.canvas_offscreen;
CONTENTVIEW_GENERAL.context_offscreen;
CONTENTVIEW_GENERAL.isAddingMarking;
CONTENTVIEW_GENERAL.penSize;
CONTENTVIEW_GENERAL.penColor;
CONTENTVIEW_GENERAL.makerSize;
CONTENTVIEW_GENERAL.makerColor;
CONTENTVIEW_GENERAL.eraseSize;
CONTENTVIEW_GENERAL.markingType;
CONTENTVIEW_GENERAL.isDisplayCopyText = false;
CONTENTVIEW_GENERAL.isDisplayListIndex = false;
CONTENTVIEW_GENERAL.isChangeSizeScreen = false; //実質未使用
CONTENTVIEW_GENERAL.widthContentImage = 0;
CONTENTVIEW_GENERAL.heightContentImage = 0;
CONTENTVIEW_GENERAL.widthEachPage = 0;
CONTENTVIEW_GENERAL.heightEachPage = 0;
CONTENTVIEW_GENERAL.px = 0;
CONTENTVIEW_GENERAL.py = 0;
CONTENTVIEW_GENERAL.isPressLeftMouse = false;
CONTENTVIEW_GENERAL.isMoveOutDrawCanvas = false;
CONTENTVIEW_GENERAL.typeSelectMemo = 0;
CONTENTVIEW_GENERAL.arrThumbnailsLoaded = [];
CONTENTVIEW_GENERAL.isSendingData = true;
CONTENTVIEW_GENERAL.isPlayBGMUnlock = false; //未使用
CONTENTVIEW_GENERAL.isJumpNotFromFirstPage = false;
CONTENTVIEW_GENERAL.standardRatio = 1; //未使用
CONTENTVIEW_GENERAL.currentRatio = 1; //未使用
CONTENTVIEW_GENERAL.resourceImage = new Image();
//START TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
//Array of pages size
CONTENTVIEW_GENERAL.contentPageSizeArr = [];
CONTENTVIEW_GENERAL.widthEachNextPage = 0;
CONTENTVIEW_GENERAL.heightEachNextPage = 0;
CONTENTVIEW_GENERAL.widthEachPrevPage = 0;
CONTENTVIEW_GENERAL.heightEachPrevPage = 0;
//END TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
//#11478
CONTENTVIEW_GENERAL.widthEachPageApi = 0;
CONTENTVIEW_GENERAL.heightEachPageApi = 0;
CONTENTVIEW_GENERAL.widthEachNextPageApi = 0;
CONTENTVIEW_GENERAL.heightEachNextPageApi = 0;
CONTENTVIEW_GENERAL.widthEachPrevPageApi = 0;
CONTENTVIEW_GENERAL.heightEachPrevPageApi = 0;
//#11478
/* zoom video */
CONTENTVIEW_GENERAL.pxVideo;
CONTENTVIEW_GENERAL.pyVideo;
CONTENTVIEW_GENERAL.wVideo;
CONTENTVIEW_GENERAL.hVideo;
CONTENTVIEW_GENERAL.videoScale; //未使用
//Start Function: No.12
//Content's types
CONTENTVIEW_GENERAL.contentType;
CONTENTVIEW_GENERAL.imageTypeData;
CONTENTVIEW_GENERAL.nextPageImage = '';
CONTENTVIEW_GENERAL.nextPageObjects = [];
CONTENTVIEW_GENERAL.nextContent = new CONTENTVIEW_CREATEOBJECT.Content();
CONTENTVIEW_GENERAL.prevPageObjects = [];
CONTENTVIEW_GENERAL.prevPageImage = '';
CONTENTVIEW_GENERAL.prevContent = new CONTENTVIEW_CREATEOBJECT.Content();
CONTENTVIEW_GENERAL.animateTypeKeys = {
Type_Slide : 0,
Type_FadeIn : 1
};
CONTENTVIEW_GENERAL.animateType;
CONTENTVIEW_GENERAL.animatePeriod;
CONTENTVIEW_GENERAL.getNextContent = function(){
return CONTENTVIEW_GENERAL.nextContent;
};
......@@ -146,42 +10,6 @@ CONTENTVIEW_GENERAL.getPrevContent = function(){
return CONTENTVIEW_GENERAL.prevContent;
};
//End Function: No.12
//Start Function : No.20
//CONTENTVIEW_GENERAL._moveFlag = false;
CONTENTVIEW_GENERAL._moveNum = false;
CONTENTVIEW_GENERAL._isPageNaviTouch = false;
CONTENTVIEW_GENERAL._isPageZoomTouch = false;
CONTENTVIEW_GENERAL._clickFirstPos = null;
CONTENTVIEW_GENERAL._clickLastPos = null;
CONTENTVIEW_GENERAL._touchFirstPos = null;
CONTENTVIEW_GENERAL._touchLastPos = null;
CONTENTVIEW_GENERAL.touchStartedTime = null;
CONTENTVIEW_GENERAL._touchMoveTimePeriod = 0; // 0 s
CONTENTVIEW_GENERAL._touchMoveTimePeriodInvalid = 5000; // 5 s
//CONTENTVIEW_GENERAL._bHasNext = false;
//CONTENTVIEW_GENERAL._bHasPrev = false;
CONTENTVIEW_GENERAL._startPoints = [];
CONTENTVIEW_GENERAL._bufferPoints = [];
//CONTENTVIEW_GENERAL._bImageMainReload = true; // to not run onload again on the next time on set src value
//CONTENTVIEW_GENERAL._bImageMainPreReload = true; // to not run onload again on the next time on set src value
//CONTENTVIEW_GENERAL._bImageMainNextReload = true; // to not run onload again on the next time on set src value
CONTENTVIEW_GENERAL._lastDist = 0;
CONTENTVIEW_GENERAL._lastScaleDelta = 0;
CONTENTVIEW_GENERAL._bWin8TouchEnabled = false;
CONTENTVIEW_GENERAL._bTransitionEnable = true;
CONTENTVIEW_GENERAL._bTouchDeviceEnabled = false;
//End Function : No.20
//Start Function : No.9
CONTENTVIEW_GENERAL._object3DImageArr = [];
//End Function : No.9
/*disable all control on page */
CONTENTVIEW_GENERAL.disableAllControl = function() {
......@@ -524,11 +352,6 @@ CONTENTVIEW_GENERAL.clearCanvas = function(targetCanvas) {
targetCanvas.width = targetCanvas.width;
};
//CONTENTVIEW_GENERAL.encode = function(data) {
// var str = String.fromCharCode.apply(null, data);
// return btoa(str).replace(/.{76}(?=.)/g, '$&\n');
//};
CONTENTVIEW_GENERAL.showDialog = function(modal) {
if(ClientData.isStreamingMode() || CONTENTVIEW_GENERAL.avwUserEnvObj.isMobile()){
......@@ -555,3 +378,161 @@ CONTENTVIEW_GENERAL.hideDialog = function() {
$("#dialog").fadeOut(200);
$('#dialog').children().remove();
};
$(function () {
//CONTENTVIEW_GENERAL.ready();
});
CONTENTVIEW_GENERAL.ready = function(){
/* init variable */
CONTENTVIEW_GENERAL.pageImages = '';
CONTENTVIEW_GENERAL.totalPage = 0;
CONTENTVIEW_GENERAL.pageObjects = [];
CONTENTVIEW_GENERAL.pageObjectsData = [];
CONTENTVIEW_GENERAL.tool = undefined;
CONTENTVIEW_GENERAL.isFullScreen = false;
CONTENTVIEW_GENERAL.ctrlMode = false;
CONTENTVIEW_GENERAL.dataWebContentPage;
CONTENTVIEW_GENERAL.dataPageTitle = undefined;
CONTENTVIEW_GENERAL.dataJsonType4 = undefined;
CONTENTVIEW_GENERAL.dataJsonType5 = undefined;
CONTENTVIEW_GENERAL.contentID = undefined;
CONTENTVIEW_GENERAL.isOpenPopUpText = false;
CONTENTVIEW_GENERAL.isOpenPopUpMemo = true;
CONTENTVIEW_GENERAL.objEditMemo = undefined;
CONTENTVIEW_GENERAL.isCopyMemo = false;
//CONTENTVIEW_GENERAL.isExistCopyMemo = false;
CONTENTVIEW_GENERAL.posXPopupMemo = 0;
CONTENTVIEW_GENERAL.posYPopupMemo = 0;
CONTENTVIEW_GENERAL.contentName = '';
CONTENTVIEW_GENERAL.nCountObjectLoad = new Array(3);
CONTENTVIEW_GENERAL.nAjaxLoad = 0;
CONTENTVIEW_GENERAL.isClearDrawing = false;
CONTENTVIEW_GENERAL.isDrawing = false;
CONTENTVIEW_GENERAL.mediaType4_changeImage = 0;
CONTENTVIEW_GENERAL.isLoadingObject = false;
CONTENTVIEW_GENERAL.isFirstLoad = true;
CONTENTVIEW_GENERAL.nPositionCanvas = [];
CONTENTVIEW_GENERAL.arrImage = [];
//CONTENTVIEW_GENERAL.posTxtSearch = [];
CONTENTVIEW_GENERAL.sx = undefined;
CONTENTVIEW_GENERAL.sy = undefined;
CONTENTVIEW_GENERAL.imgDrawingTemp = undefined;
CONTENTVIEW_GENERAL.imgMarkerTemp = undefined;
//CONTENTVIEW_GENERAL.isSizingDrawCanvas = false;
CONTENTVIEW_GENERAL.isDisplayBookMarkList = false;
CONTENTVIEW_GENERAL.avwUserEnvObj = new UserEnvironment();
CONTENTVIEW_GENERAL.canvas_marker = undefined;
CONTENTVIEW_GENERAL.context_marker = undefined;
CONTENTVIEW_GENERAL.canvas_draw = undefined;
CONTENTVIEW_GENERAL.context_draw = undefined;
CONTENTVIEW_GENERAL.canvas_main = undefined;
CONTENTVIEW_GENERAL.context_main = undefined;
CONTENTVIEW_GENERAL.canvas_offscreen = undefined;
CONTENTVIEW_GENERAL.context_offscreen = undefined;
CONTENTVIEW_GENERAL.isAddingMarking = undefined;
CONTENTVIEW_GENERAL.penSize = undefined;
CONTENTVIEW_GENERAL.penColor = undefined;
CONTENTVIEW_GENERAL.makerSize = undefined;
CONTENTVIEW_GENERAL.makerColor = undefined;
CONTENTVIEW_GENERAL.eraseSize = undefined;
CONTENTVIEW_GENERAL.markingType = undefined;
CONTENTVIEW_GENERAL.isDisplayCopyText = false;
CONTENTVIEW_GENERAL.isDisplayListIndex = false;
CONTENTVIEW_GENERAL.isChangeSizeScreen = false; //実質未使用
CONTENTVIEW_GENERAL.widthContentImage = 0;
CONTENTVIEW_GENERAL.heightContentImage = 0;
CONTENTVIEW_GENERAL.widthEachPage = 0;
CONTENTVIEW_GENERAL.heightEachPage = 0;
CONTENTVIEW_GENERAL.px = 0;
CONTENTVIEW_GENERAL.py = 0;
CONTENTVIEW_GENERAL.isPressLeftMouse = false;
CONTENTVIEW_GENERAL.isMoveOutDrawCanvas = false;
CONTENTVIEW_GENERAL.typeSelectMemo = 0;
CONTENTVIEW_GENERAL.arrThumbnailsLoaded = [];
CONTENTVIEW_GENERAL.isSendingData = true;
CONTENTVIEW_GENERAL.isPlayBGMUnlock = false; //未使用
CONTENTVIEW_GENERAL.isJumpNotFromFirstPage = false;
CONTENTVIEW_GENERAL.standardRatio = 1; //未使用
CONTENTVIEW_GENERAL.currentRatio = 1; //未使用
CONTENTVIEW_GENERAL.resourceImage = new Image();
//START TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
//Array of pages size
CONTENTVIEW_GENERAL.contentPageSizeArr = [];
CONTENTVIEW_GENERAL.widthEachNextPage = 0;
CONTENTVIEW_GENERAL.heightEachNextPage = 0;
CONTENTVIEW_GENERAL.widthEachPrevPage = 0;
CONTENTVIEW_GENERAL.heightEachPrevPage = 0;
//END TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
//#11478
CONTENTVIEW_GENERAL.widthEachPageApi = 0;
CONTENTVIEW_GENERAL.heightEachPageApi = 0;
CONTENTVIEW_GENERAL.widthEachNextPageApi = 0;
CONTENTVIEW_GENERAL.heightEachNextPageApi = 0;
CONTENTVIEW_GENERAL.widthEachPrevPageApi = 0;
CONTENTVIEW_GENERAL.heightEachPrevPageApi = 0;
//#11478
/* zoom video */
CONTENTVIEW_GENERAL.pxVideo = undefined;
CONTENTVIEW_GENERAL.pyVideo = undefined;
CONTENTVIEW_GENERAL.wVideo = undefined;
CONTENTVIEW_GENERAL.hVideo = undefined;
CONTENTVIEW_GENERAL.videoScale = undefined; //未使用
//Start Function: No.12
//Content's types
CONTENTVIEW_GENERAL.contentType = undefined;
CONTENTVIEW_GENERAL.imageTypeData = undefined;
CONTENTVIEW_GENERAL.nextPageImage = '';
CONTENTVIEW_GENERAL.nextPageObjects = [];
CONTENTVIEW_GENERAL.nextContent = new CONTENTVIEW_CREATEOBJECT.Content();
CONTENTVIEW_GENERAL.prevPageObjects = [];
CONTENTVIEW_GENERAL.prevPageImage = '';
CONTENTVIEW_GENERAL.prevContent = new CONTENTVIEW_CREATEOBJECT.Content();
CONTENTVIEW_GENERAL.animateTypeKeys = {
Type_Slide : 0,
Type_FadeIn : 1
};
CONTENTVIEW_GENERAL.animateType = undefined;
CONTENTVIEW_GENERAL.animatePeriod = undefined;
//Start Function : No.20
//CONTENTVIEW_GENERAL._moveFlag = false;
CONTENTVIEW_GENERAL._moveNum = false;
CONTENTVIEW_GENERAL._isPageNaviTouch = false;
CONTENTVIEW_GENERAL._isPageZoomTouch = false;
CONTENTVIEW_GENERAL._clickFirstPos = null;
CONTENTVIEW_GENERAL._clickLastPos = null;
CONTENTVIEW_GENERAL._touchFirstPos = null;
CONTENTVIEW_GENERAL._touchLastPos = null;
CONTENTVIEW_GENERAL.touchStartedTime = null;
CONTENTVIEW_GENERAL._touchMoveTimePeriod = 0; // 0 s
CONTENTVIEW_GENERAL._touchMoveTimePeriodInvalid = 5000; // 5 s
//CONTENTVIEW_GENERAL._bHasNext = false;
//CONTENTVIEW_GENERAL._bHasPrev = false;
CONTENTVIEW_GENERAL._startPoints = [];
CONTENTVIEW_GENERAL._bufferPoints = [];
//CONTENTVIEW_GENERAL._bImageMainReload = true; // to not run onload again on the next time on set src value
//CONTENTVIEW_GENERAL._bImageMainPreReload = true; // to not run onload again on the next time on set src value
//CONTENTVIEW_GENERAL._bImageMainNextReload = true; // to not run onload again on the next time on set src value
CONTENTVIEW_GENERAL._lastDist = 0;
CONTENTVIEW_GENERAL._lastScaleDelta = 0;
CONTENTVIEW_GENERAL._bWin8TouchEnabled = false;
CONTENTVIEW_GENERAL._bTransitionEnable = true;
CONTENTVIEW_GENERAL._bTouchDeviceEnabled = false;
//Start Function : No.9
CONTENTVIEW_GENERAL._object3DImageArr = [];
};
......@@ -893,7 +893,18 @@ CONTENTVIEW_GETDATA.getBookmarklist = function(pos) {
//title start
$('#bookmarkBoxHdBM').children().remove();
$('#bookmarkBoxHdBM').html('<a id="bookmarkClosing" class="delete" > </a>');
$("#bookmarkClosing").click(CONTENTVIEW_EVENTS.closeBookmarkBox);
//$("#bookmarkClosing").click(CONTENTVIEW_EVENTS.closeBookmarkBox);
$("#bookmarkClosing").on({
'click touchend': function(ev){
CONTENTVIEW_EVENTS.closeBookmarkBox(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#bookmarkBoxHdBM').append(I18N.i18nText('txtShioriCtnLs'));
//title end
//COMMON.lockLayout();
......@@ -927,7 +938,19 @@ CONTENTVIEW_GETDATA.getPageIndexJson = function(pos) {
//title start
$('#indexBoxHdIndex').children().remove();
$('#indexBoxHdIndex').html('<a id="indexClosing" class="delete" > </a>');
$("#indexClosing").click(CONTENTVIEW_EVENTS.closeIndexBox);
//$("#indexClosing").click(CONTENTVIEW_EVENTS.closeIndexBox);
$("#indexClosing").on({
'click touchend': function(ev){
CONTENTVIEW_EVENTS.closeIndexBox(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#indexBoxHdIndex').append(I18N.i18nText('txtIndex'));
//title end
//COMMON.lockLayout();
......@@ -983,7 +1006,19 @@ CONTENTVIEW_GETDATA.getPageIndexJson = function(pos) {
//title start
$('#indexBoxHdIndex').children().remove();
$('#indexBoxHdIndex').html('<a id="indexClosing" class="delete" > </a>');
$("#indexClosing").click(CONTENTVIEW_EVENTS.closeIndexBox);
//$("#indexClosing").click(CONTENTVIEW_EVENTS.closeIndexBox);
$("#indexClosing").on({
'click touchend': function(ev){
CONTENTVIEW_EVENTS.closeIndexBox(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#indexBoxHdIndex').append(I18N.i18nText('txtIndex'));
//title end
//COMMON.lockLayout();
......@@ -1215,7 +1250,7 @@ CONTENTVIEW_GETDATA.renderNextPage = function(){
//console.log("CONTENTVIEW_GETDATA.renderNextPage");
AVWEB.avwGrabContentPageImage(ClientData.userInfo_accountPath(),
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: CONTENTVIEW.getSessionId(), pageNo: pageNo },
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: ClientData.userInfo_sid(), pageNo: pageNo },
function (data) {
CONTENTVIEW_GENERAL.nextPageImage = data;
......@@ -1226,7 +1261,9 @@ CONTENTVIEW_GETDATA.renderNextPage = function(){
},
function (xmlHttpRequest, txtStatus, errorThrown) {
CONTENTVIEW.showErrorScreen();
});
}
);
}
//Start Function : No.12 - Editor : Long - Date : 08/28/2013 - Summary : Render next page content image the same with the current one
else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_NoFile){
......@@ -1250,18 +1287,18 @@ CONTENTVIEW_GETDATA.renderPrevPage = function(){
//console.log("CONTENTVIEW_GETDATA.renderPrevPage");
AVWEB.avwGrabContentPageImage(ClientData.userInfo_accountPath(),
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: CONTENTVIEW.getSessionId(), pageNo: pageNo },
{ contentId: CONTENTVIEW_GENERAL.contentID, sid: ClientData.userInfo_sid(), pageNo: pageNo },
function (data) {
CONTENTVIEW_GENERAL.prevPageImage = data;
CONTENTVIEW_GENERAL.prevContent.setPageImages(CONTENTVIEW_GENERAL.totalPage, CONTENTVIEW_GENERAL.prevPageImage)
.setPageObjects(CONTENTVIEW_GENERAL.prevPageObjects)
.previousPage();
},
function (xmlHttpRequest, txtStatus, errorThrown) {
CONTENTVIEW.showErrorScreen();
});
}
);
}
else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_NoFile){
CONTENTVIEW_GENERAL.prevPageImage = CONTENTVIEW_GENERAL.pageImages;
......@@ -1584,3 +1621,7 @@ CONTENTVIEW_GETDATA.getPageTransitionConfig = function(){
};
//End Function: No.4 - Editor : Long - Summary : Render Next Page Content
CONTENTVIEW_GETDATA.ready = function(){
};
......@@ -206,6 +206,10 @@ CONTENTVIEW_GOMU.touchStart_BtnCancel_Gomu = function(e){
// Setting dialog
$(function () {
//CONTENTVIEW_GOMU.ready();
});
CONTENTVIEW_GOMU.ready = function(){
// ---------------------------------
// Setup for easer [start]
// ---------------------------------
......@@ -218,15 +222,80 @@ $(function () {
}
}
$("#dlgGomu_dspOK").click(CONTENTVIEW_GOMU.dlgGomu_dspOK_click);
$("#dlgGomu_dspCancel").click(CONTENTVIEW_GOMU.dlgGomu_dspCancel_click);
$("#text_dlgGomu_rdo1").click(CONTENTVIEW_GOMU.dlgGomu_rdo1_text_click);
$("#text_dlgGomu_rdo2").click(CONTENTVIEW_GOMU.dlgGomu_rdo2_text_click);
$("#text_dlgGomu_rdo3").click(CONTENTVIEW_GOMU.dlgGomu_rdo3_text_click);
$("#text_dlgGomu_rdo4").click(CONTENTVIEW_GOMU.dlgGomu_rdo4_text_click);
//$("#dlgGomu_dspOK").click(CONTENTVIEW_GOMU.dlgGomu_dspOK_click);
$("#dlgGomu_dspOK").on({
'click touchend': function(ev){
CONTENTVIEW_GOMU.dlgGomu_dspOK_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgGomu_dspCancel").click(CONTENTVIEW_GOMU.dlgGomu_dspCancel_click);
$("#dlgGomu_dspCancel").on({
'click touchend': function(ev){
CONTENTVIEW_GOMU.dlgGomu_dspCancel_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#text_dlgGomu_rdo1").click(CONTENTVIEW_GOMU.dlgGomu_rdo1_text_click);
$("#text_dlgGomu_rdo1").on({
'click touchend': function(ev){
CONTENTVIEW_GOMU.dlgGomu_rdo1_text_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#text_dlgGomu_rdo2").click(CONTENTVIEW_GOMU.dlgGomu_rdo2_text_click);
$("#text_dlgGomu_rdo2").on({
'click touchend': function(ev){
CONTENTVIEW_GOMU.dlgGomu_rdo2_text_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#text_dlgGomu_rdo3").click(CONTENTVIEW_GOMU.dlgGomu_rdo3_text_click);
$("#text_dlgGomu_rdo3").on({
'click touchend': function(ev){
CONTENTVIEW_GOMU.dlgGomu_rdo3_text_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#text_dlgGomu_rdo4").click(CONTENTVIEW_GOMU.dlgGomu_rdo4_text_click);
$("#text_dlgGomu_rdo4").on({
'click touchend': function(ev){
CONTENTVIEW_GOMU.dlgGomu_rdo4_text_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
};
});
/// ===============================================================================================
/// Eraser group [ end ]
......
......@@ -2,21 +2,6 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_IMAGEPREVIEW = {};
/*====Variable====*/
CONTENTVIEW_IMAGEPREVIEW.slideshowImgFrom = 0;
CONTENTVIEW_IMAGEPREVIEW.slideshowImgTo = 4;
CONTENTVIEW_IMAGEPREVIEW.slideshowImageCollection = [];
CONTENTVIEW_IMAGEPREVIEW.slideshowClickFlg = false;
CONTENTVIEW_IMAGEPREVIEW.slideshowInitFlg = true; //未使用
CONTENTVIEW_IMAGEPREVIEW.slideshowSelectedIndex = 0; //未使用
//0: next - 1: prev
CONTENTVIEW_IMAGEPREVIEW.slideshowControlToggleFlg = 0; //未使用
//CONTENTVIEW_IMAGEPREVIEW.totalRecord; //未使用
CONTENTVIEW_IMAGEPREVIEW.slideshowSelectFirstIndex = 0;
CONTENTVIEW_IMAGEPREVIEW.slideshowSelectLastIndex = 4;
CONTENTVIEW_IMAGEPREVIEW.slideshowMainCurrIndex = 0;
CONTENTVIEW_IMAGEPREVIEW.slideshow_isTransaction = false;
/*==========================================*/
CONTENTVIEW_IMAGEPREVIEW.refreshSlideShowValue = function(){
CONTENTVIEW_IMAGEPREVIEW.slideshowImgFrom = 0;
......@@ -471,3 +456,24 @@ CONTENTVIEW_IMAGEPREVIEW.handleDispNextPrevButton = function(){
}
};
$(function () {
//CONTENTVIEW_IMAGEPREVIEW.ready();
});
CONTENTVIEW_IMAGEPREVIEW.ready = function(){
/*====Variable====*/
CONTENTVIEW_IMAGEPREVIEW.slideshowImgFrom = 0;
CONTENTVIEW_IMAGEPREVIEW.slideshowImgTo = 4;
CONTENTVIEW_IMAGEPREVIEW.slideshowImageCollection = [];
CONTENTVIEW_IMAGEPREVIEW.slideshowClickFlg = false;
CONTENTVIEW_IMAGEPREVIEW.slideshowInitFlg = true; //未使用
CONTENTVIEW_IMAGEPREVIEW.slideshowSelectedIndex = 0; //未使用
//0: next - 1: prev
CONTENTVIEW_IMAGEPREVIEW.slideshowControlToggleFlg = 0; //未使用
//CONTENTVIEW_IMAGEPREVIEW.totalRecord; //未使用
CONTENTVIEW_IMAGEPREVIEW.slideshowSelectFirstIndex = 0;
CONTENTVIEW_IMAGEPREVIEW.slideshowSelectLastIndex = 4;
CONTENTVIEW_IMAGEPREVIEW.slideshowMainCurrIndex = 0;
CONTENTVIEW_IMAGEPREVIEW.slideshow_isTransaction = false;
};
......@@ -145,10 +145,10 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
}
else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_NoFile){
CONTENTVIEW_GETDATA.getPageTransitionConfig();
CONTENTVIEW_CONTENTTYPENONE.getJsonContentInfoTyeNone();
CONTENTVIEW_CONTENTTYPENONE.getJsonContentInfoTyeNone(CONTENTVIEW_INITOBJECT.ajaxComplete4);
}
else{
CONTENTVIEW_CALLAPI.getJsonContentInfo();
CONTENTVIEW_CALLAPI.getJsonContentInfo(CONTENTVIEW_INITOBJECT.ajaxComplete8);
CONTENTVIEW_GETDATA.getPageTransitionConfig();
}
......@@ -167,16 +167,29 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
/* bookmark Page */
$('#imgbookmark').click(CONTENTVIEW.bookmarkPage);
$('#listbookmark').click(CONTENTVIEW_EVENTS.showListBookMark);
$('#divListBookmark li').die();
$('#divListBookmark li').live('click', CONTENTVIEW_EVENTS.clickBookmark);
if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_PDF){
/* page index */
$('#listindex').click(CONTENTVIEW_EVENTS.showListPageIndex);
$('#divSearchResult li').die();
$('#divSearchResult li').live('click', CONTENTVIEW_EVENTS.clickSearchDetail);
/* copy text */
$('#copytext').click(CONTENTVIEW_EVENTS.showCopyText);
/* close copy text dialog */
$("#copyTextClosing").click(CONTENTVIEW_EVENTS.closeCopyTextBox);
//$("#copyTextClosing").click(CONTENTVIEW_EVENTS.closeCopyTextBox);
$("#copyTextClosing").on({
'click touchend': function(ev){
CONTENTVIEW_EVENTS.closeCopyTextBox(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
}
/*event click next page button */
......@@ -194,7 +207,18 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
$("#imgHome").click(CONTENTVIEW_EVENTS.imgHome_click);
$("#btn_show_memo").click(CONTENTVIEW_CREATEOBJECT.showEditMemo);
$("#btn_copy_memo").click(CONTENTVIEW_CREATEOBJECT.copyMemo);
$('#memoClosing').click(CONTENTVIEW_EVENTS.closePopUpCopyMemo);
//$('#memoClosing').click(CONTENTVIEW_EVENTS.closePopUpCopyMemo);
$("#memoClosing").on({
'click touchend': function(ev){
CONTENTVIEW_EVENTS.closePopUpCopyMemo(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#liAddMemo').click(CONTENTVIEW_EVENTS.click_liAddMemo);
$('#liCopyMemo').click(CONTENTVIEW_EVENTS.click_liCopyMemo);
$('#liDeleteMemo').click(CONTENTVIEW_EVENTS.click_liDeleteMemo);
......@@ -243,15 +267,9 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
CONTENTVIEW_INITOBJECT.setLoadingSize();
});
$(document).ajaxComplete(function () {
/*Init Page */
CONTENTVIEW_GENERAL.nAjaxLoad++;
//console.log("nAjaxLoad:" + CONTENTVIEW_GENERAL.nAjaxLoad);
//CONTENTVIEW_STREAMING.debugLog("nAjaxLoad:" + CONTENTVIEW_GENERAL.nAjaxLoad);
};
if (CONTENTVIEW_GENERAL.nAjaxLoad == 8) {
CONTENTVIEW_INITOBJECT.ajaxComplete8 = function(){
/* handle from bookmark page */
//handleFromBookMarkPage();
......@@ -276,6 +294,8 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
CONTENTVIEW.isPendingContentBGM = false;
}
//console.log("CONTENTVIEW_GENERAL.isFullScreen:" + CONTENTVIEW_GENERAL.isFullScreen);
CONTENTVIEW_GETDATA.getContent().setPageImages(CONTENTVIEW_GENERAL.totalPage, CONTENTVIEW_GENERAL.pageImages)
.setPageObjects(CONTENTVIEW_GENERAL.pageObjects)
.setUpPage(0);
......@@ -376,12 +396,17 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
CONTENTVIEW.sizingScreen();
}
}
CONTENTVIEW.setViewportForWin8();
//console.log("ajaxComp8 end");
};
CONTENTVIEW_INITOBJECT.ajaxComplete4 = function(){
if(CONTENTVIEW_GENERAL.contentType != COMMON.ContentTypeKeys.Type_NoFile){
return;
}
else if(CONTENTVIEW_GENERAL.nAjaxLoad == 4){
if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_NoFile){
/* handle from bookmark page */
//handleFromBookMarkPage();
/* check move content */
......@@ -395,7 +420,6 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
CONTENTVIEW.oldContent_Back();
} else {
if (CONTENTVIEW_GETDATA.getPageIndex() == 0) {
if(CONTENTVIEW_INITOBJECT.isHasPageBGM()){
CONTENTVIEW.isPendingContentBGM = true;
}
......@@ -487,7 +511,6 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
ZOOM_DETECTOR.startDetectZoom({ time: 500,
callbackFunction: function (oldRatio, newRatio, oldW, oldH, newW, newH) {
CONTENTVIEW_GENERAL.currentRatio = newRatio;
}
});
var top = window.innerHeight - $("#footer_toolbar_1").height();
......@@ -500,10 +523,7 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
}
CONTENTVIEW.setViewportForWin8();
}
}
});
};
//START TRB00069
......@@ -574,10 +594,40 @@ CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType = function(){
COMMON.disable('#txtSearch', '#txtSlider');
};
//ビュアーのキャンバスの表示領域をクリアする
CONTENTVIEW_INITOBJECT.clearViewerComponent = function(){
if ($('#canvasWrapper').length) {
//次回開いた時に残るので消す
var canvas = document.getElementById('main');
var context = canvas.getContext('2d');
context.clearRect(0, 0, canvas.width, canvas.height);
$('#mainPre').html('');
$('#main').html('');
$('#mainNext').html('');
$('#playvideo').html('');
$('#offscreenPre').html('');
$('#offscreen').html('');
$('#offscreenNext').html('');
$('#draw_canvas').html('');
$('#marker_canvas').html('');
$('#playaudio').html('');
$('#playaudiopage').html('');
$('#playaudioallpage').html('');
$('#text').html('');
}
};
//Start: Function: No.4 - Editor : Long - Date : 08/09/2013 - Summary : Create next and previous canvas
/* Initialize PageViewer Component */
CONTENTVIEW_INITOBJECT.initializeViewerComponent = function(viewId) {
if ($('#canvasWrapper').length) {
CONTENTVIEW_INITOBJECT.clearViewerComponent();
} else {
/* add some tags we need.*/
$('#' + viewId).prepend(
'<div id="canvasWrapper">' +
......@@ -596,7 +646,7 @@ CONTENTVIEW_INITOBJECT.initializeViewerComponent = function(viewId) {
'<div id="playaudioallpage" style="width:0px; height:0px;"></div>' +
'<div id="text"></div>'
);
}
/* apply css style */
......@@ -788,3 +838,6 @@ CONTENTVIEW_INITOBJECT.initImageCheckMarking = function() {
}
};
CONTENTVIEW_INITOBJECT.ready = function(){
};
......@@ -6,11 +6,6 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_MAKER = {};
CONTENTVIEW_MAKER.maker_Size;
//CONTENTVIEW_MAKER.maker_color;
CONTENTVIEW_MAKER.maker_targetDiv;
CONTENTVIEW_MAKER.maker_chooseColor;
CONTENTVIEW_MAKER.ShowMaker = function(targetId){
CONTENTVIEW_MAKER.maker_targetDiv = targetId;
I18N.i18nReplaceText();
......@@ -50,17 +45,93 @@ CONTENTVIEW_MAKER.Maker_handleColorPickerEvent = function (){
$('#makerColorwrapper').bind('mouseleave', CONTENTVIEW_MAKER.Maker_colorWrapperMouseLeaveFunction);
}
$('#Maker_btnOk').live('click', CONTENTVIEW_MAKER.Maker_dspOK_click);
$('#Maker_btnCancel').live('click', CONTENTVIEW_MAKER.Maker_dspCancel_click);
//$('#Maker_btnOk').live('click', CONTENTVIEW_MAKER.Maker_dspOK_click);
$("#Maker_btnOk").on({
'click touchend': function(ev){
CONTENTVIEW_MAKER.Maker_dspOK_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$('#Maker_btnCancel').live('click', CONTENTVIEW_MAKER.Maker_dspCancel_click);
$("#Maker_btnCancel").on({
'click touchend': function(ev){
CONTENTVIEW_MAKER.Maker_dspCancel_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
CONTENTVIEW_MAKER.Maker_SetDefaultValue();
$('#marker-small-text').live('click', CONTENTVIEW_MAKER.markerSmallTextClick);
$('#marker-medium-text').live('click', CONTENTVIEW_MAKER.markerMediumTextClick);
$('#marker-large-text').live('click', CONTENTVIEW_MAKER.markerLargeTextClick);
$('#marker-oversize-text').live('click', CONTENTVIEW_MAKER.markerOversizeTextClick);
//$('#marker-small-text').live('click', CONTENTVIEW_MAKER.markerSmallTextClick);
$("#marker-small-text").on({
'click touchend': function(ev){
CONTENTVIEW_MAKER.markerSmallTextClick(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$('#marker-medium-text').live('click', CONTENTVIEW_MAKER.markerMediumTextClick);
$("#marker-medium-text").on({
'click touchend': function(ev){
CONTENTVIEW_MAKER.markerMediumTextClick(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$('#marker-large-text').live('click', CONTENTVIEW_MAKER.markerLargeTextClick);
$("#marker-large-text").on({
'click touchend': function(ev){
CONTENTVIEW_MAKER.markerLargeTextClick(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$('#marker-oversize-text').live('click', CONTENTVIEW_MAKER.markerOversizeTextClick);
$("#marker-oversize-text").on({
'click touchend': function(ev){
CONTENTVIEW_MAKER.markerOversizeTextClick(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#dlgMaker .colorpicker').die();
$('#dlgMaker .colorpicker').live('click', CONTENTVIEW_MAKER.Maker_colorPickerClickFunction);
//$("#dlgMaker .colorpicker").on({
// 'click touchend': function(ev){
// CONTENTVIEW_MAKER.Maker_colorPickerClickFunction(ev);
// return false;
// },
// 'touchstart touchmove': function(){
// //これを入れないと次にダイアログを開くと表示位置が大きくズレる
// return false;
// }
//});
};
CONTENTVIEW_MAKER.markerSmallTextClick = function(){
......@@ -290,6 +361,16 @@ CONTENTVIEW_MAKER.Maker_colorWrapperMouseLeaveFunction = function() {
//END FIXCSS
};
$(function () {
//CONTENTVIEW_MAKER.ready();
});
CONTENTVIEW_MAKER.ready = function(){
CONTENTVIEW_MAKER.maker_Size = undefined;
CONTENTVIEW_MAKER.maker_targetDiv = undefined;
CONTENTVIEW_MAKER.maker_chooseColor = undefined;
};
/// ===============================================================================================
/// Maker group [ end ]
/// ===============================================================================================
......@@ -250,7 +250,7 @@ CONTENTVIEW_MARKING.dlgMarking_imgMakerOption_click = function() {
$('#dlgMarking_imgMakerOption').removeClass();
$('#dlgMarking_imgMakerOption').addClass('maker_option_selected');
setDefaultImageForMarking();
CONTENTVIEW_MARKING.setDefaultImageForMarking();
};
CONTENTVIEW_MARKING.dlgMarking_imgEraser_click = function() {
......@@ -458,21 +458,156 @@ CONTENTVIEW_MARKING.ShowMarking = function() {
// Setting dialog
$(function () {
//CONTENTVIEW_MARKING.ready();
});
CONTENTVIEW_MARKING.ready = function(){
//$("#dlgMarking_dspSave").click(CONTENTVIEW_MARKING.dlgMarking_dspSave_click);
$("#dlgMarking_dspSave").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_dspSave_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$("#dlgMarking_dspSave").click(CONTENTVIEW_MARKING.dlgMarking_dspSave_click);
$("#dlgMarking_dspCancel").click(CONTENTVIEW_MARKING.dlgMarking_dspCancel_click);
$("#dlgMarking_dspPgClear").click(CONTENTVIEW_MARKING.dlgMarking_dspPgClear_click);
//$("#dlgMarking_dspCancel").click(CONTENTVIEW_MARKING.dlgMarking_dspCancel_click);
$("#dlgMarking_dspCancel").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_dspCancel_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_dspPgClear").click(CONTENTVIEW_MARKING.dlgMarking_dspPgClear_click);
$("#dlgMarking_dspPgClear").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_dspPgClear_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
// Icons
$("#dlgMarking_imgMin").click(CONTENTVIEW_MARKING.dlgMarking_imgMin_click);
$("#dlgMarking_imgMax").click(CONTENTVIEW_MARKING.dlgMarking_imgMax_click);
$("#dlgMarking_imgClose").click(CONTENTVIEW_MARKING.dlgMarking_imgClose_click);
$("#dlgMarking_imgPen").click(CONTENTVIEW_MARKING.dlgMarking_imgPen_click);
$("#dlgMarking_imgPenOption").click(CONTENTVIEW_MARKING.dlgMarking_imgPenOption_click);
$("#dlgMarking_imgMaker").click(CONTENTVIEW_MARKING.dlgMarking_imgMaker_click);
$("#dlgMarking_imgMakerOption").click(CONTENTVIEW_MARKING.dlgMarking_imgMakerOption_click);
$("#dlgMarking_imgEraser").click(CONTENTVIEW_MARKING.dlgMarking_imgEraser_click);
$("#dlgMarking_imgEraserOption").click(CONTENTVIEW_MARKING.dlgMarking_imgEraserOption_click);
//$("#dlgMarking_imgMin").click(CONTENTVIEW_MARKING.dlgMarking_imgMin_click);
$("#dlgMarking_imgMin").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgMin_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_imgMax").click(CONTENTVIEW_MARKING.dlgMarking_imgMax_click);
$("#dlgMarking_imgMax").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgMax_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_imgClose").click(CONTENTVIEW_MARKING.dlgMarking_imgClose_click);
$("#dlgMarking_imgClose").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgClose_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_imgPen").click(CONTENTVIEW_MARKING.dlgMarking_imgPen_click);
$("#dlgMarking_imgPen").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgPen_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_imgPenOption").click(CONTENTVIEW_MARKING.dlgMarking_imgPenOption_click);
$("#dlgMarking_imgPenOption").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgPenOption_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_imgMaker").click(CONTENTVIEW_MARKING.dlgMarking_imgMaker_click);
$("#dlgMarking_imgMaker").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgMaker_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_imgMakerOption").click(CONTENTVIEW_MARKING.dlgMarking_imgMakerOption_click);
$("#dlgMarking_imgMakerOption").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgMakerOption_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_imgEraser").click(CONTENTVIEW_MARKING.dlgMarking_imgEraser_click);
$("#dlgMarking_imgEraser").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgEraser_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$("#dlgMarking_imgEraserOption").click(CONTENTVIEW_MARKING.dlgMarking_imgEraserOption_click);
$("#dlgMarking_imgEraserOption").on({
'click touchend': function(ev){
CONTENTVIEW_MARKING.dlgMarking_imgEraserOption_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
/*
$('#dlgMarking').dialog({
autoOpen: false,
......@@ -487,8 +622,8 @@ $(function () {
revert: false
});
};
});
/// ===============================================================================================
/// Marking group [ end ]
/// ===============================================================================================
......
......@@ -2,23 +2,13 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_MEMO = {};
CONTENTVIEW_MEMO.targetDiv;
CONTENTVIEW_MEMO.targetX;
CONTENTVIEW_MEMO.targetY;
//CONTENTVIEW_MEMO.targetMemoId;
CONTENTVIEW_MEMO.EditIndex;
CONTENTVIEW_MEMO.saveMode;
CONTENTVIEW_MEMO.memoCallbackFunc;
CONTENTVIEW_MEMO.conid;
CONTENTVIEW_MEMO.pageid;
CONTENTVIEW_MEMO.createMemoDialog = function(){
CONTENTVIEW_MEMO.targetDiv.show();
CONTENTVIEW_MEMO.targetDiv.html('');
CONTENTVIEW_MEMO.targetDiv.append(
'<aside id="memoWrapper" class="MemoIndexBox">'
+ ' <h1 class="indexBoxHd">' + I18N.i18nText('txtMemo')
+' <a class="delete"></a>'
+' <a id="memoClosing2" class="delete"></a>'
+' </h1>'
+' <div id="memoArea" class="indexBoxBody_on">'
+' <textarea id="txaMemoContent" style="resize: none; height: 302px; width: 452px; margin-bottom: 10px"></textarea>'
......@@ -39,7 +29,18 @@ CONTENTVIEW_MEMO.handleMemoEventFunction = function(){
$('#Memo_btnSave').click(CONTENTVIEW_MEMO.buttonSaveFunction);
$('#Memo_btnDel').click(CONTENTVIEW_MEMO.MemoDelFunction);
$('#Memo_btnCancel').click(CONTENTVIEW_MEMO.MemoCancelFunction);
$('.delete').click(CONTENTVIEW_MEMO.MemoCancelFunction);
//$('.delete').click(CONTENTVIEW_MEMO.MemoCancelFunction);
$("#memoClosing2").on({
'click touchend': function(ev){
CONTENTVIEW_MEMO.MemoCancelFunction(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
};
CONTENTVIEW_MEMO.memoSaveFunction = function(){
......@@ -92,15 +93,17 @@ CONTENTVIEW_MEMO.MemoDelFunction = function(){
CONTENTVIEW_GENERAL.isCopyMemo = false;
}
else{
var resultArr = ClientData.MemoData();
resultArr.splice(CONTENTVIEW_MEMO.EditIndex, 1);
ClientData.MemoData(resultArr);
//CONTENTVIEW_MEMO.targetDiv.dialog('close');
if(CONTENTVIEW_MEMO.memoCallbackFunc){
CONTENTVIEW_MEMO.memoCallbackFunc();
}
//if(CONTENTVIEW_MEMO.memoCallbackFunc){
// CONTENTVIEW_MEMO.memoCallbackFunc();
//}
}
$("#overlay").hide();
CONTENTVIEW_MEMO.targetDiv.children().remove();
......@@ -116,6 +119,7 @@ CONTENTVIEW_MEMO.MemoDelFunction = function(){
/* enable controls after finish copy */
CONTENTVIEW.enableControlsCopyMemo();
};
CONTENTVIEW_MEMO.MemoCancelFunction = function(){
......@@ -293,3 +297,20 @@ CONTENTVIEW_MEMO.editJqueryUIDialog = function(){
CONTENTVIEW_MEMO.targetDiv.parent().addClass('parentMemoDialogImportantCss');
};
$(function () {
//CONTENTVIEW_MEMO.ready();
});
CONTENTVIEW_MEMO.ready = function(){
CONTENTVIEW_MEMO.targetDiv = undefined;
CONTENTVIEW_MEMO.targetX = undefined;
CONTENTVIEW_MEMO.targetY = undefined;
CONTENTVIEW_MEMO.EditIndex = undefined;
CONTENTVIEW_MEMO.saveMode = undefined;
CONTENTVIEW_MEMO.memoCallbackFunc = undefined;
CONTENTVIEW_MEMO.conid = undefined;
CONTENTVIEW_MEMO.pageid = undefined;
};
......@@ -445,3 +445,6 @@ CONTENTVIEW_PAINT.drawPoint = function(coors, context_draw) {
}
};
CONTENTVIEW_PAINT.ready = function(){
};
......@@ -5,11 +5,6 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_PEN = {};
CONTENTVIEW_PEN.pen_Size;
//CONTENTVIEW_PEN.pen_Color;
CONTENTVIEW_PEN.pen_targetDiv;
CONTENTVIEW_PEN.pen_chooseColor;
CONTENTVIEW_PEN.ShowPen = function(targetId) {
CONTENTVIEW_PEN.pen_targetDiv = targetId;
I18N.i18nReplaceText();
......@@ -54,17 +49,95 @@ CONTENTVIEW_PEN.Pen_handleColorPickerEvent = function() {
$('#penColorwrapper').bind('mouseleave', CONTENTVIEW_PEN.Pen_colorWrapperMouseLeaveFunction);
}
$('#Pen_btnOk').live('click', CONTENTVIEW_PEN.Pen_dspOK_click);
$('#Pen_btnCancel').live('click', CONTENTVIEW_PEN.Pen_dspCancel_click);
//$('#Pen_btnOk').live('click', CONTENTVIEW_PEN.Pen_dspOK_click);
$("#Pen_btnOk").on({
'click touchend': function(ev){
CONTENTVIEW_PEN.Pen_dspOK_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$('#Pen_btnCancel').live('click', CONTENTVIEW_PEN.Pen_dspCancel_click);
$("#Pen_btnCancel").on({
'click touchend': function(ev){
CONTENTVIEW_PEN.Pen_dspCancel_click(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
CONTENTVIEW_PEN.Pen_SetDefaultValue();
$('#pen-small-text').live('click', CONTENTVIEW_PEN.penSmallTextClick);
$('#pen-medium-text').live('click', CONTENTVIEW_PEN.penMediumTextClick);
$('#pen-large-text').live('click', CONTENTVIEW_PEN.penLargeTextClick);
$('#pen-oversize-text').live('click', CONTENTVIEW_PEN.penOversizeTextClick);
//$('#pen-small-text').live('click', CONTENTVIEW_PEN.penSmallTextClick);
$("#pen-small-text").on({
'click touchend': function(ev){
CONTENTVIEW_PEN.penSmallTextClick(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$('#pen-medium-text').live('click', CONTENTVIEW_PEN.penMediumTextClick);
$("#pen-medium-text").on({
'click touchend': function(ev){
CONTENTVIEW_PEN.penMediumTextClick(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$('#pen-large-text').live('click', CONTENTVIEW_PEN.penLargeTextClick);
$("#pen-large-text").on({
'click touchend': function(ev){
CONTENTVIEW_PEN.penLargeTextClick(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
//$('#pen-oversize-text').live('click', CONTENTVIEW_PEN.penOversizeTextClick);
$("#pen-oversize-text").on({
'click touchend': function(ev){
CONTENTVIEW_PEN.penOversizeTextClick(ev);
return false;
},
'touchstart touchmove': function(){
//これを入れないと次にダイアログを開くと表示位置が大きくズレる
return false;
}
});
$('#dlgPen .colorpicker').die();
$('#dlgPen .colorpicker').live('click', CONTENTVIEW_PEN.Pen_colorPickerClickFunction);
//$("#dlgPen .colorpicker").on({
// 'click touchend': function(ev){
// CONTENTVIEW_PEN.Pen_colorPickerClickFunction(ev);
// return false;
// },
// 'touchstart touchmove': function(){
// //これを入れないと次にダイアログを開くと表示位置が大きくズレる
// return false;
// }
//});
};
CONTENTVIEW_PEN.penSmallTextClick = function(){
......@@ -293,3 +366,13 @@ CONTENTVIEW_PEN.Pen_colorWrapperMouseLeaveFunction = function() {
//END FIXCSS
};
$(function () {
//CONTENTVIEW_PEN.ready();
});
CONTENTVIEW_PEN.ready = function(){
CONTENTVIEW_PEN.pen_Size = undefined;
CONTENTVIEW_PEN.pen_targetDiv = undefined;
CONTENTVIEW_PEN.pen_chooseColor = undefined;
};
......@@ -2,9 +2,6 @@
//名前空間用のオブジェクトを用意する
var CONTENTVIEW_POPUPTEXT = {};
CONTENTVIEW_POPUPTEXT.popuptext_dialogDiv;
CONTENTVIEW_POPUPTEXT.popuptext_arrowDiv;
///ShowDialog
///direction: arrow value: 0: top right
/// 1: bottom right
......@@ -116,3 +113,12 @@ CONTENTVIEW_POPUPTEXT.MailTo = function(email, subject) {
window.open("mailto:" + email + "?subject=" + subject, '_self');
};
$(function () {
//CONTENTVIEW_POPUPTEXT.ready();
});
CONTENTVIEW_POPUPTEXT.ready = function(){
CONTENTVIEW_POPUPTEXT.popuptext_dialogDiv = undefined;
CONTENTVIEW_POPUPTEXT.popuptext_arrowDiv = undefined;
};
......@@ -49,7 +49,9 @@ DETAIL.openContentDetail = function() {
$("#txtPubDt2_Dsp").text('');
$("#txtContentDetail").text('');
$("#contentDetailClose").unbind("click");
$("#contentDetailClose").click(DETAIL.contentDetailClose_Click);
$("#contentdetail_dspRead").unbind("click");
$("#contentdetail_dspRead").click(DETAIL.contentdetail_dspRead_Click);
//if( ClientData.serviceOpt_content_share() != '2'){
......@@ -70,8 +72,14 @@ DETAIL.openContentDetail = function() {
DETAIL.displayData.contentID = ClientData.contentInfo_contentId();
DETAIL.displayData.contentThumbnail = ClientData.contentInfo_contentThumbnail();
var params = {
sid: ClientData.userInfo_sid(),
getType: '1',
contentId: DETAIL.displayData.contentID
};
// Get content detail
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(), "webGetContent", "GET", { contentId: DETAIL.displayData.contentID, sid: ClientData.userInfo_sid(), getType: 1 },
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(), "webGetContent", "GET", params,
function (data) {
var contentType = ClientData.contentInfo_contentType();
// Get content detail
......@@ -115,7 +123,9 @@ DETAIL.openContentDetail = function() {
// Close content detail
DETAIL.contentDetailClose_Click = function(e) {
if( e != null ){
e.preventDefault();
}
COMMON.unlockLayout();
$("#contentDetail").hide();
$("#sectionContentDetail").hide();
......@@ -201,7 +211,23 @@ DETAIL.contentdetail_dspRead_Click_callback = function(outputId) {
HEADER.viewLinkContentById(ClientData.contentInfo_contentId());
}
else {
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//試験
//詳細閉じる
DETAIL.contentDetailClose_Click(null);
if( $('#bookshelf').length || $('#list').length ){
//ビューア表示
HOME.showContentView();
} else if( $('#bookmark').length ){
//ビューア表示
BOOKMARK.showContentView();
} else if( $('#history').length ){
//ビューア表示
HISTORY.showContentView();
} else if( $('#contentsearch').length ){
//ビューア表示
CONTENTSEARCH.showContentView();
}
}
};
......@@ -218,6 +244,7 @@ DETAIL.showContentNotPDF = function(displayData) {
SHARE.contentId = displayData.contentID;
SHARE.contentTitle = displayData.contentTitle;
$("#contentdetail_dspShare").show();
$("#contentdetail_dspShare").unbind("click");
$("#contentdetail_dspShare").click(SHARE.openContentShare);
}
......@@ -273,6 +300,7 @@ DETAIL.showContent = function(displayData) {
SHARE.contentId = displayData.contentID;
SHARE.contentTitle = displayData.contentTitle;
$("#contentdetail_dspShare").show();
$("#contentdetail_dspShare").unbind("click");
$("#contentdetail_dspShare").click(SHARE.openContentShare);
}
......
......@@ -837,11 +837,25 @@ HEADER.getTimeWaitCheckNewPushMessage = function()
// get message new
HEADER.getPushMessageNew = function()
{
//ロック中かビューア画面ならチェックしない
if ($("#viewer").length) {
//表示状態か
if( $('#viewer').is(':visible')){
return;
}
}
//$('.notification-pushmessage').hide();
var params = { "sid": ClientData.userInfo_sid()};
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(), "webPushMessageNew", "post", params,
var params = {
"sid": ClientData.userInfo_sid()
};
AVWEB.avwCmsApi(
ClientData.userInfo_accountPath(),
"webPushMessageNew",
"post",
params,
HEADER.callbackGetPushMessageNewSuccess,
function (xhr, b, c) { });
function (xhr, b, c) { }
);
};
// callback get number new message success
......@@ -892,21 +906,27 @@ HEADER.getPushMessageList = function() {
var from = (HEADER.currentPagePushMessage - 1) * pushPageCount + 1;
var to = HEADER.currentPagePushMessage * pushPageCount;
var params = { "sid": ClientData.userInfo_sid(), "recordFrom": from, "recordTo": to };
AVWEB.avwCmsApiSync(ClientData.userInfo_accountPath(), "webPushMessageList", "post", params,
var params = {
"sid": ClientData.userInfo_sid(),
"recordFrom": from,
"recordTo": to
};
AVWEB.avwCmsApiSync(
ClientData.userInfo_accountPath(),
"webPushMessageList",
"post",
params,
function (data) {
// reset number message
ClientData.pushInfo_newMsgNumber(0);
// hide number new message
$('#numbermessage').html('');
HEADER.showListPushMessage(data);
},
function (xhr, b, c) {
AVWEB.showSystemError();
});
}
);
};
// get string from date crate pushmessage
......@@ -1062,8 +1082,8 @@ HEADER.downloadResourceById = function(contentId){
AVWEB.avwCmsApiSync(ClientData.userInfo_accountPath(), "webGetContent", "get", params,
function (data) {
//Get resourceurl
if( data.contentData.content ){
var resourceUrl = HEADER.getResourceByIdFromAPI(data.contentData.content.resourceId);
// open url to download file
if (HEADER.isSafariNotOnIpad()) {
window.onbeforeunload = null;
......@@ -1073,8 +1093,12 @@ HEADER.downloadResourceById = function(contentId){
else {
window.open(resourceUrl); //open url to download file on orther browser
}
} else {
alert("ダウンロード出来ません。");
}
},
function (xhr, b, c) { });
function (xhr, b, c) { }
);
};
//Download resource
......
......@@ -23,6 +23,8 @@ HISTORY.contentViewData = [];
HISTORY.noRecordFlg = false;
HISTORY.home_isMove = false;
HISTORY.history_contentTitleKana = [];
//スクロール復帰
HISTORY.scrollTop = 0;
$(document).ready(function(){
......@@ -49,10 +51,9 @@ $(document).ready(function(){
HISTORY.renderGridView();
//Go To Details Page
$('canvas').live('click', HISTORY.canvasClickFunction);
//$('canvas').live('touchstart', HISTORY.canvasClickFunction);
$('canvas').live('touchend', HISTORY.canvasClickFunction);
$('canvas').live('touchmove', function () { HISTORY.home_isMove = true; });
$('#main-ws canvas').live('click', HISTORY.canvasClickFunction);
$('#main-ws canvas').live('touchend', HISTORY.canvasClickFunction);
$('#main-ws canvas').live('touchmove', function () { HISTORY.home_isMove = true; });
//Open dialog
......@@ -104,7 +105,7 @@ $(document).ready(function(){
}
//詳細、共有表示パーツ読み込み
$("#inc_detail").load("./inc_detail.html", function (myData, myStatus, xhr){
$("#inc_detail").load("./inc_detail.html?__UPDATEID__", function (myData, myStatus, xhr){
//読み込み完了時の処理
I18N.i18nReplaceText();
$('.datepicker').pickadate({
......@@ -112,6 +113,12 @@ $(document).ready(function(){
});
});
//ビューア、共有表示パーツ読み込み
$("#viewer").load("./inc_contentview.html?__UPDATEID__", function (myData, myStatus, xhr){
//読み込み完了時の処理
I18N.i18nReplaceText();
});
});
//Call API
......@@ -177,7 +184,8 @@ HISTORY.renderContent = function(id, text, division, type, order, from, to, cate
shareHtml ='<li><a class="read lang button-share" contentid="' + post.contentId + '" lang="txtShare">'+I18N.i18nText("txtShare")+'</a></li>';
}
htmlTemp = htmlTemp.replace(/\{share\}/g, shareHtml);
$('#content-grid').append(htmlTemp);
//効率化
//$('#content-grid').append(htmlTemp);
}
}
......@@ -204,8 +212,9 @@ HISTORY.renderContent = function(id, text, division, type, order, from, to, cate
HISTORY.contentTypeArr.push({ contentId: post.contentId, contentType: post.contentType });
//End Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Assign content type to array to manage.
//効率化
//Check if user has read this content or not.
HISTORY.checkUserHasReadContent(post.contentId, post.resourceVersion, post.metaVersion);
//HISTORY.checkUserHasReadContent(post.contentId, post.resourceVersion, post.metaVersion);
//assign version to array
COMMON.resourceVersionArr.push({ contentid: post.contentId, resourceversion: post.resourceVersion });
......@@ -216,7 +225,8 @@ HISTORY.renderContent = function(id, text, division, type, order, from, to, cate
//Check if content has marking or memo
HISTORY.checkContentMarkingMemoOption(post.contentId);
$('#lblVdate' + post.contentId).html(viewdate);
//効率化
//$('#lblVdate' + post.contentId).html(viewdate);
HISTORY.addReadContentToArray(post.contentId, post.resourceVersion, post.metaVersion, post.contentThumbnail, post.contentTitle, HISTORY.returnContentTitleKana(post.contentId), post.contentDeliveryDate,post.contentType, post.readerShare );
......@@ -679,7 +689,11 @@ HISTORY.readSubmenuFunction_callback = function(contentId){
}
else{
//Go to Conten view page
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
HISTORY.drawEditImage(contentId);
HISTORY.showContentView();
}
//End Function : No.12 -- Editor : Le Long -- Date : 08/02/2013 -- Summary : Check content type other for download.
};
......@@ -1188,6 +1202,11 @@ HISTORY.getContentNameKana = function(strContentId) {
Check content whether existed or not
*/
HISTORY.IsExistContent = function(strContentId) {
if( strContentId == null || strContentId == "" ){
return false;
}
var isExisted = true;
var params = {
sid: ClientData.userInfo_sid(),
......@@ -1492,3 +1511,67 @@ HISTORY.showContentShareDlgFunction = function(e) {
};
HISTORY.showContentView = function(){
var y = 0;
if( document.documentElement.scrollTop ){
y = document.documentElement.scrollTop;
}
if( document.body.scrollTop ){
if( y == undefined || y == 0){
y = document.body.scrollTop;
}
}
if( y == undefined || y == null){
y = 0;
}
//console.log("scrollTop:" + y);
HISTORY.scrollTop = y;
window.scrollTo(0,0);
$("#header-ws").hide();
$("#ws-body").hide();
$("#topcontrol").hide();
CONTENTVIEW_INITOBJECT.clearViewerComponent();
CONTENTVIEW.cssInit();
$("#viewer").show();
CONTENTVIEW.ready();
};
HISTORY.cssInit = function(){
$('html').css({
'overflow-y':'scroll'
});
$('html,body').css({
'height':'100%',
'margin': '0',
'padding': '0'
});
$('html>body').css({
'font-size':'16px',
'font-size':'68.75%'
});
$('body').css({
'font-family':'Verdana, helvetica, arial, sans-serif',
'font-size':'68.75%',
'background':'#fff',
'color':'#333'
});
};
HISTORY.downloadFunction = function(e) {
if (e) {
e.preventDefault();
}
var contentId = $(this).attr('contentid');
//Download content
HEADER.downloadResourceById(contentId);
};
......@@ -39,6 +39,9 @@ HOME.timer_subMenu;
HOME.genre_totalcontent = -1;
HOME.group_totalcontent = -1;
//スクロール復帰
HOME.scrollTop = 0;
//==========================================================
$(document).ready(function () {
......@@ -92,10 +95,9 @@ $(document).ready(function () {
$('#control-list-type').click(HOME.changeDispListFunction);
//Go To Details Page
$('canvas').live('click', HOME.canvasClickFunction);
//$('canvas').live('touchstart', HOME.canvasClickFunction);
$('canvas').live('touchend', HOME.canvasClickFunction);
$('canvas').live('touchmove', function () { HOME.home_isMove = true; });
$('#main-ws canvas').live('click', HOME.canvasClickFunction);
$('#main-ws canvas').live('touchend', HOME.canvasClickFunction);
$('#main-ws canvas').live('touchmove', function () { HOME.home_isMove = true; });
//Open dialog
$('.dialog').live('click', HOME.openSubMenuDialogFunction);
......@@ -185,7 +187,7 @@ $(document).ready(function () {
if( ClientData.serviceOpt_catalog_edition() == 'Y'){
$('.tabUnit').hide();
//センタリングするようサイズ調整
$('#main').width(660);
$('#bookshelf-main').width(660);
} else {
$('.tabUnit').show();
}
......@@ -221,7 +223,7 @@ $(document).ready(function () {
}
//詳細、共有表示パーツ読み込み
$("#inc_detail").load("./inc_detail.html", function (myData, myStatus, xhr){
$("#inc_detail").load("./inc_detail.html?__UPDATEID__", function (myData, myStatus, xhr){
//読み込み完了時の処理
I18N.i18nReplaceText();
$('.datepicker').pickadate({
......@@ -229,6 +231,12 @@ $(document).ready(function () {
});
});
//ビューア、共有表示パーツ読み込み
$("#viewer").load("./inc_contentview.html?__UPDATEID__", function (myData, myStatus, xhr){
//読み込み完了時の処理
I18N.i18nReplaceText();
});
});
//日比谷カスタム ここから
......@@ -459,6 +467,8 @@ HOME.canvasClickFunction = function(e) {
var contentId = $(this).attr('id');
var outputId = contentId.substring(17);
if (HOME.isShowBookShelf) {
LIMIT_ACCESS_CONTENT.checkLimitContent(outputId,
function(){
HOME.canvasClickFunction_callback(outputId);
......@@ -466,7 +476,9 @@ HOME.canvasClickFunction = function(e) {
function(){
}
);
} else {
HOME.canvasClickFunction_callback(outputId);
}
};
HOME.canvasClickFunction_callback = function(outputId)
......@@ -595,7 +607,12 @@ HOME.canvasClickFunction_callback = function(outputId)
}
else{
//Go to Conten view page
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
HOME.drawEditImage(outputId);
//ビュアーに切り替え
HOME.showContentView();
}
//Start Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : check for download content type other.
......@@ -670,23 +687,22 @@ HOME.openSubMenuDialogFunction = function(e) {
DETAIL.openContentDetail();
}
else if (HOME.isShowBookShelf) {
$('#dialog-read').attr('contentid', contentid);
$('#dialog-detail').attr('contentid', contentid);
//$("#dlgSubMenu").dialog({position: array, width: 130, height: 90});
$("#dlgSubMenu").show();
HOME.allowTimerCloseSubMenu = false;
$("#dlgSubMenu").position({ my: "left bottom",
at: "left-10 top",
of: this,
collision: "fit"
});
//}
//else if (HOME.isShowBookShelf) {
// $('#dialog-read').attr('contentid', contentid);
// $('#dialog-detail').attr('contentid', contentid);
// //$("#dlgSubMenu").dialog({position: array, width: 130, height: 90});
// $("#dlgSubMenu").show();
// HOME.allowTimerCloseSubMenu = false;
// $("#dlgSubMenu").position({ my: "left bottom",
// at: "left-10 top",
// of: this,
// collision: "fit"
// });
}
else {
$('#dialog-read').attr('contentid', contentid);
$('#dialog-detail').attr('contentid', contentid);
//$("#dlgSubMenu").dialog({position: array, width: 130, height: 90});
$("#dlgSubMenu").show();
HOME.allowTimerCloseSubMenu = false;
$("#dlgSubMenu").position({ my: "left bottom",
......@@ -1328,7 +1344,9 @@ HOME.readSubmenuFunction_callback = function(contentId)
}
else{
//Go to Conten view page
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
HOME.drawEditImage(contentId);
HOME.showContentView();
}
//Start Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Add ContentType to Storage.
};
......@@ -1659,7 +1677,7 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid,
+ ' </a>'
+ ' <div class="info">'
+ ' <ul class="date">'
+ ' <li><span class="lang" lang="txtPubDt"> </span> : ' + outputDate + '</li>'
+ ' <li><span class="lang" lang="txtPubDt"> </span>' + outputDate + '</li>'
+ ' <li><span class="lang" lang="txtViewDt"> </span>:<span id="lblVdate' + post.contentId + '"> </span></li>'
+ ' </ul>'
+ ' <ul class="pic">'
......@@ -2313,7 +2331,7 @@ HOME.syncMarkingContent = function() {
HOME.syncContentData = function() {
if (ClientData.common_contentDataChkFlg() == 'true') {
HOME.syncReadingContent();
//HOME.syncReadingContent(); //#14290 履歴画面でも取得するので省略
HOME.syncBookmarkContent();
HOME.syncMemoContent();
HOME.syncMarkingContent();
......@@ -2595,3 +2613,83 @@ HOME.showContentShareDlgFunction = function(e) {
};
$(function () {
HOME.cssInit();
});
HOME.cssInit = function(){
$('html').css({
'overflow-y':'scroll'
});
$('html,body').css({
'height':'100%',
'margin': '0',
'padding': '0'
});
$('html>body').css({
'font-size':'16px',
'font-size':'68.75%'
});
$('body').css({
'font-family':'Verdana, helvetica, arial, sans-serif',
'font-size':'68.75%',
'background':'#fff',
'color':'#333'
});
};
HOME.showContentView = function(){
var y = 0;
if( document.documentElement.scrollTop ){
y = document.documentElement.scrollTop;
}
if( document.body.scrollTop ){
if( y == undefined || y == 0){
y = document.body.scrollTop;
}
}
if( y == undefined || y == null){
y = 0;
}
HOME.scrollTop = y;
window.scrollTo(0,0);
//試験
$("#header-ws").hide();
$("#ws-body").hide();
$("#topcontrol").hide();
CONTENTVIEW_INITOBJECT.clearViewerComponent();
CONTENTVIEW.cssInit();
$("#viewer").show();
//CONTENTVIEW_FILESYSTEM.initFS(CONTENTVIEW.ready);
CONTENTVIEW.ready();
};
//Dialog Read Button CLick
HOME.downloadSubmenuFunction = function(e) {
if (e) {
e.preventDefault();
}
HOME.allowTimerCloseSubMenu = false;
if (HOME.home_isMove == true) {
HOME.home_isMove = false;
return;
}
// hide dialog sub menu
$('#dlgSubMenu').hide();
var contentId = $(this).attr('contentid');
//Download content
HEADER.downloadResourceById(contentId);
};
......@@ -159,7 +159,7 @@ LOGIN.processLogin = function() {
previousSid: '',
loginId: loginId,
password: password,
urlpath: accountPath,
urlpath: accountPath
};
//引数パラメータがあれば取得
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
......@@ -59,8 +58,7 @@
<![endif]-->
</head>
<body id="user_change">
<header>
<header id="header-ws" class="header_ws">
<div class="notification-pushmessage" style="display:none;">
<!--新着メッセージがあります!!!-->
</div>
......@@ -97,7 +95,6 @@
</div>
</div>
</li>
<li class="menuIcon" id="dspHome"><a href="#"><img src="img/common/icon_home.png" width="30" height="30"></a></li>
<li class="menuIcon" id="dspShiori"><a href="#"><img src="img/common/icon_marker.png" width="30" height="30"></a></li>
<li class="menuIcon" id="dspViewHistory"><a href="#"><img src="img/common/icon_watch.png" width="30" height="30"></a></li>
......@@ -106,23 +103,10 @@
</ul>
</div>
</div>
<!--<script>
$(function(){
// 「id="jQueryPush"」がクリックされた場合
$("#jQueryPush").click(function () {
// 「id="accordion"」の表示、非表示を切り替える
$("#accordion").toggle();
});
});
</script>-->
</header>
<div id="inc_backup"></div>
<div class="wrapper">
<div id="main">
<div id="ws-body" class="wrapper_ws" >
<div id="main-ws">
<article>
<section class="sectionSetting">
<div id="user_info">
......@@ -137,7 +121,6 @@
</dl>
<p class="passchgbtn"><a href="#" class="lang" id="dspPwdUpd" lang="dspPwdUpd"><!--パスワード変更--></a> </p>
</div>
<div id="user_option">
<h3 class="lang" lang="txtOpt"><!--オプション--></h3>
<ul>
......@@ -149,7 +132,6 @@
<li><label><input type=checkbox name="repeat" value="repeat" class="chkbx" id="chkOpt002" checked="checked" checked/><label for="chkOpt002" id="txtOpt002" lang="txtOpt002" class="lang"><!--動画、音楽を繰り返し再生する--></label></label></li>
<li><label><input type=checkbox name="marking" value="marking" class="chkbx" id="chkOpt003" checked="checked" checked /><label id="lblOpt003" for="chkOpt003" lang="txtOpt003" class="lang"><!--マーキング--></label></label><span class="notice lang" lang="txtOpt004"><!--※コンテンツを開いた時に表示する--></span></li>
<li><label><input type=checkbox name="confirmClose" value="confirmClose" class="chkbx" id="chkOpt005" checked="checked" /><label for="chkOpt005" id="txtOpt005" lang="txtOpt005" class="lang"><!--タブ・ブラウザ終了・F5時のアラートが表示する--></label></label></li>
<li>
<label lang="txtOptPageTrans" class="lang"><!--ビューのアニメーション種類--></label>
<select id="cboAnimation">
......@@ -163,11 +145,13 @@
<input type="text" id="txtValueAnimation" value="1.0" />
<span id="slidebar-container"><span id="slidebar-from">0.1</span><span id="slidebar-animation"></span><span id="slidebar-to">9.9</span></span>
</li>
</ul>
<h3 style="margin-top:50px" id="txtBkResCap" lang="txtBkResCap" class="lang"><!--サーバーにバックアップ/リストア--></h3>
<p class="logout_backup" id="regionOptionBackup">
<label><input type="checkbox" name="backup" value="backup" id="chkOptBkCfm" checked="checked"><label id="txtOptBkCfm" for="chkOptBkCfm" lang="txtOptBkCfm" class="lang"><!--毎回ログアウトの時、バックアップするかどうかは必ず確認する--></label></label>
<label>
<input type="checkbox" name="backup" value="backup" id="chkOptBkCfm" checked="checked">
<label id="txtOptBkCfm" for="chkOptBkCfm" lang="txtOptBkCfm" class="lang"><!--毎回ログアウトの時、バックアップするかどうかは必ず確認する--></label>
</label>
<br />
<label class="option_backup">
<label id="txtBkDefault" lang="txtBkDefault" class="lang"><!--バックアップのデフォルト : --></label>
......@@ -179,11 +163,9 @@
<p class="backupbtn"><a class="backup lang" lang="dspOptBk" id="dspOptBk" href="#" style="display:none;"><!--バックアップ--></a><a href="#" id="dspOptRes" lang="dspOptRes" class="lang" style="visibility:hidden;"><!--リストア--></a></p>
<p class="savebtn"><a class="save lang" href="#" id="dspSave" lang="dspSave"><!--保存する--></a><a class="default lang" href="#" id="dspOptReset" lang="dspOptReset"><!--初期設定に戻る--></a><div style="clear:both;"></div></p>
</div>
</section>
</article>
</div>
</div>
</div>
<section id="dlgChangePassword" class="sectionchangepassword">
......@@ -209,52 +191,38 @@
</p>
</section>
<section class="sectionbackup" id="dlgConfirmBackup">
<h1><label class="title lang" lang="txtBackupTitle"><!--バックアップ確認--></label></h1>
<!--<p class="message"><label id="txtBkMsg" lang="txtBkMsg" class="lang"><!--サーバにバックアップしますか?--></label></p>-->
<p class="message">
<label lang="txtBkSelectData" class="lang"><!--バックアップするデータを選択してください。--></label>
</p>
<p class="message-options">
<label class="option_backup">
<input type="checkbox" id="chkopBkMarking" class="chkopbx" checked="checked" /><label for="chkopBkMarking" lang="txtBkMarking" class="lang"><!--マーキング--></label>
<input type="checkbox" id="chkopBkMemo" class="chkopbx" checked="checked" /><label for="chkopBkMemo" lang="txtBkMemo" class="lang"><!--メモ--></label>
<input type="checkbox" id="chkopBkShiori" class="chkopbx" checked="checked" /><label for="chkopBkShiori" lang="txtBkShiori" class="lang"><!--しおり--></label>
</label>
</p>
<p class="backupbtn"><a class="ok lang" href="#" id="dspOptBk_OK" lang="dspOK"><!--OK--></a><a class="cancel lang" href="#" lang="dspCancel" id="dspOptBk_Cancel"><!--キャンセル--></a></p>
</section>
<div id="inc_backup"></div>
<section class="sectionrestore" id="dlgConfirmRestore">
<section class="sectionrestore" id="dlgConfirmRestore">
<h1 class="title lang" lang="txtRestoreTitle"><!--リストア確認--></h1>
<p class="message">
<!--<label id="txtResMsg" class="lang" lang="txtResMsg"></label>-->
<label id="txtResSelect" class="lang" lang="txtResSelect"><!--リストアするデータを選択してください。--></label>
</p>
<p class="message-options">
<label class="option_backup">
<input type="checkbox" id="chkopResMarking" class="chkopbx" checked="checked" /><label for="chkopResMarking" lang="txtBkMarking" class="lang"><!--マーキング--></label>
<input type="checkbox" id="chkopResMemo" class="chkopbx" checked="checked" /><label for="chkopResMemo" lang="txtBkMemo" class="lang"><!--メモ--></label>
<input type="checkbox" id="chkopResShiori" class="chkopbx" checked="checked" /><label for="chkopResShiori" lang="txtBkShiori" class="lang"><!--しおり--></label>
</label>
<!--<label class="option_backup">-->
<p class="option_backup" style="font-size: 13px;margin-left:50px">
<input type="checkbox" name="chkopBkMarking" id="chkopBkMarking" class="chkopbx" checked="checked" /><label for="chkopBkMarking" lang="txtBkMarking" class="lang">マーキング</label>
<input type="checkbox" name="chkopBkMemo" id="chkopBkMemo" class="chkopbx" checked="checked" /><label for="chkopBkMemo" lang="txtBkMemo" class="lang">メモ</label>
<input type="checkbox" name="chkopBkShiori" id="chkopBkShiori" class="chkopbx" checked="checked" /><label for="chkopBkShiori" lang="txtBkShiori" class="lang">しおり</label>
</P>
<!--</label>-->
</p>
<p class="notice"><label class="lang" lang="txtResMsgNotice"></label></p>
<p class="restorebtn"><a class="ok lang" href="#" id="dspOptRes_OK" lang="dspOK"><!--OK--></a><a class="cancel lang" href="#" id="dspOptRes_Cancel" lang="dspCancel"><!--キャンセル--></a></p>
</section>
</section>
<footer>
<div class="border">
<div class="border">
<div class="cnt_footer">
COPYRIGHT &copy; 2014 AGENTEC Co., Ltd. ALL RIGHTS RESERVED.
</div>
</div>
</div>
</footer>
<iframe style="height:0px;width:0px;visibility:hidden;display:none;" src="about:blank">
this frame prevents back forward cache
</iframe>
</body>
</html>
......@@ -72,7 +72,7 @@
<div id="fade"></div>
-->
<div class="wrapper">
<div id="main">
<div id="main-ws">
<ul class="floatR" id="menu-language"><li class="language"><a id="language-ja"><img src="./abvw/img/common/flg_jpn.png" width="29" height="20"></a></li><li class="language"><a id="language-en"><img src="./abvw/img/common/flg_usa.png" width="29" height="20"></a></li><li class="language"><a id="language-ko"><img src="./abvw/img/common/flg_kor.png" width="29" height="20"></a></li></ul>
<article>
<img src="./abvw/img/login/logo_login.png" width="200" class="clearboth" id="logologin">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment