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
.frame, | |
.message_outer, | |
.chara_name_area { | |
border-style: solid; | |
border-width: 10px; | |
-moz-border-image: url(../image/pipo-WindowBase002.png) 10; | |
-webkit-border-image: url(../image/pipo-WindowBase002.png) 10; | |
-o-border-image: url(../image/pipo-WindowBase002.png) 10; | |
border-image: url(../image/pipo-WindowBase002.png) 10 fill; | |
box-sizing:border-box; |
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
.chara_name_area { | |
width:250px !important; | |
padding:10px; | |
display:none; | |
background-image:url(../data/image/chara_name.png); /* tyrano/tyrano.css に追記の場合 */ | |
} |
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.tag.chara_ptext = { | |
------- 略 -------- | |
start : function(pm) { | |
if (pm.name == "") { | |
$("." + this.kag.stat.chara_ptext).html("").hide(); //←ココはhide | |
//全員の明度を下げる。誰も話していないから |
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
var text = $('.message_inner p').find('span').map(function(){ | |
return $(this).html() | |
}).get().join('') | |
if (text.indexOf('<br>') != -1) { | |
message = text.split("<br>"); | |
data.title = message[message.length-1]; | |
}else{ | |
data.title = text; | |
}; |
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
doSave : function(num) { | |
var array_save = this.getSaveData(); | |
var data = {}; | |
var that = this; | |
if (this.snap == null) { | |
//ここはサムネイルイメージ作成のため、callback指定する | |
this.snapSave(this.kag.stat.current_message_str, function() { |
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> | |
<ul class='save_list'> | |
{{for array_save}} | |
<li class='save_list_item'> | |
<div> | |
{{if save_date != ""}} | |
<span class="save_protect" style="border:1px solid #333" data-num='{{:num}}'>{{if protect == "true"}}☑{{else}}□{{/if}}保護</span> | |
<span class="save_del" style="border:1px solid #333" data-num='{{:num}}'>削除</span> | |
{{/if}} |