Autor Zpráva
German
Profil *
Ahojte nainstaloval sem si TinyMCE na moju stranku

tohle je javascript kod kterej sem si ulozil ve index.html

<script type="text/javascript" language="javascript" src="./tyniMCE/jscripts/tiny_mce/tiny_mce.js"></script>
  <script type="text/javascript">
  tinyMCE.init({
		mode : "textareas",
		theme : "advanced",
		plugins : "",
    theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect",
	  theme_advanced_buttons2 : "cut,copy,paste,bullist,numlist,|ltr,rtl|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,image,cleanup,help,code,preview,|,forecolor,backcolor,fullscreen",
	  theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,advhr,|,print,ibrowser",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		content_css : "textarea_cssstyles.css",
		paste_use_dialog : false,
		theme_advanced_resizing : true,
		theme_advanced_resize_horizontal : false,
		disk_cache : false,
		apply_source_formatting : false,
		editor_selector : "editor",
});
  </script>


a stymhle kodem vypisuju textareu

<textarea class="editor" name="text" style="width: 98%; height: 200px;"></textarea> 


a ikdys mam nastavenej width se mi textarea roztahne a ja nevim proc.

Tohle je vysledek:



dekuju dopredu za vasi pomoc ...
Medvídek
Profil
German:
http://www.google.cz/search?q=tinymce+width&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:cs:official&client=firefox-a

http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/width
German
Profil *
Medvídek:
no to sem sice nasel taky ale ja potrebuju u kazdyho textarea jine rozliseni ... a tu konfiguraci chci dat jenom jednou do index.html ... a ne ju mit vsude kde budu mit textarea ...
German
Profil *
Medvídek:
a skousel sem i ten width ale nefunguje mi to

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0