Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><head>
- <meta http-equiv="content-type" content="text/html" charset="UTF-8">
- <meta http-equiv="content-language" content="ja">
- <meta name="application-name" content="ブラウザ“楽読み”">
- <meta name="keywords" content="">
- <meta name="description" content="">
- <title>現代魔女の就職事情(1)</title>
- <noscript>
- <meta http-equiv="refresh" content="0; URL=../html/error_javascript.html">
- </noscript>
- <link rel="stylesheet" href="css/jquery/jquery-ui.css">
- <!-- リフローエンジン対応で追加したもの ここから -->
- <link href="./js/jquery/jquery-ui/themes/base/minified/jquery.ui.core.min.css" rel="stylesheet" type="text/css">
- <link href="./js/jquery/jquery-ui/themes/base/minified/jquery.ui.dialog.min.css" rel="stylesheet" type="text/css">
- <link href="./js/jquery/jquery-ui/themes/base/minified/jquery.ui.slider.min.css" rel="stylesheet" type="text/css">
- <link href="./js/jquery/jquery-ui/themes/base/minified/jquery.ui.theme.min.css" rel="stylesheet" type="text/css">
- <!-- リフローエンジン対応で追加したもの ここまで -->
- <link rel="stylesheet" href="css/pc/magnifier.css">
- <script src="//www.google-analytics.com/analytics.js" async=""></script><script type="text/javascript" src="../common/js/br_ems-4f.js"></script>
- <script id="ems_code"></script>
- <script type="text/javascript" src="./js/viewer_util-4f-min.js"></script>
- <!-- Grunt の uglify で難読化、圧縮、マージするスクリプトはここから -->
- <!--
- NOTE : 開発中は難読化、圧縮、マージされたスクリプトだと不便なので、基本的にはコメント化しておき、
- テストフェーズ時は、難読化、圧縮、マージされたスクリプトで確認を行うようにする
- -->
- <!-- viewer_common.jsにまとめられるもの ここから -->
- <script src="../common/js/viewer_common-4f-min.js"></script>
- <!-- viewer_common.jsにまとめられるもの ここまで -->
- <!-- viewer_top.jsにまとめられるもの ここから -->
- <!-- 拡大鏡 -->
- <script src="./js/viewer_top-4f-min.js"></script>
- <!-- viewer_top.jsにまとめられるもの ここまで -->
- <!-- Grunt の uglify で難読化、圧縮、マージするスクリプトはここまで -->
- <!-- Grunt で難読化、圧縮、マージしたスクリプトの読み込みはここから -->
- <!--<script src="../common/js/viewer_common-min.js"></script>-->
- <!--<script src="./js/viewer_top-min.js"></script>-->
- <!-- Grunt で難読化、圧縮、マージしたスクリプトの読み込みはここまで -->
- <!--[if lte IE 9]>
- <script src="../common/js/library/base64.js"></script>
- <script src="js/json_parse.js"></script>
- <script src="js/setBase64ForLTE_IE9.js"></script>
- <script>
- if (!window.btoa) window.btoa = base64.encode;
- if (!window.atob) window.atob = base64.decode;
- </script>
- <![endif]-->
- <!--[if IE]>
- <link rel="stylesheet" type="text/css" href="./css/pc/ie.css">
- <![endif]-->
- <noscript>
- <meta http-equiv="refresh" content="0; URL=../html/error_javascript.html">
- </noscript>
- <!-- テンプレート html の読み込みはここから -->
- <link href="../common/resource/ico/favicon_eBookJapan.ico" rel="shortcut icon"><meta name="viewport" content="width=device-width,user-scalable=no, maximum-scale=1.0, minimum-scale=1.0, shrink-to-fit=no"><meta http-equiv="X-UA-Compatible" content="IE=Edge"><link href="css/pc-4f.css" type="text/css" rel="stylesheet"><script src="js/viewer_engine-4f-min.js"></script><style type="text/css">#container { display: none; } #splash { display: block; }</style></head><body class="landscape"><div id="linkTemplateSplash"><!--
- バインドするデータは、BR_loading にあります。
- -->
- <div style="display: none;" id="splash">
- <div id="splashContent">
- <div id="splashContent_inner">
- <h1 data-bind="text: $data.const_splash_title">eBookJapan ブラウザ“楽読み” β版</h1>
- <h2><span class="version" data-bind="text: $data.splash_browser_reader_version">1.2.0.3</span></h2>
- <p class="nowloading"></p>
- <p class="status"><span id="status_text" data-bind="text: $data.const_splash_message">セットアップ中</span></p>
- <p class="copyright" data-bind="html: $data.copyrightString">Copyright © eBOOK Initiative Japan Co.,Ltd.</p>
- </div>
- </div>
- <div class="splashOverlay"></div>
- </div></div>
- <div id="linkTemplateModeWin"></div>
- <div id="linkTemplateMoveWin"></div>
- <div id="linkTemplateConfigWin"></div>
- <div style="display: none;" id="linkTemplateConfirmDialog"></div>
- <div id="linkTemplateModalWindow"></div>
- <div id="linkTemplateErrorDialog"></div>
- <div id="linkTemplateFooterDialog"></div>
- <div id="linkTemplatePageSetting"></div>
- <div id="linkTemplateMarkerWindow"></div>
- <!-- テンプレート html の読み込みはここまで -->
- <!-- とりあえず 初期化-->
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-8485362-1', 'auto');
- ga('require', 'linker');
- ga('send', 'pageview');
- ga('linker:autoLink', ["www.ebookjapan.jp","br.ebookjapan.jp"]);
- (function ($) {
- var curverkey = BR_ROOT.BR_global.storageName_baseKey+'.viewer.version';
- if(BR_ROOT.BR_Config.version !==localStorage.getItem(curverkey)){
- localStorage.setItem(curverkey, BR_ROOT.BR_Config.version);
- location.reload(true);
- return;
- }
- // メタタグの読み込み
- function loadMeta() {
- if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.PC) {
- // TODO : useWebView の対応
- BR_ROOT.BR_global.useWebView = false;
- if (BR_ROOT.BR_global.useWebView) {
- //$('head').append('<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1, maximum-scale=1, minimum-scale=1">');
- } else {
- $('head').append('<meta name="viewport" content="width=device-width,user-scalable=no, maximum-scale=1.0, minimum-scale=1.0, shrink-to-fit=no">');
- $('head').append('<meta http-equiv="X-UA-Compatible" content="IE=Edge">');
- }
- } else if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.SmartPhone
- || BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.Tablet) {
- $('head').append('<meta name="viewport" content="width=device-width,user-scalable=no, maximum-scale=1.0, minimum-scale=1.0, shrink-to-fit=no">');
- }
- }
- // スタイルを読み込む関数
- function loadStyle() {
- var $loadStyleDeferredResult = $.Deferred();
- var $deferredAllOperation = $.Deferred().resolve();
- $deferredAllOperation.then(function(){
- if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.PC) {
- return (function(){
- var $loadStyleDeferredPC = $.Deferred();
- // TODO : useWebView の対応
- BR_ROOT.BR_global.useWebView = false;
- if (BR_ROOT.BR_global.useWebView) {
- var $d = $.Deferred().resolve();
- $d.then(function(){
- return StyleLoader.loadStyle('css/pc-4f.css', null);
- }).then(function(){
- return StyleLoader.loadStyle('css/webview.css', null);
- }).always(function(resultString){
- if (resultString === 'success') {
- $loadStyleDeferredPC.resolve('success');
- } else {
- $loadStyleDeferredPC.reject();
- }
- });
- } else {
- StyleLoader.loadStyle('css/pc-4f.css', null).always(function(resultString){
- if (resultString === 'success') {
- $loadStyleDeferredPC.resolve('success');
- } else {
- $loadStyleDeferredPC.reject();
- }
- });
- }
- return $loadStyleDeferredPC.promise();
- })();
- } else if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.SmartPhone) {
- return StyleLoader.loadStyle('css/smartphone-4f.css', null);
- } else if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.Tablet) {
- return StyleLoader.loadStyle('css/tablet-4f.css', null);
- } else {
- return $.Deferred().resolve('success');
- }
- }).always(function(resultString){
- if (resultString === 'success') {
- $loadStyleDeferredResult.resolve();
- } else {
- $loadStyleDeferredResult.reject();
- //alert('スタイルローダーで失敗');
- (function () {
- var summary = viewModelUtility.getGlobalizedString('UIAlertView/common_error/system_error/summary/title');
- var description = viewModelUtility.getGlobalizedString('UIAlertView/common_error/system_error/description_style_load/title');
- alert(summary + '\n' + description);
- })();
- }
- });
- return $loadStyleDeferredResult;
- }
- // スクリプトを読み込む関数
- function loadScript() {
- var $loadScriptDeferredResult = $.Deferred();
- var $deferredAllOperation = $.Deferred().resolve();
- $deferredAllOperation.then(function () {
- // NOTE : Grunt で圧縮する前のソースを使う場合は、コメント化部分を入れ替える
- /*
- NOTE : 開発中は難読化、圧縮、マージされたスクリプトだと不便なので、基本的にはコメント化しておき、
- テストフェーズ時は、難読化、圧縮、マージされたスクリプトで確認を行うようにする
- */
- var srcArray = ["js/viewer_engine-4f-min.js"];
- //【コミット注意】ローカルホストで確認する場合は以下をコメント化する必要がある
- if (BR_ROOT.BR_global.BR_ViewerGlobal.isReflow) {
- /* viewer_reflow-min.jsにまとめられているものをここでロード */
- // ↓リフローエンジンで使用する jQuery 系の js↓
- srcArray.push('js/jquery/jquery.xdomainrequest.min.js');
- // srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.core.min.js');
- // srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.position.min.js');
- // srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.widget.min.js');
- // srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.mouse.min.js');
- // srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.draggable.min.js');
- // srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.resizable.min.js');
- // srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.button.min.js');
- srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.dialog.min.js');
- // srcArray.push('js/jquery/jquery-ui/ui/minified/jquery.ui.slider.min.js');
- srcArray.push('js/jquery/cookie/jquery.cookie.js');
- srcArray.push("./reflow/js/set_viewport.js".replace(/\.js$/, '-4f.js'));
- srcArray.push("./reflow/js/inflate.min.js".replace(/\.js$/, '-4f.js'));
- srcArray.push("./reflow/js/html-sanitizer-minified.js".replace(/\.js$/, '-4f.js'));
- srcArray.push("./reflow/js/browserviewer.js".replace(/\.js$/, '-4f.js'));
- srcArray.push("./reflow/js/customize.js".replace(/\.js$/, '-4f.js'));
- srcArray.push("./reflow/js/reflow.js".replace(/\.js$/, '-4f.js'));
- }
- if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.SmartPhone
- || BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.Tablet) {
- srcArray.push('js/iscroll.js');
- }
- return ScriptLoader.loadScripts(srcArray);
- }).then(function () {
- $loadScriptDeferredResult.resolve();
- },function(){
- $loadScriptDeferredResult.reject();
- //alert('スクリプトローダーで失敗');
- (function () {
- var summary = viewModelUtility.getGlobalizedString('UIAlertView/common_error/system_error/summary/title');
- var description = viewModelUtility.getGlobalizedString('UIAlertView/common_error/system_error/description_script_load/title');
- alert(summary + '\n' + description);
- })();
- });
- return $loadScriptDeferredResult.promise();
- }
- BR_ROOT.BR_global.currentShopID = BR_ROOT.BR_global.getParameter('shopID');
- if(BR_ROOT.BR_global.currentShopID==="30283"){
- BR_ROOT.BR_global.currentShopID = "eBookJapan";
- $(document).ready(function(){$("#banner").attr("done", true);});
- }
- if (!BR_ROOT.BR_global.currentShopID) {
- BR_ROOT.BR_global.currentShopID = $.cookie("shopID");
- }
- BR_ROOT.BR_global.currentShopID = BR_ROOT.BR_global.currentShopID == undefined ? BR_ROOT.shopID.Default : BR_ROOT.BR_global.currentShopID;
- BR_ROOT.BR_global.currentLocaleID = BR_ROOT.BR_global.getParameter('localeID');
- BR_ROOT.BR_global.currentLocaleID = BR_ROOT.BR_global.currentLocaleID == undefined ? BR_ROOT.BR_Config.defaultLocale : BR_ROOT.BR_global.currentLocaleID;
- var isHontsuku = BR_ROOT.BR_global.getParameter('photobook_flg');
- var isWatanni = BR_ROOT.BR_global.getParameter('watanni_flg');
- var isReflow = BR_ROOT.BR_global.getParameter('reflow_flg');
- var isEbipre = BR_ROOT.BR_global.getParameter('ebipre_flg');
- // ほんつく書籍の場合はフラグを ON にする
- // 話単位配信書籍の場合はフラグを ON にする
- BR_ROOT.BR_global.BR_ViewerGlobal.isHontsuku = (isHontsuku == "1");
- BR_ROOT.BR_global.BR_ViewerGlobal.isWatanni = (isWatanni == "1");
- BR_ROOT.BR_global.BR_ViewerGlobal.isReflow = (isReflow == "1");
- BR_ROOT.BR_global.BR_ViewerGlobal.isEbipre = (isEbipre == "1");
- // デバッグ用
- // BR_ROOT.BR_global.BR_ViewerGlobal.isHontsuku = false;
- // BR_ROOT.BR_global.BR_ViewerGlobal.isWatanni = false;
- // BR_ROOT.BR_global.BR_ViewerGlobal.isReflow = false;
- // BR_ROOT.BR_global.BR_ViewerGlobal.isEbipre = true;
- BR_ROOT.BR_global.BR_ViewerGlobal.currentBookType = (function () {
- var vg = BR_ROOT.BR_global.BR_ViewerGlobal;
- var result = vg.bookType.unknown;
- if (vg.isHontsuku) {
- result = vg.bookType.hontsuku;
- } else if (vg.isWatanni) {
- result = vg.bookType.watanni;
- } else if (vg.isReflow) {
- result = vg.bookType.reflow;
- } else if (vg.isEbipre) {
- result = vg.bookType.ebipre;
- } else {
- result = vg.bookType.normal;
- }
- // デバッグ用
- //result = vg.currentBookType = vg.bookType.debug;
- return result;
- })();
- //【コミット注意】ローカルホストでUIを確認するためのコード(リリース時はコメント化か削除)
- // BR_ROOT.BR_global.BR_ViewerGlobal.isHontsuku = false;
- // BR_ROOT.BR_global.BR_ViewerGlobal.isWatanni = false;
- // BR_ROOT.BR_global.BR_ViewerGlobal.isReflow = false;
- // BR_ROOT.BR_global.BR_ViewerGlobal.isHontsukuUIDebug = (isHontsuku == "1");
- // BR_ROOT.BR_global.BR_ViewerGlobal.isWatanniUIDebug = (isWatanni == "1");
- // BR_ROOT.BR_global.BR_ViewerGlobal.isReflowUIDebug = (isReflow == "1");
- // BR_ROOT.BR_global.BR_ViewerGlobal.isEbipreUIDebug = (isEbipre == "1");
- // 言語リソースの読み込み
- var cldr_path = "../common/resource/cldr_data/";
- var local_path = cldr_path + "main/" + BR_ROOT.BR_global.currentLocaleID + "/";
- var resourceFileName = "../common/resource/languageResource_common_" + BR_ROOT.BR_global.currentLocaleID + ".json";
- var shopResourceFile = "../common/resource/languageResource_" + BR_ROOT.BR_global.currentShopID + "_" + BR_ROOT.BR_global.currentLocaleID + ".json";
- // ファビコン取得メソッド
- function getFaviconAsync() {
- var deferred = $.Deferred();
- var faviconFilePath = '';
- if(["eBookJapan", "mincomi"].indexOf(BR_ROOT.BR_global.currentShopID)<0){
- faviconFilePath = '../common/resource/ico/favicon.ico';
- } else {
- var currentShopId = BR_ROOT.BR_global.currentShopID;
- var faviconFileBasePath = '../common/resource/ico/favicon_%s.ico';
- faviconFilePath = sprintf(faviconFileBasePath, currentShopId);
- }
- var favicon = $('<link rel="shortcut icon">');
- favicon.attr('href', faviconFilePath);
- $('head').append(favicon);
- deferred.resolve();
- // var dummyImage = new Image();
- // dummyImage.src = faviconFilePath;
- // dummyImage.onload = function() {
- // didFinishImageLoading(false);
- // };
- // dummyImage.onerror = function() {
- // didFinishImageLoading(true);
- // };
- //
- // // ファビコンを image として読み込む処理が完了したときに呼び出される処理(読み込みの成功/失敗は関係ない)
- // var didFinishImageLoading = function (fail) {
- //
- // if (fail) {
- // //console.log('ファビコン画像のロードに失敗しました。(画像化 : NG) faviconFilePath : ' + faviconFilePath);
- // // 失敗だが後続の処理を続けるために成功扱いとする
- // deferred.resolve();
- // } else {
- // //console.log('ファビコン画像のロードに成功しました。(画像化 : OK) faviconFilePath : ' + faviconFilePath);
- // $.ajax({
- // type: 'GET',
- // url: faviconFilePath
- // }).done(function () {
- // //console.log('favicon の取得に成功しました。faviconFilePath: ' + faviconFilePath);
- // var favicon = $('<link rel="shortcut icon">');
- // favicon.attr('href', faviconFilePath);
- // $('head').append(favicon);
- // }).fail(function () {
- // //console.log('favicon の取得に失敗しました。faviconFilePath: ' + faviconFilePath);
- // }).always(function () {
- // // ファビコンの取得に成功しても失敗しても、処理としては成功とする(後続の処理を続けるため)
- // deferred.resolve();
- // });
- // }
- // };
- return deferred.promise();
- }
- function getResourceAsync() {
- return $.when(
- $.get(local_path + "ca-japanese.json"),
- $.get(cldr_path + "supplemental/likelySubtags.json"),
- $.get(cldr_path + "supplemental/timeData.json"),
- $.get(cldr_path + "supplemental/weekData.json")
- );
- }
- function getLanguageResourceAsync(resourceFileName) {
- return $.ajax({
- type: 'GET',
- url: resourceFileName,
- dataType: 'json'
- });
- }
- function getShopLanguageResourceAsync(shopResourceFile) {
- return $.ajax({
- type: 'GET',
- url: shopResourceFile,
- dataType: 'json'
- });
- }
- function headerDataBind() {
- (function ($) {
- // ヘッダーへのバインド
- // TODO: 例外的なものなので、あとでどうするかを検討する
- var viewModel = {
- utility : viewModelUtility
- };
- var $targetElement = $('#header_bookname');
- var targetElement = $targetElement.get(0);
- ko.cleanNode(targetElement);
- ko.applyBindings(viewModel, targetElement);
- })(jQuery);
- }
- // 実際のデータ取得はここから
- // getResourceAsync().then(function () {
- //
- // // Normalize $.get results, we only need the JSON, not the request statuses.
- // return [].slice.apply(arguments, [0]).map(function (result) {
- // return result[0];
- // });
- //
- // }).then(Globalize.load).then(function () {
- getFaviconAsync().then(function(){
- return getResourceAsync().then(function () {
- // Normalize $.get results, we only need the JSON, not the request statuses.
- return [].slice.apply(arguments, [0]).map(function (result) {
- return result[0];
- });
- })
- }).then(Globalize.load).then(function () {
- return getLanguageResourceAsync(resourceFileName);
- }).then(function (data) {
- Globalize.loadMessages(data);
- var resource = Globalize(BR_ROOT.BR_global.currentLocaleID);
- BR_ROOT.BR_global.languageResource = resource;
- // shopID毎の上書きリソースを読み込む
- return getShopLanguageResourceAsync(shopResourceFile).then(
- function (data) {
- return $.Deferred().resolve(data);
- },
- function (data) {
- return $.Deferred().resolve(undefined);
- });
- }).then(function (data) {
- if (data != undefined) {
- Globalize.loadMessages(data);
- BR_ROOT.BR_global.initialize();
- // 右クリックメニューのリソースを設定する
- var $viewerMarkerContextMenuList = $('#viewerMarkerContextMenuList');
- var $markerListContextMenuList = $('#markerListContextMenuList');
- $viewerMarkerContextMenuList.children('#remove').text(viewModelUtility.getGlobalizedString('markerMenu/remove/title'));
- $markerListContextMenuList.children('#move').text(viewModelUtility.getGlobalizedString('markerMenu/move/title'));
- $markerListContextMenuList.children('#delete').text(viewModelUtility.getGlobalizedString('markerMenu/delete/title'));
- }
- //alert('パラメーターから取得したShopIDは\n\n' + BR_ROOT.BR_global.currentShopID + '\n\nです。');
- //alert('パラメーターから取得したLocaleIDは\n\n' + BR_ROOT.BR_global.currentLocaleID + '\n\nです。');
- // 現在のプラットフォームを設定する
- var platformType = BR_ROOT.BR_global.getParameter('platformType');
- //alert('パラメーターから取得したプラットフォームタイプは\n\n' + platformType + '\n\nです。');
- if (platformType != undefined) {
- BR_ROOT.BR_global.setCurrentPlatform(platformType);
- } else {
- //ブラウザ別設定
- var B = new BR_ROOT.BR_global.checkBrowserType();
- if (B.iPhone || B.iPod || B.Android) {
- BR_ROOT.BR_global.currentPlatform = BR_ROOT.BR_global.platformType.SmartPhone;
- } else if (B.iPad) {
- BR_ROOT.BR_global.currentPlatform = BR_ROOT.BR_global.platformType.Tablet;
- } else {
- BR_ROOT.BR_global.currentPlatform = BR_ROOT.BR_global.platformType.PC;
- }
- }
- function showSplash() {
- //ブラウザチェック
- /*
- if (!decision.browser()) {
- BR_error.unsupportedBrowser();
- };
- */
- BR_loading.setSplash()
- .then(function () {
- BR_condition.init();
- BR_initialize.dataLoad();
- }, function () {
- // 失敗した場合
- // TODO: エラー時はどうするか?
- // alert('BR_loading.setSplash でエラーが発生しました。');
- (function () {
- var summary = viewModelUtility.getGlobalizedString('UIAlertView/common_error/system_error/summary/title');
- var description = viewModelUtility.getGlobalizedString('UIAlertView/common_error/system_error/description/title');
- alert(summary + '\n' + description);
- })();
- });
- }
- (function ($) {
- $(function () {
- //設定初期化
- function init_(){
- $("#ems_code").load("../common/js/draw.js", function(){
- $("#ems_code").empty();
- // メタタグの読み込み
- loadMeta();
- // スタイルの読み込み
- loadStyle();
- // スクリプトの読み込み
- loadScript().then(function(){
- var sessionid = BR_initialize.getUrlVars()['sessionid'];
- var keydata = BR_initialize.getUrlVars()['keydata'];
- var id = BR_initialize.getUrlVars()['id'];
- if ( (sessionid && keydata ) ||
- (sessionid && isReflow) ) {
- BR_ROOT.BR_global.BR_ViewerGlobal.BR_drmFileMode = false;
- } else if (id) {
- BR_ROOT.BR_global.BR_ViewerGlobal.BR_drmFileMode = true;
- } else {
- //alert('idパラメータが指定されていません。');
- (function () {
- var summary = viewModelUtility.getGlobalizedString('UIAlertView/common_error/system_error/summary/title');
- var description = viewModelUtility.getGlobalizedString('UIAlertView/common_error/system_error/description_wrong_parameter/title');
- alert(summary + '\n' + description);
- })();
- }
- //【コミット注意】ローカルホストで確認する場合は以下をコメント化する必要がある
- BR_ROOT.BR_global.BR_ViewerGlobal.getWatanniEpisodeInfo().then(
- function() {
- // 拡大鏡の初期化
- BR_magnifier = new BR_magnifier();
- // ヘッダーのバインド
- headerDataBind();
- // NOTE : 書籍の読み進める方向の情報が必要になったので、タイミングを load に移動させました。
- // フッターのバインド
- //footerDataBind();
- // スプラッシュ表示とデータの読み込み
- if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.PC
- || BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.Tablet) {
- showSplash();
- BR_magnifier.initialize($('#viewArea'), $('#mask'));
- } else if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.SmartPhone) {
- setTimeout(function(){
- BR_ROOT.BR_global.BR_ViewerGlobal.BR_winW = window.innerWidth;
- BR_ROOT.BR_global.BR_ViewerGlobal.BR_winH = window.innerHeight;
- $('body').height(BR_ROOT.BR_global.BR_ViewerGlobal.BR_winH + 100);
- window.scrollTo(0, 1);
- showSplash();
- }, 500);
- } else {
- // TODO : 例外的な場合はどうするか
- alert('currentPlatform が不明です。');
- }
- }
- );
- });
- });
- }
- //JSONファイル読み込み
- if(!Module.decrypt){
- Module.addOnPostRun(init_);
- } else {
- init_();
- }
- });
- })(jQuery);
- });
- })(jQuery);
- </script>
- <div id="divDynamicScriptLoader"></div>
- <div style="display: block;" id="container">
- <!-- ko if: $root.ecAPIUse !== true --><!-- /ko -->
- <!-- ko ifnot: $root.ecAPIUse !== true -->
- <div id="sideBar">
- <div id="sideBar_header">
- <div class="btn_right">
- <span id="sideBar_storeBtn" class="btnNoBorder inline" style="margin-right:6px;" data-bind="text: $root.utility.getGlobalizedString('sidebar/buttonStore/title')">ストア</span>
- <span id="sideBar_bookshelfBtn" class="btnNoBorder inline" style="margin-right:6px;" data-bind="text: $root.utility.getGlobalizedString('sidebar/buttonBookShelf/title')">本棚</span>
- <!-- ko if: $root.showLogoutButton -->
- <span id="sideBar_logoutBtn" class="btnNoBorder inline" style="margin-right:6px;" data-bind="text: $root.utility.getGlobalizedString('sidebar/buttonLogout/title')">ログアウト</span>
- <!-- /ko -->
- <span id="sideBar_endBtn" class="btnNoBorder inline" data-bind="text: $root.utility.getGlobalizedString('sidebar/buttonTerminate/title')">終了</span>
- </div>
- </div>
- <div id="sideBar_inner">
- <div id="sideBar_scrollArea">
- <div class="h4_box">
- <h4 data-bind="text: $root.utility.getGlobalizedString('sidebar/currentReadingBook/title')">読書中書籍</h4>
- </div>
- <div id="sideBar_bookInfo">
- <div class="bookThumb">
- <p>
- <img alt="現代魔女の就職事情(1)" src="https://haishin.ebookjapan.jp/contents/images-m/I0100008746561.jpg" data-bind="attr : { src : $root.thumbURLHTTPS, alt : $root.titleBookName }">
- </p>
- </div>
- <div class="bookProperty">
- <!-- ko if: $root.titleBookBrowserSpecialFlag !== true -->
- <span class="name" data-bind="text: $root.BR_book.title">現代魔女の就職事情(1)</span>
- <!-- /ko -->
- <!-- ko ifnot: $root.titleBookBrowserSpecialFlag !== true --><!-- /ko -->
- <!-- ko if: $root.titleBookBrowserSpecialFlag !== true && $root.tachiyomiBook === true --><!-- /ko -->
- </div>
- <div class="btns">
- <!-- ko if: $root.titleBookBrowserSpecialFlag !== true && $root.tachiyomiBook === true --><!-- /ko -->
- <a href="http://www.ebookjapan.jp/ebj/title/338766.html" class="btn btnSidebarInfo" style="margin-bottom:10px;" data-bind="attr : { href: $root.getProductURL($root.titleBookSKU, $root.titleBookBookID) }, text: $root.utility.getGlobalizedString('sidebar/productPage/title')">作品ページ</a>
- <span id="sideBar_infoBtn" class="btn btnSidebarInfo" data-bind="text: $root.utility.getGlobalizedString('sidebar/bookDetail/title')">詳細</span>
- </div>
- </div>
- <div class="h4_box">
- <h4 data-bind="text: $root.utility.getGlobalizedString('sidebar/series/title')">シリーズ</h4>
- </div>
- <ul class="sideBar_list">
- <!-- ko foreach: {data: $root.EC_titleBook, as : 'titleBook' } -->
- <!-- ko if: titleBook.titleBookBrowserSpecialFlag === true --><!-- /ko -->
- <!-- ko ifnot: titleBook.titleBookBrowserSpecialFlag === true -->
- <!-- ko if: titleBook.titleBookBought === true -->
- <!-- ko if: titleBook.titleBookBookID === $root.BR_book.id -->
- <li>
- <span class="seriesBook current">
- <span class="seriesBookName">
- <span class="spanAdded" data-bind="text: titleBook.titleBookName">現代魔女の就職事情(1)</span>
- <br>
- <span class="seriesBookPrice" data-bind="text: $root.utility.getGlobalizedString('sidebar/buttonPurchase_purchased/title')">購入済</span>
- </span>
- <span class="seriesBookBtns">
- <a href="https://br.ebookjapan.jp/br/reader/bookshelf/index.html?ebdl=02b0010616020521105452150c5e0a581d1e12144d575d3e505c425b0f0d575c4b5b575e5f0f0d000f7f612f4874262b1f0756520a000157041e051853445948010a08485517&shopID=eBookJapan" class="btn bookread inline" data-bind="attr : { href : $root.getTrunkDLURL(titleBook) }, text: $root.utility.getGlobalizedString('sidebar/buttonStandAndRead_purchased/title')">読書</a>
- </span>
- </span>
- </li>
- <!-- /ko -->
- <!-- ko ifnot: titleBook.titleBookBookID === $root.BR_book.id --><!-- /ko -->
- <!-- /ko -->
- <!-- ko ifnot: titleBook.titleBookBought === true --><!-- /ko -->
- <!-- /ko -->
- <!-- /ko -->
- </ul>
- <!-- ko if: ($data.headOffice) -->
- <div class="h4_box">
- <h4 data-bind="text: $root.utility.getGlobalizedString('sidebar/relationalProduct/title')">関連する他の作品</h4>
- </div>
- <ul class="sideBar_list">
- <!-- ko if: $root.authorName1 !== '' -->
- <li>
- <a href="http://www.ebookjapan.jp/ebj/author.asp?authorid=81830&" class="listlink1" data-bind="attr : { href : $root.getAuthorURL($root.EC_titleInfo.authorID1) }">
- <span class="link" data-bind="text: $root.getFormattedAuthorName($root.EC_titleInfo.authorName1)">「はま」の作品一覧</span>
- </a>
- </li>
- <!-- /ko -->
- <!-- ko if: $root.authorName2 !== '' -->
- <li>
- <a href="http://www.ebookjapan.jp/ebj/author.asp?authorid=26209&" class="listlink1" data-bind="attr : { href : $root.getAuthorURL($root.EC_titleInfo.authorID2) }">
- <span class="link" data-bind="text: $root.getFormattedAuthorName($root.EC_titleInfo.authorName2)">「相沢沙呼」の作品一覧</span>
- </a>
- </li>
- <!-- /ko -->
- <li>
- <a href="http://www.ebookjapan.jp/ebj/publisher.asp?publisherid=400400&" class="listlink1" data-bind="attr : { href : $root.getPublisherURL($root.EC_titleInfo.publisherID) }">
- <span class="link" data-bind="text: $root.getFormattedPublisherName($root.EC_titleInfo.publisherName)">「KADOKAWA / アスキー・メディアワークス」の作品一覧</span>
- </a>
- </li>
- <!-- ko if: $root.localeID != "zh" -->
- <!-- ko foreach: {data: $root.EC_genre, as : 'genre' } -->
- <li>
- <a href="http://www.ebookjapan.jp/ebj/tag_genre.asp?genreid=2000&" class="listlink1" data-bind="attr : { href : $root.getGenreURL(genre.genreID) }">
- <span class="link" data-bind="text: $root.getFormattedGenreName(genre.genreName)">「少年マンガ」の作品一覧</span>
- </a>
- </li>
- <li>
- <a href="http://www.ebookjapan.jp/ebj/tag_genre.asp?genreid=3002&" class="listlink1" data-bind="attr : { href : $root.getGenreURL(genre.genreID) }">
- <span class="link" data-bind="text: $root.getFormattedGenreName(genre.genreName)">「ファンタジー」の作品一覧</span>
- </a>
- </li>
- <li>
- <a href="http://www.ebookjapan.jp/ebj/tag_genre.asp?genreid=31357&" class="listlink1" data-bind="attr : { href : $root.getGenreURL(genre.genreID) }">
- <span class="link" data-bind="text: $root.getFormattedGenreName(genre.genreName)">「電撃コミックスNEXT」の作品一覧</span>
- </a>
- </li>
- <!-- /ko -->
- <!-- /ko -->
- </ul>
- <!-- /ko -->
- </div>
- </div>
- <div id="sideBar_footer">
- <div class="btn_right">
- <div title="サイドバー" id="sideBar_closeBtn" class="divFooterToolButton sideBarOpenCloseButton" data-bind="attr: { 'title' : $root.utility.getGlobalizedString('footer/toolButtonNames/siderbarButton/title') }">
- <img class="off visible" src="./img/toolbar_rightopen_off@2x.png">
- <img class="on" src="./img/toolbar_rightopen_on@2x.png">
- <img class="ng" src="./img/toolbar_rightopen_ng@2x.png">
- </div>
- </div>
- </div>
- </div>
- <!-- /ko -->
- <div class="leftCursor" style="transition-duration: 0ms; width: 1660px; height: 691px;" id="viewArea">
- <header style="transform: translate3d(0px, 0px, 0px); transition: transform 200ms cubic-bezier(0, 0, 0.25, 1) 0s;">
- <div id="topnav">
- <p id="sitelogo">
- <span style="" id="btn_ebookjapan" data-bind="attr: {style : $root.utility.getGlobalizedString('header/sitelogo/style')}"></span>
- </p>
- <ul id="sitenav_utility" class="clearfix">
- <li>
- <span id="btn_store" data-bind="text: $root.utility.getGlobalizedString('header/store/title')">ストア</span>
- </li>
- <!-- ko if: !$root.isHontsuku -->
- <li>
- <span id="btn_bookshelf" data-bind="text: $root.utility.getGlobalizedString('header/bookShelf/title')">本棚</span>
- </li>
- <!-- ko if: !$root.useWebView && localStorage.getItem(BR_ROOT.BR_global.storageName_baseKey + '.trunk.sessionID')-->
- <li>
- <span id="btn_logout" data-bind="text: $root.utility.getGlobalizedString('header/logout/title')">ログアウト</span>
- </li>
- <!-- /ko -->
- <!-- /ko -->
- <li>
- <span id="btn_help" data-bind="text: $root.utility.getGlobalizedString('header/help/title')">ヘルプ</span>
- </li>
- </ul>
- </div>
- <div class="divHeader2 forNormal visible">
- <!-- ko if: $root.ecAPIUse == false --><!-- /ko -->
- <!-- ko ifnot: $root.ecAPIUse == false -->
- <div class="btn_left2">
- <!-- ko if: !$root.useWebView -->
- <!-- ko if: !$root.isHontsuku -->
- <span id="header_endBtn" class="btnNoBorder inline" data-bind="text: $root.utility.getGlobalizedString('header/buttonTerminate/title')">終了</span>
- <!-- /ko -->
- <!-- ko if: $root.isHontsuku --><!-- /ko -->
- <!-- /ko -->
- <!--<span id="header_historyBtn" class="btn inline">履歴</span>-->
- </div>
- <div class="btn_right2">
- <!-- 拡大鏡 -->
- <!-- ko if: $root.canShowMagnifierButton -->
- <!--<input id="debugText" type="text" value="5" />-->
- <!--<input id="buttonChangeMagnifierSize" type="button" value="虫眼鏡サイズ変更" />-->
- <!--<input id="header_magnifier" type="button" value="虫眼鏡_off" tool-name="虫眼鏡" switch="off" />-->
- <!--<div id="divButtonMagnifier" class="divHeaderToolButton">-->
- <!--<img class="header_magnifier header_magnifier_button"-->
- <!--data-bind="attr : { src : $root.magnifierButtonImagePathOff }"/>-->
- <!--</div>-->
- <!-- /ko -->
- <!-- ko if: $root.canShowSearchBuuton --><!-- /ko -->
- <!-- ko if: $root.canShowBookmarkButton -->
- <img style="display: none;" src="img/bookmark_off@2x.png" id="header_bookmark" data-bind="attr : { src : $root.bookmarkBarButtonImagePath }">
- <!-- /ko -->
- <!-- ko if: $root.ecAPIUse == true && $root.EC_thisBook.titleBookBrowserSpecialFlag != true && $root.tachiyomiBook == true --><!-- /ko -->
- <span id="header_infoBtn" class="btnNoBorder inline" data-bind="text: $root.utility.getGlobalizedString('header/buttonDetail/title')">詳細</span>
- </div>
- <h2 id="header_bookname">
- <span class="name" data-bind="text: $root.headerBookTitle">現代魔女の就職事情(1)</span>
- <!-- ko if: $root.titleBookBrowserSpecialFlag != true && $root.tachiyomiBook == true --><!-- /ko -->
- </h2>
- <!-- /ko -->
- </div>
- <div class="divHeader2 forSearch">
- <div class="divTable divTableHeight divHeader4Search">
- <div class="divTableRow divHeader4SearchRow">
- <div class="divTableCell divSearchBarArea">
- <form class="formSearchBar">
- <div class="divSearchBar">
- <div class="divTable divTableHeight">
- <div class="divTableRow">
- <div class="divTableCell divSearchTextBoxLeftCell">
- <div class="divSearchTextBoxLeftCellContent divTextBoxHeight divTextBoxColor"></div>
- </div>
- <div class="divTableCell divSearchTextBoxCell">
- <div class="divSearchTextBoxHost divTextBoxHeight divTextBoxColor">
- <input placeholder="ここに検索用文字列を入力してください。" value="" data-bind="attr:{ placeholder: $root.utility.getGlobalizedString('header/textSearch/title') }" type="text">
- </div>
- </div>
- <div class="divTableCell divClearButtonCell">
- <div class="divClearButtonCellContent divTextBoxHeight divTextBoxColor">
- <div class="divTable">
- <div class="divTableRow">
- <div class="divTableCell divClearButtonCell">
- <div class="divButtonImageHost divClearButtonHost divClearButtonSize">
- <img class="off visible" src="./img/reflow/searchText/search_box_off@2x.png">
- <img class="on" src="./img/reflow/searchText/search_box_on@2x.png">
- <!--<img class="ng" src="./img/reflow/searchText/search_box_go_ng@2x.png" />-->
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="divTableCell divSearchTextBoxRightCell">
- <div class="divSearchTextBoxRightCellContent divTextBoxHeight divTextBoxColor"></div>
- </div>
- <div class="divTableCell divButtonCell divSearchButtonCell visible">
- <div class="divButtonImageHost divSearchButtonHost divSearchButtonSize">
- <img class="off visible" src="./img/reflow/searchText/search_box_btn_off@2x.png">
- <img class="on" src="./img/reflow/searchText/search_box_btn_on@2x.png">
- <div class="divSearchButtonText" data-bind="text: $root.utility.getGlobalizedString('header/buttonSearch/title')">検索</div>
- </div>
- </div>
- <div class="divTableCell divButtonCell divSearchResultMoveButtonCell">
- <div class="divSearchResultMoveButtonLeft divButtonImageHost divSearchResultMoveButtonHost divSearchResultMoveButtonSize">
- <img class="off visible" src="./img/reflow/searchText/search_box_go_off@2x.png">
- <img class="on" src="./img/reflow/searchText/search_box_go_on@2x.png">
- <!--<img class="ng" src="./img/reflow/searchText/search_box_go_ng@2x.png" />-->
- </div>
- </div>
- <div class="divTableCell divButtonCell divSearchResultMoveButtonCell">
- <div class="divSearchResultMoveButtonRight divButtonImageHost divSearchResultMoveButtonHost divSearchResultMoveButtonSize">
- <img class="off visible" src="./img/reflow/searchText/search_box_back_off@2x.png">
- <img class="on" src="./img/reflow/searchText/search_box_back_on@2x.png">
- <!--<img class="ng" src="./img/reflow/searchText/search_box_back_ng@2x.png" />-->
- </div>
- </div>
- <div class="divTableCell divButtonCell divSearchButtonCell visible">
- <div class="divButtonImageHost divSearchButtonHost divSearchButtonSize">
- <div id="header_searchend" class="divSearchButtonText" data-bind="text: $root.utility.getGlobalizedString('header/buttonTerminate/title')">終了</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </header>
- <div style="width: 1660px; height: 691px;" id="markerDrawArea"></div>
- <div style="top: 0px; left: 345px; right: auto; width: 485px; height: 691px;" id="mask">
- <div id="centerClickArea"></div>
- <div id="inner" class="clearfix" order="0"><canvas id="canvas-0" page="false" width="1080" height="1536" style="display: block; margin: 0px auto; width: 485px; height: 691px; transform-origin: left top 0px; transition: transform 0ms ease 0s; transform: translate(-1455px, 0px);"></canvas><canvas id="canvas-1" page="false" width="1080" height="1536" style="display: block; margin: 0px auto; width: 485px; height: 691px; transform-origin: left top 0px; transition: transform 0ms ease 0s; transform: translate(1940px, 0px);"></canvas><canvas id="canvas-2" page="false" width="1080" height="1536" style="display: block; margin: 0px auto; width: 485px; height: 691px; transform-origin: left top 0px; transition: transform 0ms ease 0s; transform: translate(1455px, 0px);"></canvas><canvas class="" id="canvas-3" page="false" width="1080" height="1536" style="display: block; margin: 0px auto; width: 485px; height: 691px; transform-origin: left top 0px; transition: transform 0ms ease 0s; transform: translate(970px, 0px);"></canvas><canvas class="" id="canvas-4" page="-1" width="1080" height="1536" style="display: block; margin: 0px auto; width: 485px; height: 691px; transform-origin: left top 0px; transition: transform 0ms ease 0s; transform: translate(485px, 0px);"></canvas><canvas class="current" id="canvas-5" page="0" width="1080" height="1536" style="display: block; margin: 0px auto; width: 485px; height: 691px; transform-origin: left top 0px; transition: transform 0ms ease 0s; transform: translate(0px, 0px);"></canvas><canvas class="" id="canvas-6" page="1" width="1080" height="1536" style="display: block; margin: 0px auto; width: 485px; height: 691px; transform-origin: left top 0px; transition: transform 0ms ease 0s; transform: translate(-485px, 0px);"></canvas><canvas class="" id="canvas-7" page="2" width="1080" height="1536" style="display: block; margin: 0px auto; width: 485px; height: 691px; transform-origin: left top 0px; transition: transform 0ms ease 0s; transform: translate(-970px, 0px);"></canvas><canvas id="preImg" style="top: -9999px; width: 485px; height: 691px; transition: transform 0ms ease 0s;"></canvas></div>
- </div>
- <footer style="transform: translate(0px, 0px); transition: transform 200ms cubic-bezier(0, 0, 0.25, 1) 0s;">
- <div data-bind="template: 'footer-template-1dan'" id="divFooter">
- <div class="divFooter">
- <div class="divTable">
- <div class="divTableRow">
- <!-- 自動ページ送り -->
- <!-- ko if: $root.canShowAutoPagingButton -->
- <div class="divTableCell">
- <div title="自動再生" id="divButtonAutoPlayLeftToRight" class="divButtonAutoPlay divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.autoPlayButtonName }">
- <img class="off visible" src="./img/play_left_off.png">
- <img class="on" src="./img/play_left_on.png">
- <img class="ng" src="./img/play_left_ng.png">
- </div>
- <div title="自動再生" id="divButtonAutoPlayRightToLeft" class="divButtonAutoPlay divFooterToolButton visible" data-bind="attr: { 'title' : $root.toolButtonNames.autoPlayButtonName }">
- <img class="off visible" src="./img/play_right_off.png">
- <img class="on" src="./img/play_right_on.png">
- <img class="ng" src="./img/play_right_ng.png">
- </div>
- </div>
- <!-- /ko -->
- <!-- リンクジャンプ戻る -->
- <!-- ko if: $root.canShowLinkJumpBackButton -->
- <div class="divTableCell">
- <div title="リンク元に戻る" id="divButtonLinkJumpBackLeftToRight" class="divButtonLinkJumpBack divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.linkJumpBackButtonName }">
- <img class="off visible" src="./img/linkback_left_off.png">
- <img class="on" src="./img/linkback_left_on.png">
- <img class="ng" src="./img/linkback_left_ng.png">
- </div>
- <div title="リンク元に戻る" id="divButtonLinkJumpBackRightToLeft" class="divButtonLinkJumpBack divFooterToolButton visible" data-bind="attr: { 'title' : $root.toolButtonNames.linkJumpBackButtonName }">
- <img class="off visible" src="./img/linkback_right_off.png">
- <img class="on" src="./img/linkback_right_on.png">
- <img class="ng" src="./img/linkback_right_ng.png">
- </div>
- </div>
- <!-- /ko -->
- <!-- スライダー -->
- <!-- ko if: $root.canShowSlider -->
- <div class="divTableCell divTableCellWidthAuto">
- <div id="footer_inner" class="divSliderHost">
- <div id="slider" class="divSlider"><span id="sliderMinNum" class="right">0</span><span id="sliderMaxNum" class="left">200</span><span id="sliderBG"></span><div style="display: none;" id="sliderBookmarkArea"><span id="sliderBookmarkImg"></span></div><div style="transform: translate(1335px, 0px);" id="sliderMoveArea"><span id="sliderSelectNum">0</span><span id="sliderMoveBtn"></span></div></div>
- </div>
- </div>
- <!-- /ko -->
- <!-- 最後へ(|←) -->
- <!-- ko if: $root.canShowLeftEndButton --><!-- /ko -->
- <!-- 次へ(←) -->
- <!-- ko if: $root.canShowLeftButton --><!-- /ko -->
- <!-- 前へ(→) -->
- <!-- ko if: $root.canShowRightButton --><!-- /ko -->
- <!-- 最初へ(→|) -->
- <!-- ko if: $root.canShowRightEndButton --><!-- /ko -->
- <!-- 拡大鏡 -->
- <!-- ko if: $root.canShowMagnifierButton -->
- <!-- ko if: !$root.isWatanni -->
- <div class="divTableCell">
- <div title="拡大鏡" id="divButtonMagnifier" class="divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.magnifierButtonName }">
- <img class="off visible" src="./img/magnifyingglass_off.png">
- <img class="on" src="./img/magnifyingglass_on.png">
- <img class="ng" src="./img/magnifyingglass_ng.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.magnifierButtonName">拡大鏡</div>
- </div>
- <!-- /ko -->
- <!-- /ko -->
- <!-- ページ移動 -->
- <!-- ko if: $root.canShowPageMoveButton -->
- <div class="divTableCell">
- <div title="ページ移動" id="divButtonPageMove" class="divFooterToolButton pageMoveButton" data-bind="attr: { 'title' : $root.toolButtonNames.pageMoveButtonName }">
- <img class="off visible" src="./img/pagemove_off@2x.png">
- <img class="on" src="./img/pagemove_on@2x.png">
- <img class="ng" src="./img/pagemove_ng@2x.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.pageMoveButtonName">ページ移動</div>
- </div>
- <!-- /ko -->
- <!-- 表示モード -->
- <!-- ko if: $root.canShowModeChangeButton -->
- <!-- ko if: !$root.isWatanni -->
- <div class="divTableCell">
- <div title="表示モード" id="divModeChangeButton" class="divFooterToolButton modeChangeButton" data-bind="attr: { 'title' : $root.toolButtonNames.modeChangeButtonName }">
- <img class="off visible" src="./img/hyouji_off@2x.png">
- <img class="on" src="./img/hyouji_on@2x.png">
- <img class="ng" src="./img/hyouji_ng@2x.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.modeChangeButtonName">表示モード</div>
- </div>
- <!-- /ko -->
- <!-- /ko -->
- <!-- 検索 -->
- <!-- ko if: $root.canShowTextSearchButton --><!-- /ko -->
- <!-- ページ設定 -->
- <!-- ko if: $root.canShowPageSettingButton --><!-- /ko -->
- <!-- 付箋 -->
- <!-- ko if: $root.canShowStickyButton --><!-- /ko -->
- <!-- 設定 -->
- <!-- ko if: $root.canShowSettingButton -->
- <div class="divTableCell">
- <div title="設定" id="divSettingButton" class="divFooterToolButton settingButton" data-bind="attr: { 'title' : $root.toolButtonNames.settingButtonName }">
- <img class="off visible" src="./img/setting_off@2x.png">
- <img class="on" src="./img/setting_on@2x.png">
- <img class="ng" src="./img/setting_ng@2x.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.settingButtonName">設定</div>
- </div>
- <!-- /ko -->
- <!-- サイドバー -->
- <!-- ko if: $root.canShowSidebarButton -->
- <div style="display: none;" class="divTableCell" id="divTableCellSidebarOpenClose">
- <div title="サイドバー" id="divSidebarOpenCloseButton" class="divFooterToolButton sideBarOpenCloseButton" data-bind="attr: { 'title' : $root.toolButtonNames.siderbarButtonName }">
- <img class="off visible" src="./img/toolbar_rightopen_off@2x.png">
- <img class="on" src="./img/toolbar_rightopen_on@2x.png">
- <img class="ng" src="./img/toolbar_rightopen_ng@2x.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.siderbarButtonName">サイドバー</div>
- </div>
- <!-- /ko -->
- </div>
- </div>
- <div class="divCopyright" data-bind="html: $root.utility.getGlobalizedString('footer/copyright/title')">Copyright © eBOOK Initiative Japan Co.,Ltd.</div>
- </div>
- </div>
- </footer>
- <div id="controller"></div>
- <div id="banner" class="banner" style="display:none;">
- <div class="banner_tree">
- <div class="banner_outline">
- <div class="banner_box">
- <div class="banner_img">
- <div class="btn_right">
- <span class="btnNoBorder" id="banner_close"><img src="img/close.png"> </span>
- </div>
- <div class="logo"> </div>
- </div><!--.banner-img-->
- <div class="text_box">
- <div class="text_small" id="banner_copywriting"></div>
- <div class="text_big"><p>会員登録はコチラ</p></div>
- </div><!--.text_box-->
- </div><!--.banner_box-->
- </div><!--.banner_outline-->
- </div><!--.banner_tree-->
- </div><!--.banner-->
- <script>
- //【差異】pc.html と webview.html だけ↓の要素がある
- if (BR_ROOT.BR_global.currentPlatform === BR_ROOT.BR_global.platformType.PC) {
- document.write('<div id="finish"></div>');
- }
- </script>
- <div style="width: 200px; height: 200px; display: none; left: 327px; top: 496px;" id="magnifying_glass" class="magnifying_glass"><div style="transform: scale(2); left: 100px; top: 100px;" id="magnified_content" class="magnified_content"></div></div></div>
- </div>
- <!-- フッターのテンプレート -->
- <div id="footerHost" class="templateDefaultStyle" style="visibility: hidden">
- <!-------------------------------------------------------------------->
- <!-- フッター(UIリファクタリング後) ここから -->
- <!-------------------------------------------------------------------->
- <!---------------------------------------------------->
- <!-- 1段表示 ここから -->
- <!---------------------------------------------------->
- <script type="text/html" id="footer-template-1dan">
- <div class="divFooter">
- <div class="divTable">
- <div class="divTableRow">
- <!-- 自動ページ送り -->
- <!-- ko if: $root.canShowAutoPagingButton -->
- <div class="divTableCell">
- <div id="divButtonAutoPlayLeftToRight" class="divButtonAutoPlay divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.autoPlayButtonName }">
- <img class="off visible" src="./img/play_left_off.png" />
- <img class="on" src="./img/play_left_on.png" />
- <img class="ng" src="./img/play_left_ng.png" />
- </div>
- <div id="divButtonAutoPlayRightToLeft" class="divButtonAutoPlay divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.autoPlayButtonName }">
- <img class="off visible" src="./img/play_right_off.png" />
- <img class="on" src="./img/play_right_on.png" />
- <img class="ng" src="./img/play_right_ng.png" />
- </div>
- </div>
- <!-- /ko -->
- <!-- リンクジャンプ戻る -->
- <!-- ko if: $root.canShowLinkJumpBackButton -->
- <div class="divTableCell">
- <div id="divButtonLinkJumpBackLeftToRight" class="divButtonLinkJumpBack divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.linkJumpBackButtonName }">
- <img class="off visible" src="./img/linkback_left_off.png" />
- <img class="on" src="./img/linkback_left_on.png" />
- <img class="ng" src="./img/linkback_left_ng.png" />
- </div>
- <div id="divButtonLinkJumpBackRightToLeft" class="divButtonLinkJumpBack divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.linkJumpBackButtonName }">
- <img class="off visible" src="./img/linkback_right_off.png" />
- <img class="on" src="./img/linkback_right_on.png" />
- <img class="ng" src="./img/linkback_right_ng.png" />
- </div>
- </div>
- <!-- /ko -->
- <!-- スライダー -->
- <!-- ko if: $root.canShowSlider -->
- <div class="divTableCell divTableCellWidthAuto">
- <div id="footer_inner" class="divSliderHost">
- <div id="slider" class="divSlider"></div>
- </div>
- </div>
- <!-- /ko -->
- <!-- 最後へ(|←) -->
- <!-- ko if: $root.canShowLeftEndButton -->
- <div class="divTableCell">
- <div id="divButtonLeftEnd" class="divFooterToolButton pageMoveButtonLeftEnd" data-bind="attr: { 'title' : $root.toolButtonNames.leftEndButtonName }">
- <img class="off visible" src="./img/Watanni/page_end_off@2x.png" />
- <img class="on" src="./img/Watanni/page_end_on@2x.png" />
- <img class="ng" src="./img/Watanni/page_end_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.leftEndButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 次へ(←) -->
- <!-- ko if: $root.canShowLeftButton -->
- <div class="divTableCell">
- <div id="divButtonLeft" class="divFooterToolButton pageMoveButtonLeft" data-bind="attr: { 'title' : $root.toolButtonNames.leftButtonName }">
- <img class="off visible" src="./img/Watanni/page_next_off@2x.png" />
- <img class="on" src="./img/Watanni/page_next_on@2x.png" />
- <img class="ng" src="./img/Watanni/page_next_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.leftButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 前へ(→) -->
- <!-- ko if: $root.canShowRightButton -->
- <div class="divTableCell">
- <div id="divButtonRight" class="divFooterToolButton pageMoveButtonRight" data-bind="attr: { 'title' : $root.toolButtonNames.rightButtonName }">
- <img class="off visible" src="./img/Watanni/page_back_off@2x.png" />
- <img class="on" src="./img/Watanni/page_back_on@2x.png" />
- <img class="ng" src="./img/Watanni/page_back_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.rightButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 最初へ(→|) -->
- <!-- ko if: $root.canShowRightEndButton -->
- <div class="divTableCell">
- <div id="divButtonRightEnd" class="divFooterToolButton pageMoveButtonRightEnd" data-bind="attr: { 'title' : $root.toolButtonNames.rightEndButtonName }">
- <img class="off visible" src="./img/Watanni/page_start_off@2x.png" />
- <img class="on" src="./img/Watanni/page_start_on@2x.png" />
- <img class="ng" src="./img/Watanni/page_start_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.rightEndButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 拡大鏡 -->
- <!-- ko if: $root.canShowMagnifierButton -->
- <!-- ko if: !$root.isWatanni -->
- <div class="divTableCell">
- <div id="divButtonMagnifier" class="divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.magnifierButtonName }">
- <img class="off visible" src="./img/magnifyingglass_off.png" />
- <img class="on" src="./img/magnifyingglass_on.png" />
- <img class="ng" src="./img/magnifyingglass_ng.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.magnifierButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- /ko -->
- <!-- ページ移動 -->
- <!-- ko if: $root.canShowPageMoveButton -->
- <div class="divTableCell">
- <div id="divButtonPageMove" class="divFooterToolButton pageMoveButton" data-bind="attr: { 'title' : $root.toolButtonNames.pageMoveButtonName }">
- <img class="off visible" src="./img/pagemove_off@2x.png" />
- <img class="on" src="./img/pagemove_on@2x.png" />
- <img class="ng" src="./img/pagemove_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.pageMoveButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 表示モード -->
- <!-- ko if: $root.canShowModeChangeButton -->
- <!-- ko if: !$root.isWatanni -->
- <div class="divTableCell">
- <div id="divModeChangeButton" class="divFooterToolButton modeChangeButton" data-bind="attr: { 'title' : $root.toolButtonNames.modeChangeButtonName }">
- <img class="off visible" src="./img/hyouji_off@2x.png" />
- <img class="on" src="./img/hyouji_on@2x.png" />
- <img class="ng" src="./img/hyouji_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.modeChangeButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- /ko -->
- <!-- 検索 -->
- <!-- ko if: $root.canShowTextSearchButton -->
- <div class="divTableCell">
- <div id="divButtonTextSearch" class="divFooterToolButton textSearchButton" data-bind="attr: { 'title' : $root.toolButtonNames.textSearchButtonName }">
- <img class="off visible" src="./img/search_off@2x.png" />
- <img class="on" src="./img/search_on@2x.png" />
- <img class="ng" src="./img/search_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.textSearchButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- ページ設定 -->
- <!-- ko if: $root.canShowPageSettingButton -->
- <div class="divTableCell">
- <div id="divPageSettingButton" class="divFooterToolButton pageSettingButton" data-bind="attr: { 'title' : $root.toolButtonNames.pageSettingButtonName }">
- <img class="off visible" src="./img/moji_off@2x.png" />
- <img class="on" src="./img/moji_on@2x.png" />
- <img class="ng" src="./img/moji_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.pageSettingButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 付箋 -->
- <!-- ko if: $root.canShowStickyButton -->
- <div class="divTableCell">
- <div id="divStickyButton" class="divFooterToolButton stickyButton" data-bind="attr: { 'title' : $root.toolButtonNames.stickyButtonName }">
- <img class="off visible" src="./img/fusen_off@2x.png" />
- <img class="on" src="./img/fusen_on@2x.png" />
- <img class="ng" src="./img/fusen_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.stickyButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 設定 -->
- <!-- ko if: $root.canShowSettingButton -->
- <div class="divTableCell">
- <div id="divSettingButton" class="divFooterToolButton settingButton" data-bind="attr: { 'title' : $root.toolButtonNames.settingButtonName }">
- <img class="off visible" src="./img/setting_off@2x.png" />
- <img class="on" src="./img/setting_on@2x.png" />
- <img class="ng" src="./img/setting_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.settingButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- サイドバー -->
- <!-- ko if: $root.canShowSidebarButton -->
- <div class="divTableCell" id="divTableCellSidebarOpenClose">
- <div id="divSidebarOpenCloseButton" class="divFooterToolButton sideBarOpenCloseButton" data-bind="attr: { 'title' : $root.toolButtonNames.siderbarButtonName }">
- <img class="off visible" src="./img/toolbar_rightopen_off@2x.png" />
- <img class="on" src="./img/toolbar_rightopen_on@2x.png" />
- <img class="ng" src="./img/toolbar_rightopen_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.siderbarButtonName"></div>
- </div>
- <!-- /ko -->
- </div>
- </div>
- <div class="divCopyright" data-bind="html: $root.utility.getGlobalizedString('footer/copyright/title')"></div>
- </div>
- </script>
- <!---------------------------------------------------->
- <!-- 1段表示 ここまで -->
- <!---------------------------------------------------->
- <!---------------------------------------------------->
- <!-- 2段表示 ここから -->
- <!---------------------------------------------------->
- <script type="text/html" id="footer-template-2dan">
- <div class="divFooter">
- <div class="divTable">
- <div class="divTableRow">
- <!-- 最後へ(|←) -->
- <!-- ko if: $root.canShowLeftEndButton -->
- <div class="divTableCell">
- <div id="divButtonLeftEnd" class="divFooterToolButton pageMoveButtonLeftEnd" data-bind="attr: { 'title' : $root.toolButtonNames.leftEndButtonName }">
- <img class="off visible" src="./img/Watanni/page_end_off@2x.png" />
- <img class="on" src="./img/Watanni/page_end_on@2x.png" />
- <img class="ng" src="./img/Watanni/page_end_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.leftEndButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 次へ(←) -->
- <!-- ko if: $root.canShowLeftButton -->
- <div class="divTableCell">
- <div id="divButtonLeft" class="divFooterToolButton pageMoveButtonLeft" data-bind="attr: { 'title' : $root.toolButtonNames.leftButtonName }">
- <img class="off visible" src="./img/Watanni/page_next_off@2x.png" />
- <img class="on" src="./img/Watanni/page_next_on@2x.png" />
- <img class="ng" src="./img/Watanni/page_next_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.leftButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 前へ(→) -->
- <!-- ko if: $root.canShowRightButton -->
- <div class="divTableCell">
- <div id="divButtonRight" class="divFooterToolButton pageMoveButtonRight" data-bind="attr: { 'title' : $root.toolButtonNames.rightButtonName }">
- <img class="off visible" src="./img/Watanni/page_back_off@2x.png" />
- <img class="on" src="./img/Watanni/page_back_on@2x.png" />
- <img class="ng" src="./img/Watanni/page_back_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.rightButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 最初へ(→|) -->
- <!-- ko if: $root.canShowRightEndButton -->
- <div class="divTableCell">
- <div id="divButtonRightEnd" class="divFooterToolButton pageMoveButtonRightEnd" data-bind="attr: { 'title' : $root.toolButtonNames.rightEndButtonName }">
- <img class="off visible" src="./img/Watanni/page_start_off@2x.png" />
- <img class="on" src="./img/Watanni/page_start_on@2x.png" />
- <img class="ng" src="./img/Watanni/page_start_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.rightEndButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 拡大鏡 -->
- <!-- ko if: $root.canShowMagnifierButton -->
- <div class="divTableCell">
- <div id="divButtonMagnifier" class="divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.magnifierButtonName }">
- <img class="off visible" src="./img/magnifyingglass_off.png" />
- <img class="on" src="./img/magnifyingglass_on.png" />
- <img class="ng" src="./img/magnifyingglass_ng.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.magnifierButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- ページ移動 -->
- <!-- ko if: $root.canShowPageMoveButton -->
- <div class="divTableCell">
- <div id="divButtonPageMove" class="divFooterToolButton pageMoveButton" data-bind="attr: { 'title' : $root.toolButtonNames.pageMoveButtonName }">
- <img class="off visible" src="./img/pagemove_off@2x.png" />
- <img class="on" src="./img/pagemove_on@2x.png" />
- <img class="ng" src="./img/pagemove_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.pageMoveButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 表示モード -->
- <!-- ko if: $root.canShowModeChangeButton -->
- <!-- ko if: !$root.isWatanni -->
- <div class="divTableCell">
- <div id="divModeChangeButton" class="divFooterToolButton modeChangeButton" data-bind="attr: { 'title' : $root.toolButtonNames.modeChangeButtonName }">
- <img class="off visible" src="./img/hyouji_off@2x.png" />
- <img class="on" src="./img/hyouji_on@2x.png" />
- <img class="ng" src="./img/hyouji_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.modeChangeButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- /ko -->
- <!-- 検索 -->
- <!-- ko if: $root.canShowTextSearchButton -->
- <div class="divTableCell">
- <div id="divButtonTextSearch" class="divFooterToolButton textSearchButton" data-bind="attr: { 'title' : $root.toolButtonNames.textSearchButtonName }">
- <img class="off visible" src="./img/search_off@2x.png" />
- <img class="on" src="./img/search_on@2x.png" />
- <img class="ng" src="./img/search_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.textSearchButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- ページ設定 -->
- <!-- ko if: $root.canShowPageSettingButton -->
- <div class="divTableCell">
- <div id="divPageSettingButton" class="divFooterToolButton pageSettingButton" data-bind="attr: { 'title' : $root.toolButtonNames.pageSettingButtonName }">
- <img class="off visible" src="./img/moji_off@2x.png" />
- <img class="on" src="./img/moji_on@2x.png" />
- <img class="ng" src="./img/moji_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.pageSettingButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 付箋 -->
- <!-- ko if: $root.canShowStickyButton -->
- <div class="divTableCell">
- <div id="divStickyButton" class="divFooterToolButton stickyButton" data-bind="attr: { 'title' : $root.toolButtonNames.stickyButtonName }">
- <img class="off visible" src="./img/fusen_off@2x.png" />
- <img class="on" src="./img/fusen_on@2x.png" />
- <img class="ng" src="./img/fusen_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.stickyButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 設定 -->
- <!-- ko if: $root.canShowSettingButton -->
- <div class="divTableCell">
- <div id="divSettingButton" class="divFooterToolButton settingButton" data-bind="attr: { 'title' : $root.toolButtonNames.settingButtonName }">
- <img class="off visible" src="./img/setting_off@2x.png" />
- <img class="on" src="./img/setting_on@2x.png" />
- <img class="ng" src="./img/setting_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.settingButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- サイドバー -->
- <!-- ko if: $root.canShowSidebarButton -->
- <div class="divTableCell" id="divTableCellSidebarOpenClose">
- <div id="divSidebarOpenCloseButton" class="divFooterToolButton sideBarOpenCloseButton" data-bind="attr: { 'title' : $root.toolButtonNames.siderbarButtonName }">
- <img class="off visible" src="./img/toolbar_rightopen_off@2x.png" />
- <img class="on" src="./img/toolbar_rightopen_on@2x.png" />
- <img class="ng" src="./img/toolbar_rightopen_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.siderbarButtonName"></div>
- </div>
- <!-- /ko -->
- </div>
- </div>
- <div class="divTable">
- <div class="divTableRow">
- <!-- 自動ページ送り -->
- <!-- ko if: $root.canShowAutoPagingButton -->
- <div class="divTableCell">
- <div id="divButtonAutoPlayLeftToRight" class="divButtonAutoPlay divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.autoPlayButtonName }">
- <img class="off visible" src="./img/play_left_off.png" />
- <img class="on" src="./img/play_left_on.png" />
- <img class="ng" src="./img/play_left_ng.png" />
- </div>
- <div id="divButtonAutoPlayRightToLeft" class="divButtonAutoPlay divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.autoPlayButtonName }">
- <img class="off visible" src="./img/play_right_off.png" />
- <img class="on" src="./img/play_right_on.png" />
- <img class="ng" src="./img/play_right_ng.png" />
- </div>
- </div>
- <!-- /ko -->
- <!-- リンクジャンプ戻る -->
- <!-- ko if: $root.canShowLinkJumpBackButton -->
- <div class="divTableCell">
- <div id="divButtonLinkJumpBackLeftToRight" class="divButtonLinkJumpBack divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.linkJumpBackButtonName }">
- <img class="off visible" src="./img/linkback_left_off.png" />
- <img class="on" src="./img/linkback_left_on.png" />
- <img class="ng" src="./img/linkback_left_ng.png" />
- </div>
- <div id="divButtonLinkJumpBackRightToLeft" class="divButtonLinkJumpBack divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.linkJumpBackButtonName }">
- <img class="off visible" src="./img/linkback_right_off.png" />
- <img class="on" src="./img/linkback_right_on.png" />
- <img class="ng" src="./img/linkback_right_ng.png" />
- </div>
- </div>
- <!-- /ko -->
- <!-- スライダー -->
- <!-- ko if: $root.canShowSlider -->
- <div class="divTableCell divTableCellWidthAuto">
- <div id="footer_inner" class="divSliderHost">
- <div id="slider" class="divSlider"></div>
- </div>
- </div>
- <!-- /ko -->
- </div>
- </div>
- <div class="divCopyright" data-bind="html: $root.utility.getGlobalizedString('footer/copyright/title')"></div>
- </div>
- </script>
- <!---------------------------------------------------->
- <!-- 2段表示 ここまで -->
- <!---------------------------------------------------->
- <!---------------------------------------------------->
- <!-- ほんつく用 ここから -->
- <!---------------------------------------------------->
- <script type="text/html" id="footer-template-hontsuku">
- <div class="divFooter">
- <div class="divTable">
- <div class="divTableRow">
- <div class="divTableCell divTableCellWidthAuto">
- <div id="footer_inner" class="divSliderHost">
- <div id="slider" class="divSlider"></div>
- </div>
- </div>
- <div class="divTableCell">
- <div id="divModeChangeButton" class="divFooterToolButton modeChangeButton" data-bind="attr: { 'title' : $root.toolButtonNames.modeChangeButtonName }">
- <img class="off visible" src="./img/hyouji_off@2x.png" />
- <img class="on" src="./img/hyouji_on@2x.png" />
- <img class="ng" src="./img/hyouji_ng@2x.png" />
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.modeChangeButtonName"></div>
- </div>
- </div>
- </div>
- <div class="divCopyright" data-bind="html: $root.utility.getGlobalizedString('footer/copyright/title')"></div>
- </div>
- </script>
- <!---------------------------------------------------->
- <!-- ほんつく用 ここまで -->
- <!---------------------------------------------------->
- <!-------------------------------------------------------------------->
- <!-- フッター(UIリファクタリング後) ここまで -->
- <!-------------------------------------------------------------------->
- </div>
- <!-- サイドバーのテンプレート -->
- <div id="sideBarHost" class="templateDefaultStyle" style="visibility: hidden"></div>
- <!-- 話単位用サイドバーのテンプレート -->
- <div id="sideBarHostWatanni" class="templateDefaultStyle" style="visibility: hidden">
- <div id="sideBar">
- <div id="sideBar_inner" style="top:0;">
- <div id="sideBar_scrollArea">
- <!-- ko if: $root.books.length > 0 && ($root.thumbURLHTTPS != "" || $root.thumbLinkURL ) -->
- <div class="h4_box">
- <h4 data-bind="text: $root.utility.getGlobalizedString('sidebar/volume/title')"></h4>
- </div>
- <div id="sideBar_bookInfo">
- <!-- ko if: $root.thumbURLHTTPS != "" -->
- <div class="bookThumb">
- <a data-bind="attr: {href : $root.thumbLinkURL}">
- <img class="posterImage" data-bind="attr : { src : $root.thumbURLHTTPS, alt : $root.titleBookName }">
- </a>
- </div>
- <!-- /ko -->
- <!-- ko if:$root.thumbLinkURL -->
- <div class="btns">
- <a class="btn buy watanniBuyButton" style="" data-bind="attr : { href: $root.thumbLinkURL }">
- <span class="shoppingCartIcon"></span>
- <span data-bind="text: $root.utility.getGlobalizedString('sidebar/buyComics/title')"></span>
- </a>
- </div>
- <!-- /ko -->
- </div>
- <!-- /ko -->
- <div class="h4_box">
- <h4 data-bind="text: $root.utility.getGlobalizedString('sidebar/seriesWork/title')"></h4>
- </div>
- <ul class="sideBar_list">
- <!-- ko foreach: {data: $root.regularTitles, as : 'regularTitle' } -->
- <li>
- <a class="regularTitleLink" data-bind="attr: {href: regularTitle.linkURL}">
- <span class="seriesBook seriesBookWatanni">
- <img class="regularTitleImage" data-bind="attr:{src : regularTitle.imageUrl}">
- <span class="seriesBookName seriesBookNameWatanni">
- <span class="regularTitleName" data-bind="text: regularTitle.titleName"></span>
- <br>
- <span class="regularTitleAuthor" data-bind="text: regularTitle.author[0].penName"></span>
- </span>
- </span>
- </a>
- </li>
- <!-- /ko -->
- </ul>
- </div>
- </div>
- <div id="sideBar_footer">
- <div class="btn_right">
- <div id="sideBar_closeBtn" class="divFooterToolButton sideBarOpenCloseButton" data-bind="attr: { 'title' : $root.utility.getGlobalizedString('footer/toolButtonNames/siderbarButton/title') }">
- <img class="off visible" src="./img/toolbar_rightopen_off@2x.png">
- <img class="on" src="./img/toolbar_rightopen_on@2x.png">
- <img class="ng" src="./img/toolbar_rightopen_ng@2x.png">
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- 書籍詳細ウィンドウのテンプレート -->
- <div id="detailDialogHost" class="templateDefaultStyle" style="visibility: hidden"></div>
- <!-- 読書終了ウィンドウのテンプレート -->
- <div id="closeDialogHost" class="templateDefaultStyle" style="visibility: hidden"></div>
- <!-- 話単位画面 読書終了ウィンドウのテンプレート -->
- <div id="closeDialogHostWatanni" class="templateDefaultStyle" style="visibility: hidden">
- <div id="closeWindowFixed" class="fixedContent fixedContentWatanni">
- <div class="divTable">
- <div class="divTableRow atogakiRow atogakiRowHeight">
- <div class="divTableCell bookThumbCellWatanni">
- <div class="bookThumb">
- <img class="img_bookThumb" alt="author" data-bind="attr : {src : $root.authorImageUrl }">
- </div>
- </div>
- <div class="divTableCell bookPropertyCellWatanni">
- <div class="bookProperty">
- <div class="authorField ui-helper-clearfix">
- <!-- ko if: $root.episodeInfo.getAuthorClassImageFileName($root.authorClassCode) -->
- <img class="authorClassImage" data-bind="attr : {src : './img/Watanni/' + $root.episodeInfo.getAuthorClassImageFileName($root.authorClassCode)}, style : { display : $root.showWatanniCloseDialogMenu.rank }">
- <!-- /ko -->
- <span class="nameWatanni" data-bind="text: $root.authorName"></span>
- </div>
- <div class="divOutline" data-bind="style : { display : $root.showWatanniCloseDialogMenu.afterWord }">
- <span class="outline" data-bind="text: $root.episodeInfo.episodes.currentEpisode.postscript"></span>
- </div>
- </div>
- </div>
- </div>
- <div class="divTableRow snsButtonRow snsButtonRowHeight">
- <div class="divTableCell"></div>
- <div class="divTableCell snsButtonCellWatanni">
- <div class="divSNSButtonHost snsButtonRowHeight">
- <div class="btns clearfix">
- <!-- ko if: $root.socialUse == true -->
- <!-- ko if: $root.localeID != "zh" -->
- <a class="btn facebook" target="_blank" data-bind="attr : { href : $root.getFacebookURL() }"></a>
- <a class="btn twitter" target="_blank" data-bind="attr : { href : $root.getTwitterURL() }"></a>
- <!-- /ko -->
- <!-- ko if: $root.localeID == "zh" -->
- <a target="_blank" data-bind="attr: { href: $root.getWeiboURL() }">
- <img src="./img/weibo_icon_32x32.png">
- </a>
- <!-- /ko -->
- <!-- /ko -->
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="unit" data-bind="style : { display : $root.showWatanniCloseDialogMenu.cheer }">
- <div class="divTableCell bookPropertyCellWatanni block">
- <div class="bookProperty">
- <h3 data-bind="text: $root.utility.getGlobalizedString('closeDialog/cheer/title')"></h3>
- <div class="divOutline" style="margin-right:5px;">
- <span class="outline" data-bind="text: $root.utility.getGlobalizedString('closeDialog/cheerDescription/title')"></span>
- <div class="cheerButtons ui-helper-clearfix">
- <div id="cheerButton" class="cheerButton" data-bind="style : { display : $root.showWatanniCloseDialogMenu.recommend }">
- <img class="cheerIcon" src="./img/Watanni/heart@2x.png">
- <span id="recommendCount" class="recommendCount" data-bind="text: $root.recommendCount"></span>
- <span class="recommendCountLabel" data-bind="text: $root.utility.getGlobalizedString('closeDialog/recommendPoint/title')"></span>
- <span class="recommend" data-bind="text: $root.utility.getGlobalizedString('closeDialog/recommend/title')"></span>
- </div>
- <div id="commentButton" class="commentButton" data-bind="style : { display : $root.showWatanniCloseDialogMenu.comment }">
- <img class="commentIcon" src="./img/Watanni/balloon@2x.png">
- <span data-bind="text: $root.utility.getGlobalizedString('closeDialog/comment/title')"></span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="divTable">
- <div class="divTableRow">
- <div class="divTableCell navigateContentCellWatanni">
- <div id="closeWindowWapper" class="navigateContentWatanni">
- <div class="unit">
- <h3 data-bind="text: $root.episodeInfo.episodes.currentEpisode.episodeTitle"></h3>
- <ul>
- <li id="readFirstLink">
- <div class="clearfix culumn">
- <span class="link" data-bind="text:$root.utility.getGlobalizedString('closeDialog/thisBook/readFirst/title')"></span>
- </div>
- </li>
- <li id="readNextLink">
- <div class="clearfix culumn">
- <span class="link" data-bind="text:$root.utility.getGlobalizedString('closeWindow/readNextEpisode/title')"></span>
- </div>
- </li>
- <!--<li id="endReadLink">-->
- <!--<div class="clearfix culumn">-->
- <!--<span class="link"-->
- <!--data-bind="text:$root.utility.getFormattedString('closeWindow/closeEpisodeWindow/template', [$root.utility.getGlobalizedString('closeWindow/serviceName/title')])"></span>-->
- <!--</div>-->
- <!--</li>-->
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- ヘッダーのテンプレート -->
- <div id="headerHost" class="templateDefaultStyle" style="visibility: hidden"></div>
- <!-- 話単位ヘッダーのテンプレート -->
- <div id="headerHostWatanni" class="templateDefaultStyle" style="visibility: hidden">
- <div id="topnav">
- <p id="sitelogo">
- <span id="btn_ebookjapan" data-bind="attr: {style : $root.utility.getGlobalizedString('header/sitelogo/style')}"></span>
- </p>
- <ul id="sitenav_utility" class="clearfix">
- <!-- ko ifnot: $root.isWatanni -->
- <li>
- <span id="btn_store" data-bind="text: $root.utility.getGlobalizedString('header/store/title')"></span>
- </li>
- <!-- ko if: !$root.isHontsuku -->
- <li>
- <span id="btn_bookshelf" data-bind="text: $root.utility.getGlobalizedString('header/bookShelf/title')"></span>
- </li>
- <!-- ko if: !$root.useWebView && localStorage.getItem(BR_ROOT.BR_global.storageName_baseKey + '.trunk.sessionID')-->
- <li>
- <span id="btn_logout" data-bind="text: $root.utility.getGlobalizedString('header/logout/title')"></span>
- </li>
- <!-- /ko -->
- <!-- /ko -->
- <li>
- <span id="btn_help" data-bind="text: $root.utility.getGlobalizedString('header/help/title')"></span>
- </li>
- <!-- /ko -->
- </ul>
- </div>
- <!-- ko if: $root.ecAPIUse == false -->
- <div class="btn_left2">
- <!-- ko if: !$root.useWebView -->
- <!-- ko if: $root.isHontsuku -->
- <span id="header_backBtn" class="btn inline" data-bind="text: $root.utility.getGlobalizedString('header/buttonBack/title')"></span>
- <!-- /ko -->
- <!-- /ko -->
- </div>
- <div class="btn_rightWatanni">
- <!-- 拡大鏡 -->
- <!-- ko if: $root.canShowMagnifierButton -->
- <div class="divTableCell">
- <div id="divButtonMagnifier" class="divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.magnifierButtonName }">
- <img class="off visible" src="./img/magnifyingglass_off.png">
- <img class="on" src="./img/magnifyingglass_on.png">
- <img class="ng" src="./img/magnifyingglass_ng.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.magnifierButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 表示モード -->
- <!-- ko if: $root.canShowModeChangeButton -->
- <div class="divTableCell">
- <div id="divModeChangeButton" class="divFooterToolButton modeChangeButton" data-bind="attr: { 'title' : $root.toolButtonNames.modeChangeButtonName }">
- <img class="off visible" src="./img/hyouji_off@2x.png">
- <img class="on" src="./img/hyouji_on@2x.png">
- <img class="ng" src="./img/hyouji_ng@2x.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.modeChangeButtonName"></div>
- </div>
- <!-- /ko -->
- <div class="divTableCell">
- <div class="divFooterToolButton divCloseButton" data-bind="attr : { 'title' : $root.utility.getGlobalizedString('footer/toolButtonNames/closeButtonWatanni/title') }">
- <img class="off visible" src="./img/Watanni/dialog@2x.png">
- <img class="on" src="./img/Watanni/dialog_on@2x.png">
- </div>
- </div>
- </div>
- <h2 id="header_bookname">
- <span class="name watanni" data-bind="text: $root.headerBookTitle"></span>
- </h2>
- <!-- /ko -->
- <!-- ko ifnot: $root.ecAPIUse == false -->
- <div class="btn_left2">
- <!-- ko if: !$root.useWebView -->
- <!-- ko if: $root.isHontsuku -->
- <span id="header_backBtn" class="btn inline" data-bind="text: $root.utility.getGlobalizedString('header/buttonBack/title')"></span>
- <!-- /ko -->
- <!-- /ko -->
- <!--<span id="header_historyBtn" class="btn inline">履歴</span>-->
- </div>
- <div class="btn_rightWatanni">
- <!-- ko if: $root.ecAPIUse == true && $root.EC_thisBook.titleBookBrowserSpecialFlag != true && $root.tachiyomiBook == true -->
- <a id="header_buyBtn" class="btn buy inline" data-bind="attr : { href : $root.getBuyURL($root.EC_thisBook.titleBookSKU, $root.EC_thisBook.titleBookBookID) }, text: $root.utility.getGlobalizedString('closeDialog/buttonPurchase_not_purchased/title')"></a>
- <!-- /ko -->
- <!-- 拡大鏡 -->
- <!-- ko if: $root.canShowMagnifierButton -->
- <div class="divTableCell">
- <div id="divButtonMagnifier" class="divFooterToolButton" data-bind="attr: { 'title' : $root.toolButtonNames.magnifierButtonName }">
- <img class="off visible" src="./img/magnifyingglass_off.png">
- <img class="on" src="./img/magnifyingglass_on.png">
- <img class="ng" src="./img/magnifyingglass_ng.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.magnifierButtonName"></div>
- </div>
- <!-- /ko -->
- <!-- 表示モード -->
- <!-- ko if: $root.canShowModeChangeButton -->
- <div class="divTableCell">
- <div id="divModeChangeButton" class="divFooterToolButton modeChangeButton" data-bind="attr: { 'title' : $root.toolButtonNames.modeChangeButtonName }">
- <img class="off visible" src="./img/hyouji_off@2x.png">
- <img class="on" src="./img/hyouji_on@2x.png">
- <img class="ng" src="./img/hyouji_ng@2x.png">
- </div>
- <div class="divIconSupportString" data-bind="text: $root.toolButtonNames.modeChangeButtonName"></div>
- </div>
- <!-- /ko -->
- <div class="divTableCell">
- <div class="divFooterToolButton divCloseButton" data-bind="attr : { 'title' : $root.utility.getGlobalizedString('footer/toolButtonNames/closeButton/title') }">
- <img class="off visible" src="./img/Watanni/dialog@2x.png">
- <img class="on" src="./img/Watanni/dialog_on@2x.png">
- </div>
- </div>
- </div>
- <h2 id="header_bookname">
- <span class="name" data-bind="text: $root.headerBookTitle"></span>
- <!-- ko if: $root.titleBookBrowserSpecialFlag != true && $root.tachiyomiBook == true -->
- <span class="price" data-bind="text: $root.utility.getGlobalizedString('header/nonFree/title') + ' ' + $root.titleBookPrice"></span>
- <!-- /ko -->
- </h2>
- <!-- /ko -->
- </div>
- <!-- ブックマーク画像選択ダイアログのテンプレート格納用 -->
- <div id="linkTemplateBookmarkDesignSelect"></div>
- <!-- 右クリックメニュー 付箋用 -->
- <div style="display: none;" class="contextMenu" id="viewerMarkerContextMenu">
- <ul id="viewerMarkerContextMenuList">
- <li id="remove">付箋を取る</li>
- </ul>
- </div>
- <!-- 右クリックメニュー 付箋リスト用 -->
- <div style="display: none;" class="contextMenu" id="markerListContextMenu">
- <ul id="markerListContextMenuList">
- <li id="move">ページ移動</li>
- <li id="delete">削除</li>
- </ul>
- </div>
- </body></html>
Add Comment
Please, Sign In to add comment