Changeset 858 for trunk


Ignore:
Timestamp:
06/23/07 16:16:09 (12 years ago)
Author:
ray
Message:
  • fixed some HTML errors in various files
  • add setValues() to Xinha.PanelDialog?.prototype.show()
Location:
trunk
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/Newbie.html

    r788 r858  
    1717 
    1818<form action=""> 
     19<div> 
    1920<textarea id="myTextArea" name="myTextArea" rows="10" cols="50" style="width: 100%"></textarea> 
     21</div> 
    2022</form> 
    2123</body> 
  • trunk/examples/ext_example-body.html

    r845 r858  
    199199<body> 
    200200  <form id="to_submit" name="to_submit" method="post" action="ext_example-dest.php"> 
    201   <div id="editors_here" name="editors_here"></div> 
     201  <div id="editors_here"></div> 
    202202  <button type="button" onclick="submitHandler('to_submit');">Submit</button> 
    203203  <textarea id="errors" name="errors" style="width:100%; height:100px; background:silver;"></textarea><!-- style="display:none;" --> 
  • trunk/examples/testbed.html

    r836 r858  
    145145 
    146146  <form action="javascript:var x = document.getElementById('editors_here');alert(x.myTextArea.value);" id="editors_here" onsubmit="alert(this.myTextArea.value);"> 
    147     <textarea id="myTextArea" name="myTextArea" style="width:100%;height:320px;"> 
     147 <div> 
     148     <textarea id="myTextArea" name="myTextArea" style="width:100%;height:320px;"> 
    148149      &lt;html&gt; 
    149150      &lt;head&gt; 
     
    182183 
    183184    <input type="submit" /> <input type="reset" /> 
     185</div> 
    184186  </form> 
    185   <script language="javascript"> 
     187  <script type="text/javascript"> 
    186188    document.write(document.compatMode); 
    187189  </script> 
     190<div> 
    188191  <a href="#" onclick="xinha_editors.myTextArea.hidePanels();">Hide</a> 
    189192  <a href="#" onclick="xinha_editors.myTextArea.showPanels();">Show</a> 
     193</div> 
    190194</body> 
    191195</html> 
  • trunk/modules/Dialogs/panel-dialog.js

    r694 r858  
    5555Xinha.PanelDialog.prototype.show = function(values) 
    5656{ 
     57  this.setValues(values); 
    5758  this.editor.showPanel(this.rootElem); 
    5859}; 
  • trunk/modules/InsertImage/insert_image.html

    r740 r858  
    33    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    44<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
     5<head> 
    56  <title>Insert Image</title> 
    67 
  • trunk/plugins/Abbreviation/popups/abbreviation.html

    r846 r858  
    7575 
    7676    </select> 
    77     <input type="title" id="title" name="text" 
     77    <input type="text" id="title" name="title" 
    7878           onChange="document.form.select.selectedIndex=-1" 
    7979           style="position:absolute; top:35px; left:100px; width:100px; border-right:0"> 
  • trunk/plugins/BackgroundImage/popups/bgimage.html

    r740 r858  
    4646<button type="button" name="cancel" onclick="return onCancel();">Cancel</button> 
    4747</div> 
     48</form> 
    4849</body> 
    4950</html> 
  • trunk/plugins/Equation/popups/dialog.html

    r681 r858  
    288288  </tr> 
    289289  <tr><td colspan="2"> 
    290   <span>Based on ASCIIMathML by </span><a href="http://www.chapman.edu/~jipsen" target="new">Peter Jipsen</a>,  
    291 <a href="http://www.chapman.edu" target="new">Chapman University</a><br /> 
     290  <span>Based on ASCIIMathML by </span><a href="http://www.chapman.edu/~jipsen" target="_blank">Peter Jipsen</a>,  
     291<a href="http://www.chapman.edu" target="_blank">Chapman University</a><br /> 
    292292  <span>For more information on AsciiMathML visit this page: </span><a href="http://www1.chapman.edu/~jipsen/mathml/asciimath.html" onclick="window.open(this.href,'_blank','');return false;">http://www1.chapman.edu/~jipsen/mathml/asciimath.html</a></td></tr> 
    293293</table> 
  • trunk/plugins/FormOperations/panel.html

    r677 r858  
     1<div> 
    12<h1 name="[h1]" id="[h1]"><l10n>Form Editor</l10n></h1> 
    23  <fieldset name="[fs_form]" id="[fs_form]"> 
  • trunk/plugins/InsertMarquee/popups/insert_marquee.html

    r715 r858  
    4747 
    4848</script> 
    49 <style rel="stylesheet" type="text/css"> 
     49<style type="text/css"> 
    5050.fr { width: 9em; float: left; padding: 2px 5px; text-align: right; } 
    5151</style> 
  • trunk/plugins/InsertSnippet/popups/insertsnippet.html

    r681 r858  
    44 
    55<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
     6<head> 
    67<title>Insert Snippet</title> 
    78<link rel="stylesheet" type="text/css" href="../../../popups/popup.css" /> 
  • trunk/plugins/Linker/dialog.html

    r728 r858  
    3030                <tr> 
    3131                  <th align="left"><l10n>Name:</l10n></th> 
    32                   <td colspan="3"><input type="text" name="[p_name]" atyle="width:100%" value="_(PopupWindow)" /></td> 
     32                  <td colspan="3"><input type="text" name="[p_name]" style="width:100%" value="_(PopupWindow)" /></td> 
    3333                </tr> 
    3434                <tr> 
  • trunk/plugins/NoteServer/popups/codenote.html

    r715 r858  
    126126  <select size="1" id="f_zoom" title="Zoom :"> 
    127127    <option value="0.8">80%</option> 
    128     <option selected="1.0">100%</option> 
     128    <option selected="selected">100%</option> 
    129129    <option value="1.2">120%</option> 
    130130    <option value="1.5">150%</option> 
  • trunk/plugins/PasteText/popups/paste_text.html

    r718 r858  
    3737<body class="dialog"> 
    3838<div class="title">Paste as Plain Text</div> 
     39<form> 
     40<div> 
    3941<textarea name="inputArea" id="inputArea" cols=22 rows=5 style="width: 100%; height: 315px; margin-top: 8px; margin-bottom: 4px; font-family: monospace; font-size: 11px;"></textarea> 
    4042<div id="buttons"> 
     
    4547    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button> 
    4648</div> 
     49</div> 
     50</form> 
    4751</body> 
    4852</html> 
  • trunk/popups/about.html

    r649 r858  
    1414--> 
    1515 
    16 <html style="height: 100%"> 
     16<html> 
    1717<head> 
    1818<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
     
    118118</script> 
    119119<style> 
     120  html, body { height: 100%} 
    120121  html,body,textarea,table 
    121122  { font-family: helvetica,arial,sans-serif; 
Note: See TracChangeset for help on using the changeset viewer.