- Timestamp:
- 06/23/05 07:01:59 (14 years ago)
- Location:
- trunk
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/full_example.js
r238 r239 12 12 13 13 var num = 1; 14 var skin = "";15 14 if(window.parent && window.parent != window) 16 15 { 17 16 var f = window.parent.menu.document.forms[0]; 18 17 _editor_lang = f.lang.value; 19 skin = f.skin.value;18 _editor_skin = f.skin.value; 20 19 num = parseInt(f.num.value); 21 20 if(isNaN(num)) … … 42 41 var config = new HTMLArea.Config(); 43 42 44 if(skin != "")45 {46 config.skin = skin;47 }48 43 if(typeof CSS != 'undefined') 49 44 { -
trunk/htmlarea.js
r238 r239 57 57 } 58 58 59 // skin stylesheet to load 60 _editor_skin = ""; 61 59 62 var __htmlareas = [ ]; 60 63 … … 279 282 this.flowToolbars = true; 280 283 281 // skin stylesheet to load282 this.skin = "";283 284 284 /** CUSTOMIZING THE TOOLBAR 285 285 * ------------------------- … … 1130 1130 } 1131 1131 1132 if( editor.config.skin != "") {1132 if(_editor_skin != "") { 1133 1133 var found=false; 1134 1134 var head = document.getElementsByTagName("head")[0]; 1135 1135 var links = document.getElementsByTagName("link"); 1136 1136 for(var i = 0; i<links.length; i++) { 1137 if((links[i].rel == "stylesheet")&&(links[i].href == _editor_url + 'skins/' + editor.config.skin + '/skin.css'))1137 if((links[i].rel == "stylesheet")&&(links[i].href == _editor_url + 'skins/' + _editor_skin + '/skin.css')) 1138 1138 found = true; 1139 1139 } … … 1141 1141 var link = document.createElement("link"); 1142 1142 link.type = "text/css"; 1143 link.href = _editor_url + 'skins/' + editor.config.skin + '/skin.css';1143 link.href = _editor_url + 'skins/' + _editor_skin + '/skin.css'; 1144 1144 link.rel = "stylesheet" 1145 1145 head.appendChild(link); -
trunk/plugins/Abbreviation/popups/abbreviation.html
r134 r239 63 63 64 64 </head> 65 <body onload="Init()">65 <body class="dialog" onload="Init()"> 66 66 <div class="title">Abbreviation</div> 67 67 <form name="form"> -
trunk/plugins/CharacterMap/popups/select_character.html
r109 r239 77 77 </script> 78 78 </head> 79 <body style="background: Buttonface; margin: 0px; padding: 0px" onload="Init();self.focus();">79 <body class="dialog" onload="Init();self.focus();"> 80 80 <form method="get" style="margin:2px; padding:2px" onSubmit="Set(document.getElementById('showCharacter').value); return false;"> 81 81 <table border="0" cellspacing="0" cellpadding="4" width="100%"> -
trunk/plugins/EditTag/popups/edit_tag.html
r209 r239 35 35 </head> 36 36 37 <body onLoad="Init();">37 <body class="dialog" onLoad="Init();"> 38 38 <div class="title">Tag Editor</div> 39 39 <textarea name="TAG" id="TAG" cols=22 rows=5 style="width: 100%; height: 315px; margin-top: 8px; margin-bottom: 4px; font-family: monospace; font-size: 11px;"></textarea> -
trunk/plugins/Equation/popups/operations.html
r153 r239 55 55 </head> 56 56 57 <body onload="Init()">57 <body class="dialog" onload="Init()"> 58 58 <div class="title">Select operation</div> 59 59 <table align="center" border="1" cellpadding="2" cellspacing="0"> -
trunk/plugins/FindReplace/popups/find_replace.html
r109 r239 102 102 </style> 103 103 </head> 104 <body onload="Init()">104 <body class="dialog" onload="Init()"> 105 105 <form action="" method="get"> 106 106 <div class="title" style="width: 310px">Find and Replace</div> -
trunk/plugins/Forms/popups/fieldset.html
r236 r239 32 32 </head> 33 33 34 <body onload="Init()">34 <body class="dialog" onload="Init()"> 35 35 <div id="f_type" class="title">Form Element: FIELDSET</div> 36 36 <form action="" method="get"> -
trunk/plugins/Forms/popups/form.html
r200 r239 49 49 </head> 50 50 51 <body onload="Init()">51 <body class="dialog" onload="Init()"> 52 52 <div class="title">Form</div> 53 53 <form action="" method="get"> -
trunk/plugins/Forms/popups/input.html
r236 r239 121 121 </head> 122 122 123 <body onload="Init()">123 <body class="dialog" onload="Init()"> 124 124 <div id="f_type" class="title"></div> 125 125 <form action="" method="get"> -
trunk/plugins/Forms/popups/label.html
r236 r239 39 39 </head> 40 40 41 <body onload="Init()">41 <body class="dialog" onload="Init()"> 42 42 <div id="f_type" class="title">Form Element: LABEL</div> 43 43 <form action="" method="get"> -
trunk/plugins/Forms/popups/select.html
r236 r239 156 156 </head> 157 157 158 <body onload="Init()">158 <body class="dialog" onload="Init()"> 159 159 <div id="f_type" class="title">Form Element: SELECT</div> 160 160 <form action="" method="get"> -
trunk/plugins/Forms/popups/textarea.html
r236 r239 56 56 </head> 57 57 58 <body onload="Init()">58 <body class="dialog" onload="Init()"> 59 59 <div id="f_type" class="title">Form Element: TEXTAREA</div> 60 60 <form action="" method="get"> -
trunk/plugins/FullPage/popups/docprop.html
r109 r239 69 69 </head> 70 70 71 <body onload="Init()">71 <body class="dialog" onload="Init()"> 72 72 73 73 <div class="title"><span>Document properties</span></div> -
trunk/plugins/InsertAnchor/popups/insert_anchor.html
r112 r239 42 42 43 43 <body onload="Init()"> 44 <div class=" title">Insert Anchor</div>44 <div class="dialog" class="title">Insert Anchor</div> 45 45 <form> 46 46 <table border="0" style="width: 100%;"> -
trunk/plugins/InsertMarquee/popups/insert_marquee.html
r210 r239 49 49 50 50 </head> 51 <body onload="Init()">51 <body class="dialog" onload="Init()"> 52 52 <div class="title">Marquee Editor</div> 53 53 <form> -
trunk/plugins/InsertSmiley/popups/insertsmiley.html
r154 r239 74 74 </style> 75 75 </head> 76 <body onload="Init()">76 <body class="dialog" onload="Init()"> 77 77 <form action="" method="get"> 78 78 <div class="title" style="width: 360px;">Insert Smiley</div> -
trunk/plugins/QuickTag/popups/quicktag.html
r212 r239 328 328 </style> 329 329 </head> 330 <body onload="Init()">330 <body class="dialog" onload="Init()"> 331 331 <form action="" method="get"> 332 332 <div class="title" style="width: 360px">Quick Tag Editor</div> -
trunk/plugins/Template/popups/template.html
r227 r239 27 27 </head> 28 28 29 <body onload="Init()">29 <body class="dialog" onload="Init()"> 30 30 <div class="title">Insert template</div> 31 31 <form> -
trunk/popups/insert_image.html
r109 r239 72 72 </head> 73 73 74 <body onload="Init()">74 <body class="dialog" onload="Init()"> 75 75 76 76 <div class="title">Insert Image</div> -
trunk/popups/insert_table.html
r109 r239 52 52 </head> 53 53 54 <body onload="Init()">54 <body class="dialog" onload="Init()"> 55 55 56 56 <div class="title">Insert Table</div> -
trunk/popups/link.html
r141 r239 103 103 </head> 104 104 105 <body onload="Init()">105 <body class="dialog" onload="Init()"> 106 106 <div class="title">Insert/Modify Link</div> 107 107 <form> -
trunk/popups/popup.js
r177 r239 37 37 38 38 function __dlg_init(bottom) { 39 if(window.opener._editor_skin != "") { 40 var head = document.getElementsByTagName("head")[0]; 41 var link = document.createElement("link"); 42 link.type = "text/css"; 43 link.href = window.opener._editor_url + 'skins/' + window.opener._editor_skin + '/skin.css'; 44 link.rel = "stylesheet"; 45 head.appendChild(link); 46 } 39 47 var body = document.body; 40 48 var body_height = 0; -
trunk/popups/select_color.html
r214 r239 66 66 </style> 67 67 </head> 68 <body onload="Init()">68 <body class="dialog" onload="Init()"> 69 69 70 70 <form action="#" method="get" onsubmit="Set(document.getElementById('ColorHex').value); return false;"> -
trunk/skins/blue-look/skin.css
r217 r239 57 57 background-color: #f7f8fd; 58 58 } 59 .dialog { 60 background-color:#f7f8fd; 61 } 62 .dialog .title { 63 background-image: url(button-background.png); 64 } 65 .dialog button{ 66 background-image: url(button-background.png); 67 } -
trunk/skins/blue-metallic/skin.css
r225 r239 84 84 background-color: #f7f8fd; 85 85 } 86 87 .dialog { 88 background-color:#f7f8fd; 89 } 90 .dialog .title { 91 background-image: url(button-background.png); 92 } 93 .dialog button{ 94 background-image: url(button-background.png); 95 } -
trunk/skins/green-look/skin.css
r217 r239 57 57 background-color:#f8fdf8; 58 58 } 59 .dialog { 60 background-color:#f8fdf8; 61 } 62 .dialog .title { 63 background-image: url(button-background.png); 64 } 65 .dialog button{ 66 background-image: url(button-background.png); 67 } -
trunk/skins/inditreuse/skin.css
r217 r239 57 57 background-color:#889fc9; 58 58 } 59 .dialog { 60 background-color:#889fc9; 61 } 62 .dialog .title { 63 background-image: url(button-background.png); 64 } 65 .dialog button{ 66 background-image: url(button-background.png); 67 } -
trunk/skins/xp-blue/skin.css
r217 r239 57 57 background-color:#c3daf9; 58 58 } 59 .dialog { 60 background-color:#c3daf9; 61 } 62 .dialog .title { 63 background-image: url(button-background.png); 64 } 65 .dialog button{ 66 background-image: url(button-background.png); 67 } -
trunk/skins/xp-green/skin.css
r217 r239 56 56 background-color:#f2f0e4; 57 57 } 58 .dialog { 59 background-color:#f2f0e4; 60 } 61 .dialog .title { 62 background-image: url(button-background.png); 63 } 64 .dialog button{ 65 background-image: url(button-background.png); 66 }
Note: See TracChangeset
for help on using the changeset viewer.