OSDN Git Service

disable WYSIWYG mode in _FUCKIN IE!_
authorelixirel <elixirel@sourceforge.jp>
Sun, 27 Dec 2009 15:53:24 +0000 (00:53 +0900)
committerelixirel <elixirel@sourceforge.jp>
Sun, 27 Dec 2009 15:53:24 +0000 (00:53 +0900)
erbtemp/editentry.html.erb
erbtemp/newentry.html.erb
feedgenerator.rb
wymiframe.css

index 1454377..85278f0 100644 (file)
@@ -8,14 +8,16 @@
         <script type="text/javascript" src="./wymeditor/jquery.wymeditor.min.js">
         </script>
         <script type="text/javascript">
-            jQuery(function(){
-                jQuery('#contenteditor').wymeditor({
-                    updateSelector: ".wymupdate",
-                    updateSelector: "input",
-                    iframeBasePath: "main_",
-                                       stylesheet: 'wymiframe.css'
+            if (window.ActiveXObject) {
+            } else {
+                jQuery(function(){
+                    jQuery('#contenteditor').wymeditor({
+                        updateSelector: ".wymupdate",
+                        updateSelector: "input",
+                        iframeBasePath: "main_"
+                    });
                 });
-            });
+            }
             
             function switchsubmit(form, action){
                 document.getElementsByName("action").item(0).value = action;
index c00913a..1a95101 100644 (file)
@@ -5,18 +5,20 @@
         <link rel="stylesheet" href="./erbtemp/stylesheet.css" type="text/css">
         <script type="text/javascript" src="./jquery/jquery.js">
         </script>
-        <script type="text/javascript" src="./wymeditor/jquery.wymeditor.min.js">
+        <script type="text/javascript" src="./wymeditor/jquery.wymeditor.js">
         </script>
         <script type="text/javascript">
-            jQuery(function(){
-                jQuery('#contenteditor').wymeditor({
-                    updateSelector: ".wymupdate",
-                    updateSelector: "input",
-                    iframeBasePath: "main_",
-                                       stylesheet: 'wymiframe.css'
+            if (window.ActiveXObject) {
+            } else {
+                jQuery(function(){
+                    jQuery('#contenteditor').wymeditor({
+                        updateSelector: ".wymupdate",
+                        updateSelector: "input",
+                        iframeBasePath: "main_"
+                    });
                 });
-            });
-                       
+            }
+            
             function switchsubmit(form, action){
                 document.getElementsByName("action").item(0).value = action;
                 form.submit();
index d2509b6..82765cc 100644 (file)
@@ -22,7 +22,7 @@ LOGINID = "login"
 # ログインパスワード
 PASSWORD = "password"
 # インターフェースのテーブルの幅
-TABLEWIDTH = 800
+TABLEWIDTH = 1000
 # XMLファイル格納先までの相対パス
 XMLPATH = "./../lunardial/xml/"
 # loglist.xmlファイルの定義
index 5b73773..5802f8d 100644 (file)
@@ -20,7 +20,7 @@
 /* VISUAL FEEDBACK */
 
 /* basic */
-  body  { background: #e1e8f1; font-size: 12px; }
+  body  { background: #e1e8f1; font-size: 12px; font-family: 'MS Pゴシック', sans-serif; }
  
 /* make HTML blocs visible */
   p,