This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//削除 | |
$(".save_del").click(function(e) { | |
//セーブデータの順番取得 | |
var num = $(this).parent().attr("data-num"); | |
/* ダイアログの「OK」「Cancel」を変える場合は↓2行追記 | |
$(".remodal").find(".remodal-confirm").html("はい"); | |
$(".remodal").find(".remodal-cancel").html("いいえ"); | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<div class='menu_item' style='float:right;'><img class="menu_close" src='tyrano/images/system/menu_button_close.png' /></div> | |
<div style='clear:both'></div> | |
<img class="button_arrow_up button_smart" src='tyrano/images/system/arrow_up.png' style='cursor:pointer;left:670px;top:20px;position:absolute;'> | |
<img class="button_arrow_down button_smart" src='tyrano/images/system/arrow_down.png' style='cursor:pointer;left:760px;top:15px;position:absolute;'> | |
<div class="area_save_list" style="margin-top:50px;overflow:auto"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* セーブのリセットCSS */ | |
.save_list { | |
display: block; | |
table-layout: auto; | |
width: auto; | |
height: auto; | |
border-top: none; | |
} | |
.save_list_item { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.setStorageWeb = function(key, val) { | |
val = JSON.stringify(val); | |
//↓これを変更 | |
//localStorage.setItem(key, escape(val)); | |
try{ | |
localStorage.setItem(key, escape(val)); | |
}catch(domException) { | |
if (domException.name === 'QuotaExceededError' || domException.name === 'NS_ERROR_DOM_QUOTA_REACHED') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tyrano.plugin.kag.key_mouse.hidemessage = function() { | |
if (this.canShowMenu()) { | |
if ($("#tip_wrap").length) { | |
$(".tip_close_button").click(); | |
} else if ($(".menu_close").size() > 0 && $(".layer_menu").css("display") != "none") { | |
$(".menu_close").click(); | |
} else { | |
if (!this.kag.stat.is_strong_stop) { | |
if (this.kag.stat.is_hide_message) { | |
this.kag.layer.showMessageLayers(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body, .navbar-fixed-top, .navbar-fixed-bottom { | |
min-width: 1px; | |
} | |
.container { | |
width:100%; | |
} | |
@media (min-width: 768px) { | |
.container, .raw { | |
width: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{if stat.f}} | |
{{if stat.f.test}} | |
{{:stat.f.test}} <!--※変数--> | |
{{else}} | |
データが無い場合 <!--※f.test 変数が無い場合--> | |
{{/if}} | |
{{else}} | |
データが無い場合 <!--※f変数の配列自体が無い場合(初期値)--> | |
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;エンブレム取得。 | |
[macro name="give_emblem"] | |
[iscript] | |
function give_emb(url,emb_id,pid){ | |
//配置する場所を設定。 | |
if(!mp.width){mp.width=500}; | |
if(!mp.height){mp.height=400}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;プレイ時間表示用ptext | |
[ptext layer=2 name="playtime" y=640 x=20 color=0xFFFFFF text="0"] | |
[iscript] | |
f.playtime = 0; | |
f.playtime_disp = 0; | |
TG.stat.is_counting=false; | |
setInterval(function(){ | |
if(TG.stat.is_counting==true){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//スタート | |
[iscript] | |
TG.stat.is_counting=true; | |
[endscript] | |
//ストップ | |
[iscript] | |
TG.stat.is_counting=false; | |
[endscript] |