OSDN Git Service

bookmarklet調整 by きゃしゃ
authorshizuki17xx <shizuki17xx"@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Fri, 13 Mar 2009 15:40:05 +0000 (15:40 +0000)
committershizuki17xx <shizuki17xx"@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Fri, 13 Mar 2009 15:40:05 +0000 (15:40 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk/utf8@972 1ca29b6e-896d-4ea0-84a5-967f57386b96

nucleus/libs/include/bookmarklet-add.template
nucleus/libs/include/bookmarklet-edit.template
nucleus/styles/bookmarklet.css

index adcea2c..727f3db 100755 (executable)
@@ -17,7 +17,7 @@
                $Id$\r
        -->\r
                <title><%text(_ADD_ADDTO)%> '<%blogname%>'</title>\r
-               <link rel="stylesheet" type="text/css" href="styles/bookmarklet.css" /> \r
+               <link rel="stylesheet" type="text/css" href="styles/bookmarklet.css" />\r
                <link rel="stylesheet" type="text/css" href="styles/addedit.css" />\r
                <link rel="stylesheet" type="text/css" href="styles/jquery-ui/ui.all.css" />\r
                <meta http-equiv="Content-Script-Type" content="text/javascript" />\r
                        google.load("jqueryui", "1");\r
                        google.setOnLoadCallback(function() {\r
                                $(function(){\r
+//                                     var IE = '\v'=='v';\r
                                        updAllPreviews();\r
-                                       $("table tr td:first-child").css("width", "14%");\r
-                                       $("textarea").resizable({ containment: 'parent' });\r
+//                                     $("table tr td:first-child").css("width", "14%");\r
+//                                     if (!IE)\r
+                                               $("#body textarea, #more textarea").resizable({ containment: 'parent' });\r
                                        $("#tabs").tabs();\r
-                                       $("input[name=autosavenow]").click(function() {\r
+                                       $(".addFuture").change(function() {\r
+                                               $("#act_future").attr('checked', 'checked');\r
+                                       });\r
+                                       $("#showPreview").click(function() {updAllPreviews();});\r
+                                       $("#goSubmit").click(function() {checkSubmit();});\r
+                                       $("#canselButton").click(function() {window.close();});\r
+                                       $("#saveDraft").click(function() {\r
                                                $(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')');\r
                                                autoSaveDraft();\r
                                        });\r
+//                                     $("#options tr td:nth-child(2)").css("width", "80% !important");\r
+                                       $("#options tr th").css({\r
+                                               width: "25%",\r
+                                               whiteSpace: "normal"\r
+                                       });\r
                                });\r
                        });\r
                //]]>\r
                <form id="addform" method="post" action="bookmarklet.php" >\r
                        <div id="tabs">\r
                                <ul>\r
-                                       <li><a href="#body"><%text(_BMLET_BODY)%> &gt;&gt;</a></li>\r
-                                       <li><a href="#more"><%text(_BMLET_MORE)%> &gt;&gt;</a></li>\r
-                                       <li><a href="#options"><%text(_BMLET_OPTIONS)%> &gt;&gt;</a></li>\r
-                                       <li><a href="#preview" onclick="updAllPreviews();"><%text(_BMLET_PREVIEW)%> &gt;&gt;</a></li>\r
+                                       <li><a href="#body" tabindex="300"><%text(_BMLET_BODY)%> &gt;&gt;</a></li>\r
+                                       <li><a href="#more" tabindex="310"><%text(_BMLET_MORE)%> &gt;&gt;</a></li>\r
+                                       <li><a href="#options" tabindex="320"><%text(_BMLET_OPTIONS)%> &gt;&gt;</a></li>\r
+                                       <li><a href="#preview" id="showPreview" tabindex="330"><%text(_BMLET_PREVIEW)%> &gt;&gt;</a></li>\r
                                </ul>\r
                                <input name="action" type="hidden" value="additem" />\r
                                <input name="blogid" type="hidden" value="<%blogid%>" />\r
                                <div id="body" class="contentblock">\r
                                        <table summary="item body">\r
                                                <tr>\r
-                                                       <td><%text(_ADD_TITLE)%></td>\r
-                                                       <td><input <%jsinput(title)%> type="text" size="60" maxlength="160" value="<%contents(title)%>" /></td>\r
+                                                       <th><%text(_ADD_TITLE)%></th>\r
+                                                       <td><input <%jsinput(title)%> type="text" size="60" maxlength="160" value="<%contents(title)%>" tabindex="10" /></td>\r
                                                </tr>\r
                                                <tr>\r
-                                                       <td><%text(_ADD_BODY)%> <%helplink(additem)%></td>\r
+                                                       <th><%text(_ADD_BODY)%> <%helplink(additem)%></th>\r
                                                        <td>\r
                                                                <%jsbuttonbar(media)%>\r
-                                                               <textarea <%jsinput(body)%> cols="58" rows="12"><%contents(body)%></textarea>\r
+                                                               <textarea <%jsinput(body)%> cols="58" rows="12" tabindex="20"><%contents(body)%></textarea>\r
                                                        </td>\r
                                                </tr>\r
                                                <tr>\r
-                                                       <td><%text(_ADD_CATEGORY)%></td>\r
-                                                       <td><%categories%></td>\r
+                                                       <th><%text(_ADD_CATEGORY)%></th>\r
+                                                       <td><%categories(30)%></td>\r
                                                </tr>\r
                                        </table>\r
                                </div>\r
                                <div id="more" class="contentblock">\r
                                        <table summary="item more">\r
                                                <tr>\r
-                                                       <td><%text(_ADD_MORE)%> <%helplink(extended)%></td>\r
+                                                       <th><%text(_ADD_MORE)%> <%helplink(extended)%></th>\r
                                                        <td>\r
                                                                <%jsbuttonbar(media)%>\r
-                                                               <textarea <%jsinput(more)%> cols="58" rows="17"><%contents(more)%></textarea>\r
+                                                               <textarea <%jsinput(more)%> cols="58" rows="17" tabindex="40"><%contents(more)%></textarea>\r
                                                        </td>\r
                                                </tr>\r
                                        </table>\r
                                <div id="options" class="contentblock">\r
                                        <table summary="item options">\r
                                                <%ifblogsetting(bcomments)%><tr>\r
-                                                       <td><%text(_ADD_DISABLE_COMMENTS)%></td>\r
+                                                       <th><%text(_ADD_DISABLE_COMMENTS)%></th>\r
                                                        <td>\r
-                                                               <input type='radio' name='closed' value='1' id="closed_yes" /><label for="closed_yes"><%text(_YES)%></label>\r
-                                                               <input type='radio' name='closed' value='0' checked='checked' id="closed_no" /><label for="closed_no"><%text(_NO)%></label>\r
+                                                               <input type='radio' name='closed' value='1' id="closed_yes" tabindex="50" /><label for="closed_yes"><%text(_YES)%></label>\r
+                                                               <input type='radio' name='closed' value='0' checked='checked' id="closed_no" tabindex="50" /><label for="closed_no"><%text(_NO)%></label>\r
                                                        </td>\r
                                                </tr><%endif%>\r
                                                <tr>\r
-                                                       <td><%text(_ADD_DRAFTNFUTURE)%></td>\r
+                                                       <th><%text(_ADD_DRAFTNFUTURE)%></th>\r
                                                        <td>\r
                                                                <ul class="nobullets">\r
-                                                                       <li><input name="actiontype" value="addnow" type="radio" checked='checked' id="act_now" /><label for="act_now"><%text(_ADD_ADDNOW)%></label></li>\r
-                                                                       <li><input name="actiontype" value="addfuture" type="radio" id="act_future" /><label for="act_future"><%text(_ADD_ADDLATER)%></label> <%helplink(future)%></li>\r
+                                                                       <li><input name="actiontype" value="addnow" type="radio" checked='checked' id="act_now" tabindex="60" /><label for="act_now"><%text(_ADD_ADDNOW)%></label></li>\r
+                                                                       <li><input name="actiontype" value="addfuture" type="radio" id="act_future" tabindex="60" /><label for="act_future"><%text(_ADD_ADDLATER)%></label> <%helplink(future)%></li>\r
                                                                        <li>\r
                                                                                <div class="indent">\r
                                                                                        <%text(_ADD_PLACE_ON)%>\r
-                                                                                       <input id="inputyear" name="year" size="4" value="<%currenttime(year)%>" onchange="document.forms[0].act_future.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_YEAR)%>\r
-                                                                                       <input id="inputmonth" name="month" size="2" value="<%currenttime(mon)%>" onchange="document.forms[0].act_future.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_MONTH)%>\r
-                                                                                       <input id="inputday" name="day" size="2" value="<%currenttime(mday)%>" onchange="document.forms[0].act_future.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_DAY)%>\r
-                                                                                       <input id="inputhour" name="hour" size="2" value="<%currenttime(hours)%>" onchange="document.forms[0].act_future.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_HOUR)%>\r
-                                                                                       <input id="inputminutes" name="minutes" size="2" value="<%currenttime(minutes)%>" onchange="document.forms[0].act_future.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_MINUTE)%>\r
+                                                                                       <input class="addFuture" id="inputyear" name="year" size="4" value="<%currenttime(year)%>" tabindex="70" /><%text(_ITEM_ADDEDITTEMPLATE_YEAR)%>\r
+                                                                                       <input class="addFuture" id="inputmonth" name="month" size="2" value="<%currenttime(mon)%>" tabindex="80" /><%text(_ITEM_ADDEDITTEMPLATE_MONTH)%>\r
+                                                                                       <input class="addFuture" id="inputday" name="day" size="2" value="<%currenttime(mday)%>" tabindex="90" /><%text(_ITEM_ADDEDITTEMPLATE_DAY)%>\r
+                                                                                       <input class="addFuture" id="inputhour" name="hour" size="2" value="<%currenttime(hours)%>" tabindex="100" /><%text(_ITEM_ADDEDITTEMPLATE_HOUR)%>\r
+                                                                                       <input class="addFuture" id="inputminutes" name="minutes" size="2" value="<%currenttime(minutes)%>" tabindex="110" /><%text(_ITEM_ADDEDITTEMPLATE_MINUTE)%>\r
                                                                                        <br /><%text(_ITEM_ADDEDITTEMPLATE_FORMAT)%>(yyyy)<%text(_ITEM_ADDEDITTEMPLATE_YEAR)%>(mm)<%text(_ITEM_ADDEDITTEMPLATE_MONTH)%>(dd)<%text(_ITEM_ADDEDITTEMPLATE_DAY)%> (hh)<%text(_ITEM_ADDEDITTEMPLATE_HOUR)%>(mm)<%text(_ITEM_ADDEDITTEMPLATE_MINUTE)%>\r
                                                                                        <%ifblogsetting(ballowpast,0)%><br /><%text(_ADD_NOPASTDATES)%><%endif%>\r
                                                                                </div>\r
                                                                        </li>\r
                                                                        <li>\r
-                                                                               <input name="actiontype" value="adddraft" type="radio" id="act_draft" /><label for="act_draft"><%text(_ADD_ADDDRAFT)%></label> <%helplink(draft)%>\r
+                                                                               <input name="actiontype" value="adddraft" type="radio" id="act_draft" tabindex="60" /><label for="act_draft"><%text(_ADD_ADDDRAFT)%></label> <%helplink(draft)%>\r
                                                                        </li>\r
-                                                                       <li><input id="dosendping" name="dosendping" value="1" type="checkbox" checked="checked" /><label for="dosendping"><%text(_UPDATEDPING_GOSENDPING)%></label></li>\r
+                                                                       <li><input id="dosendping" name="dosendping" value="1" type="checkbox" checked="checked" tabindex="120" /><label for="dosendping"><%text(_UPDATEDPING_GOSENDPING)%></label></li>\r
                                                                </ul>\r
                                                        </td>\r
                                                </tr>\r
                                                <tr>\r
-                                                       <td><%text(_ADD_PLUGIN_EXTRAS)%></td>\r
+                                                       <th><%text(_ADD_PLUGIN_EXTRAS)%></th>\r
                                                        <td><%pluginextras%></td>\r
                                                </tr>\r
                                                <%itemoptions%>\r
                                </div>\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)%>" /><%endif%>\r
-                               <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />\r
+                               <input id="goSubmit" type="submit" value="<%text(_BMLET_EDIT)%>" tabindex="200" />\r
+                               <%ifautosave()%><input id="saveDraft" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" tabindex="400" /><%endif%>\r
+                               <input id="canselButton" type="button" value="<%text(_BMLET_CANCEL)%>" tabindex="410" />\r
                                <%ifautosave()%><span class="autosavestatus">(<%text(_AUTOSAVEDRAFT)%>&nbsp;:&nbsp;<span class="lastsavedtime"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)</span></span><%endif%>\r
                        </div>\r
                </form>\r
index 6405125..03598ff 100755 (executable)
                        google.load("jqueryui", "1");\r
                        google.setOnLoadCallback(function() {\r
                                $(function(){\r
+//                                     var IE = '\v'=='v';\r
                                        updAllPreviews();\r
-                                       $("table tr td:first-child").css("width", "14%");\r
-                                       $("textarea").resizable({ containment: 'parent' });\r
+//                                     $("table tr td:first-child").css("width", "14%");\r
+//                                     if (!IE)\r
+                                               $("#body textarea, #more textarea").resizable({ containment: 'parent' });\r
                                        $("#tabs").tabs();\r
-                                       $("input[name=autosavenow]").click(function() {\r
+                                       $(".chgDate").change(function() {\r
+                                               $("#act_changedate").attr('checked', 'checked');\r
+                                       });\r
+                                       $("#showPreview").click(function() {updAllPreviews();});\r
+                                       $("#goSubmit").click(function() {checkSubmit();});\r
+                                       $("#canselButton").click(function() {window.close();});\r
+                                       $("#saveDraft").click(function() {\r
                                                $(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')');\r
                                                autoSaveDraft();\r
                                        });\r
+//                                     $("#options tr td:nth-child(2)").css("width", "80% !important");\r
+                                       $("#options tr th").css({\r
+                                               width: "25%",\r
+                                               whiteSpace: "normal"\r
+                                       });\r
                                });\r
                        });\r
                //]]>\r
                <form id="editform" method="post" action="bookmarklet.php" >\r
                        <div id="tabs">\r
                                <ul>\r
-                                       <li><a href="#body"><%text(_BMLET_BODY)%> &gt;&gt;</a></li>\r
-                                       <li><a href="#more"><%text(_BMLET_MORE)%> &gt;&gt;</a></li>\r
-                                       <li><a href="#options"><%text(_BMLET_OPTIONS)%> &gt;&gt;</a></li>\r
-                                       <li><a href="#preview" onclick="updAllPreviews();"><%text(_BMLET_PREVIEW)%> &gt;&gt;</a></li>\r
+                                       <li><a href="#body" tabindex="300"><%text(_BMLET_BODY)%> &gt;&gt;</a></li>\r
+                                       <li><a href="#more" tabindex="310"><%text(_BMLET_MORE)%> &gt;&gt;</a></li>\r
+                                       <li><a href="#options" tabindex="320"><%text(_BMLET_OPTIONS)%> &gt;&gt;</a></li>\r
+                                       <li><a href="#preview" id="showPreview" tabindex="330"><%text(_BMLET_PREVIEW)%> &gt;&gt;</a></li>\r
                                </ul>\r
                                <input name="action" type="hidden" value="edititem" />\r
                                <input name="itemid" type="hidden" value="<%contents(itemid)%>" />\r
                                <input type="hidden" name="draftid" value="0" />\r
                                <%ticket%>\r
-                               <div id="body" class="contentblock ui-tabs-panel ui-widget-content ui-corner-bottom">\r
+                               <div id="body" class="contentblock">\r
                                        <table summary="item body">\r
                                                <tr>\r
-                                                       <td><%text(_ADD_TITLE)%></td>\r
-                                                       <td><input <%jsinput(title)%> type="text" size="60" maxlength="160" value="<%contents(title)%>" /></td>\r
+                                                       <th><%text(_ADD_TITLE)%></th>\r
+                                                       <td><input <%jsinput(title)%> type="text" size="60" maxlength="160" value="<%contents(title)%>" tabindex="10" /></td>\r
                                                </tr>\r
                                                <tr>\r
-                                                       <td><%text(_ADD_BODY)%> <%helplink(additem)%></td>\r
+                                                       <th><%text(_ADD_BODY)%> <%helplink(additem)%></th>\r
                                                        <td>\r
                                                                <%jsbuttonbar(media)%>\r
-                                                               <textarea <%jsinput(body)%> cols="58" rows="12"><%contents(body)%></textarea>\r
+                                                               <textarea <%jsinput(body)%> cols="58" rows="12" tabindex="20"><%contents(body)%></textarea>\r
                                                        </td>\r
                                                </tr>\r
                                                <tr>\r
-                                                       <td><%text(_ADD_CATEGORY)%></td>\r
-                                                       <td><%categories%></td>\r
+                                                       <th><%text(_ADD_CATEGORY)%></th>\r
+                                                       <td><%categories(30)%></td>\r
                                                </tr>\r
                                        </table>\r
                                </div>\r
                                <div id="more" class="contentblock">\r
                                        <table summary="item more">\r
                                                <tr>\r
-                                                       <td><%text(_ADD_MORE)%> <%helplink(extended)%></td>\r
+                                                       <th><%text(_ADD_MORE)%> <%helplink(extended)%></th>\r
                                                        <td>\r
                                                                <%jsbuttonbar(media)%>\r
-                                                               <textarea <%jsinput(more)%> cols="58" rows="17"><%contents(more)%></textarea>\r
+                                                               <textarea <%jsinput(more)%> cols="58" rows="17" tabindex="40"><%contents(more)%></textarea>\r
                                                        </td>\r
                                                </tr>\r
                                        </table>\r
                                <div id="options" class="contentblock">\r
                                        <table summary="item options">\r
                                                <%ifblogsetting(bcomments)%><tr>\r
-                                                       <td><%text(_ADD_DISABLE_COMMENTS)%></td>\r
+                                                       <th><%text(_ADD_DISABLE_COMMENTS)%></th>\r
                                                        <td>\r
-                                                           <input type="radio" name="closed" value="1" id="closed_yes" <%checkedonval(1,closed)%> /><label for="closed_yes"><%text(_YES)%></label>\r
-                                                           <input type="radio" name="closed" value="0" id="closed_no" <%checkedonval(0,closed)%> /><label for="closed_no"><%text(_NO)%></label>\r
+                                                           <input type="radio" name="closed" value="1" id="closed_yes" <%checkedonval(1,closed)%> tabindex="50" /><label for="closed_yes"><%text(_YES)%></label>\r
+                                                           <input type="radio" name="closed" value="0" id="closed_no" <%checkedonval(0,closed)%> tabindex="50" /><label for="closed_no"><%text(_NO)%></label>\r
                                                        </td>\r
                                                </tr><%endif%>\r
                                                <!-- The only actiontypes are 'edit', 'changedate' (no draft items can be edited) and 'delete' -->\r
                                                <tr>\r
-                                                       <td><%text(_EDIT_SUBMIT)%></td>\r
+                                                       <th><%text(_EDIT_SUBMIT)%></th>\r
                                                        <td>\r
                                                                <ul class="nobullets">\r
-                                                                       <li><input name="actiontype" value="edit" type="radio" checked="checked" id="act_edit" /><label for="act_edit"><%text(_BMLET_EDIT)%></label></li>\r
-                                                                       <li><input name="actiontype" value="delete" type="radio" id="act_delete" /><label for="act_delete"><%text(_BMLET_DELETE)%></label></li>\r
+                                                                       <li><input name="actiontype" value="edit" type="radio" checked="checked" id="act_edit" tabindex="60" /><label for="act_edit"><%text(_BMLET_EDIT)%></label></li>\r
+                                                                       <li><input name="actiontype" value="delete" type="radio" id="act_delete" tabindex="60" /><label for="act_delete"><%text(_BMLET_DELETE)%></label></li>\r
                                                                        <%ifblogsetting(ballowpast)%><li>\r
-                                                                               <input name="actiontype" value="changedate" type="radio" id="act_changedate" tabindex="70" /><label for="act_changedate"><%text(_BMLET_CHANGEDATE)%></label> <%helplink(changedate)%>\r
+                                                                               <input name="actiontype" value="changedate" type="radio" id="act_changedate" tabindex="60" /><label for="act_changedate"><%text(_BMLET_CHANGEDATE)%></label> <%helplink(changedate)%>\r
                                                                                <div class="indent">\r
-                                                                                       <input id="inputyear" name="year" tabindex="71" size="4" value="<%itemtime(year)%>" onchange="document.forms[0].act_changedate.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_YEAR)%>\r
-                                                                                       <input id="inputmonth" name="month" tabindex="72" size="2" value="<%itemtime(mon)%>" onchange="document.forms[0].act_changedate.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_MONTH)%>\r
-                                                                                       <input id="inputday" name="day" tabindex="73" size="2" value="<%itemtime(mday)%>" onchange="document.forms[0].act_changedate.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_DAY)%>\r
-                                                                                       <input id="inputhour" name="hour" tabindex="74" size="2" value="<%itemtime(hours)%>" onchange="document.forms[0].act_changedate.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_HOUR)%>\r
-                                                                                       <input id="inputminutes" name="minutes" tabindex="75" size="2" value="<%itemtime(minutes)%>" onchange="document.forms[0].act_changedate.checked=true;" /><%text(_ITEM_ADDEDITTEMPLATE_MINUTE)%>\r
+                                                                                       <input class="chgDate" id="inputyear" name="year" size="4" value="<%itemtime(year)%>" tabindex="70" /><%text(_ITEM_ADDEDITTEMPLATE_YEAR)%>\r
+                                                                                       <input class="chgDate" id="inputmonth" name="month" size="2" value="<%itemtime(mon)%>" tabindex="80" /><%text(_ITEM_ADDEDITTEMPLATE_MONTH)%>\r
+                                                                                       <input class="chgDate" id="inputday" name="day" size="2" value="<%itemtime(mday)%>" tabindex="90" /><%text(_ITEM_ADDEDITTEMPLATE_DAY)%>\r
+                                                                                       <input class="chgDate" id="inputhour" name="hour" size="2" value="<%itemtime(hours)%>" tabindex="100" /><%text(_ITEM_ADDEDITTEMPLATE_HOUR)%>\r
+                                                                                       <input class="chgDate" id="inputminutes" name="minutes" size="2" value="<%itemtime(minutes)%>" tabindex="110" /><%text(_ITEM_ADDEDITTEMPLATE_MINUTE)%>\r
                                                                                        <br /><%text(_ITEM_ADDEDITTEMPLATE_FORMAT)%>(yyyy)<%text(_ITEM_ADDEDITTEMPLATE_YEAR)%>(mm)<%text(_ITEM_ADDEDITTEMPLATE_MONTH)%>(dd)<%text(_ITEM_ADDEDITTEMPLATE_DAY)%> (hh)<%text(_ITEM_ADDEDITTEMPLATE_HOUR)%>(mm)<%text(_ITEM_ADDEDITTEMPLATE_MINUTE)%>\r
                                                                                </div>\r
                                                                        </li>\r
                                                                        <li>\r
-                                                                               <input name="actiontype" value="backtodrafts" type="radio" id="act_backtodrafts" tabindex="71" /><label for="act_backtodrafts"><%text(_BMLET_BACKTODRAFTS)%></label> <%helplink(draft)%>\r
+                                                                               <input name="actiontype" value="backtodrafts" type="radio" id="act_backtodrafts" tabindex="60" /><label for="act_backtodrafts"><%text(_BMLET_BACKTODRAFTS)%></label> <%helplink(draft)%>\r
                                                                        </li><%endif%>\r
-                                                                       <li><input id="dosendping" name="dosendping" value="1" type="checkbox" /><label for="dosendping"><%text(_UPDATEDPING_GOSENDPING)%></label></li>\r
+                                                                       <li><input id="dosendping" name="dosendping" value="1" type="checkbox" tabindex="120" /><label for="dosendping"><%text(_UPDATEDPING_GOSENDPING)%></label></li>\r
                                                                </ul>\r
                                                        </td>\r
                                                </tr>\r
                                                <tr>\r
-                                                       <td><%text(_ADD_PLUGIN_EXTRAS)%></td>\r
+                                                       <th><%text(_ADD_PLUGIN_EXTRAS)%></th>\r
                                                        <td><%pluginextras%></td>\r
                                                </tr>\r
                                                <%itemoptions%>\r
                                </div>\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)%>" /><%endif%>\r
-                               <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />\r
+                               <input id="goSubmit" type="submit" value="<%text(_BMLET_EDIT)%>" tabindex="200" />\r
+                               <%ifautosave()%><input id="saveDraft" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" tabindex="400" /><%endif%>\r
+                               <input id="canselButton" type="button" value="<%text(_BMLET_CANCEL)%>" tabindex="410" />\r
                                <%ifautosave()%><span class="autosavestatus">(<%text(_AUTOSAVEDRAFT)%>&nbsp;:&nbsp;<span class="lastsavedtime"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)</span></span><%endif%>\r
                        </div>\r
                </form>\r
index 950afb1..6b25677 100755 (executable)
@@ -1,7 +1,7 @@
 @charset 'UTF-8';\r
 /* \r
        style definitions for the bookmarklet \r
-       \r
+\r
        $Id$\r
        $NucleusJP: bookmarklet.css,v 1.6 2007/01/30 07:35:20 kimitake Exp $\r
 */\r
@@ -10,9 +10,11 @@ body {
        font-size: small;\r
        background: #fff;\r
        color: #000;\r
-/*    font-family: "Trebuchet MS",Trebuchet,"Bitstream Vera Sans",verdana,lucida,arial,helvetica,sans-serif;*/\r
+/*     font-family: "Trebuchet MS",Trebuchet,"Bitstream Vera Sans",verdana,lucida,arial,helvetica,sans-serif;*/\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
+       margin:0;/* add 090313 */\r
+       padding:5px;/* add 090313 */\r
+}\r
 \r
 /*textarea {\r
        font-family: "Hiragino Kaku Gothic Pro W3", "MS P Gothic", "Osaka", sans-serif;\r
@@ -22,6 +24,8 @@ h1 {
        border-bottom: 1px dotted gray;\r
        font-size: medium;\r
        color: #596d9d;\r
+       margin:0;/* add 090313 */\r
+       padding:5px;/* add 090313 */\r
 }\r
 \r
 /* \r
@@ -66,17 +70,6 @@ h1 {
        vertical-align: top;\r
 }\r
 \r
-*:first-child+html .contentblock {\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
        float: right; \r
        text-align: right;\r
@@ -124,42 +117,37 @@ table {
 /*     width: 95%;*/\r
        width: 98%;\r
        border-collapse: collapse;\r
-       margin: 10px auto;\r
+/*     margin: 10px auto; */\r
+       margin: auto;/* mod 090313 */\r
 /*     margin-bottom: 10px;\r
-       margin-top: 10px;*/     \r
+       margin-top: 10px;*/\r
        height: 95%;    /* add 090309*/\r
-}\r
-\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
+       table-layout:fixed;/* add 090313 */\r
 }\r
 \r
 th {\r
-       background: #bbc;\r
+/*     background: #bbc;\r
        color: #000;\r
-       font-size: small;\r
+       font-size: small;*//* mod 090313 */\r
+       width:130px;/* add 090313 */\r
+       font-weight:normal;/* add 090313 */\r
 }\r
 \r
 th, td {\r
        padding: 4px;\r
-       empty-cells: show;      \r
-}\r
+       empty-cells: show;\r
+/*}\r
 \r
-td {\r
+td {*//* mod 090313 */\r
        background: #fff;\r
        border: 1px solid #ddd;\r
        font-size: small;\r
        vertical-align: top;\r
        text-align: left;\r
+/*}\r
+\r
+#body td,\r
+#more td {*//* mod 090313 */\r
        white-space: nowrap;    /*add 090309*/\r
 }\r
 \r
@@ -187,49 +175,37 @@ ul.nobullets {
        margin: 0;\r
 }\r
 \r
+form {/* add 090313 */\r
+               margin:0;\r
+               padding:0;\r
+}\r
+\r
 .jsbuttonbar,\r
-#body input[type=text],\r
+/*#body input[type=text],*//* mod 090313 */\r
+#inputtitle,/* add 090313 */\r
 #body textarea,\r
 #body select,\r
-#more input[type=text],\r
+/*#more input[type=text],*//* mod 090313 */\r
 #more textarea,\r
 #more select {\r
        margin: auto;\r
+       padding:0;/* add 090313 */\r
        display: block;\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 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
+#body textarea {/* add 090313 */\r
+       margin-top: 4px;\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
+#more textarea {/* add 090313 */\r
+       height: 300px;\r
+       margin-top: 4px;\r
 }\r
 \r
-textarea {\r
+/*textarea {/*mod 090313 /\r
        margin-top: 1px;\r
-}\r
+}*/\r
 \r
 .submitbuttons {\r
        line-height: 2em;\r