Autor | Zpráva | ||
---|---|---|---|
German Profil * |
#1 · Zasláno: 13. 12. 2009, 15:17:18
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 |
#2 · Zasláno: 13. 12. 2009, 15:19:32
|
||
German Profil * |
#3 · Zasláno: 13. 12. 2009, 15:31:13
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 * |
#4 · Zasláno: 13. 12. 2009, 15:55:23
Medvídek:
a skousel sem i ten width ale nefunguje mi to |
||
Časová prodleva: 14 let
|
0