google.load("jqueryui", "1");\r
google.setOnLoadCallback(function() {\r
$(function(){\r
- $("#tabs").tabs();\r
+ updAllPreviews();\r
$("table tr td:first-child").css("width", "14%");\r
- var contentBlock = $("textarea").parents(".contentblock");\r
- $("textarea").resizable({alsoResize: contentBlock});\r
- function preautoSaveDraft() {\r
+ $("textarea").resizable({ containment: 'parent' });\r
+ $("#tabs").tabs();\r
+ $("input[name=autosavenow]").click(function() {\r
$(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')');\r
autoSaveDraft();\r
- }\r
- updAllPreviews();\r
+ });\r
});\r
});\r
//]]>\r
</div>\r
<div class="submitbuttons">\r
<input type="submit" value="<%text(_BMLET_EDIT)%>" onclick="return checkSubmit();" />\r
- <%ifautosave()%><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" onclick="preautoSaveDraft();" /><%endif%>\r
+ <%ifautosave()%><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" /><%endif%>\r
<input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />\r
<%ifautosave()%><span class="autosavestatus">(<%text(_AUTOSAVEDRAFT)%> : <span class="lastsavedtime"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)</span></span><%endif%>\r
</div>\r
google.load("jqueryui", "1");\r
google.setOnLoadCallback(function() {\r
$(function(){\r
- $("#tabs").tabs();\r
+ updAllPreviews();\r
$("table tr td:first-child").css("width", "14%");\r
- var contentBlock = $("textarea").parents(".contentblock");\r
- $("textarea").resizable({alsoResize: contentBlock});\r
- function preautoSaveDraft() {\r
+ $("textarea").resizable({ containment: 'parent' });\r
+ $("#tabs").tabs();\r
+ $("input[name=autosavenow]").click(function() {\r
$(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')');\r
autoSaveDraft();\r
- }\r
- updAllPreviews();\r
+ });\r
});\r
});\r
//]]>\r
</div>\r
<div class="submitbuttons">\r
<input type="submit" value="<%text(_BMLET_EDIT)%>" onclick="return checkSubmit();" />\r
- <%ifautosave()%><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" onclick="preautoSaveDraft();" /><%endif%>\r
+ <%ifautosave()%><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" /><%endif%>\r
<input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />\r
<%ifautosave()%><span class="autosavestatus">(<%text(_AUTOSAVEDRAFT)%> : <span class="lastsavedtime"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)</span></span><%endif%>\r
</div>\r
font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "MS Pゴシック", "MS PGothic", "IPA UIGothic", "IPA mona UIGothic", "VL PGothic", "Sazanami Gothic", "DynaLab-dfghsgothic w5-jisx0208.1990-0", "DynaLab-dfggothic w5-iso8859-1", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif !important;\r
} \r
\r
-textarea {\r
-/* font-family: "Hiragino Kaku Gothic Pro W3", "MS P Gothic", "Osaka", sans-serif;*/\r
-}\r
+/*textarea {\r
+ font-family: "Hiragino Kaku Gothic Pro W3", "MS P Gothic", "Osaka", sans-serif;\r
+}*/\r
\r
h1 {\r
border-bottom: 1px dotted gray;\r
font-weight: bold; \r
}\r
*/\r
+\r
.contentblock {\r
/*background: #ddd;*/\r
/* height: 500px;*/\r
- height: 370px;\r
+/* height: 370px;*/\r
+ height: 410px;/*mod 090309*/\r
overflow: auto; /* temporary removed, to make the select box work in Mozilla */\r
padding: 1px !important;\r
margin: 0px;\r
}\r
\r
*:first-child+html .contentblock {\r
- height: 330px;\r
+/* height: 330px;*/\r
+ height: 380px; /*mod 090309*/\r
+}\r
+*html body .contentblock { /*add 090309*/\r
+ height: 380px;\r
+}\r
+body:last-child .contentblock { /*add 090309*/\r
+ height: 390px;\r
}\r
\r
.shortcuts {\r
margin: 10px auto;\r
/* margin-bottom: 10px;\r
margin-top: 10px;*/ \r
+ height: 95%; /* add 090309*/\r
}\r
\r
-*:first-child+html .table {\r
+*:first-child+html table {\r
+ width: 93%;\r
+ height: 90%; /* add 090309*/\r
+}\r
+*html body table { /* add 090309*/\r
+ width: 93%;\r
+ height: 90%;\r
+}\r
+body:last-child table { /* add 090309*/\r
width: 93%;\r
+ height: 93%;\r
}\r
\r
th {\r
font-size: small;\r
vertical-align: top;\r
text-align: left;\r
+ white-space: nowrap; /*add 090309*/\r
}\r
\r
td a:link, td a:visited { \r
margin: 0;\r
}\r
\r
-\r
.jsbuttonbar,\r
#body input[type=text],\r
#body textarea,\r
#more select {\r
margin: auto;\r
display: block;\r
- width: 90%;\r
+/* width: 90%;*/\r
+ width: 98% /*mod 090309*/\r
}\r
\r
*:first-child+html #body input[type=text],\r
*:first-child+html #body textarea,\r
*:first-child+html #body select,\r
*:first-child+html #more input[type=text],\r
-*:first-child+html #more textarea,\r
-*:first-child+html #more select {\r
+*:first-child+html #more select,\r
+*html body #body input[type=text], /*add 090309*/\r
+*html body #body textarea,\r
+*html body #body select,\r
+*html body #more input[type=text],\r
+*html body #more select {\r
display: inline;\r
+ width: 98%; /*add 090309*/\r
+}\r
+\r
+*:first-child+html #more textarea { /*add 090309*/\r
+ display: block;\r
+ width: 95%;\r
+}\r
+*html body #more textarea { /*add 090309*/\r
+ display: block;\r
+ width: 95%;\r
+}\r
+body:last-child #more textarea { /*add 090309*/\r
+ display: block;\r
+ width: 95%;\r
}\r
\r
textarea {\r