tiy Posted April 1, 2006 Report Share Posted April 1, 2006 textarea vai var izdarit ta, kadi textarea kaut ko raksta un kad rindina ir pilna parmet uz nakamo rindinu, tas ir tieshi tapat ka ir shini foruma. Ka to izdarit? Link to comment Share on other sites More sharing options...
Vebers Posted April 1, 2006 Report Share Posted April 1, 2006 http://www.google.lv/search?q=word+wrap+te...:en-US:official Link to comment Share on other sites More sharing options...
Stopp Posted April 1, 2006 Report Share Posted April 1, 2006 ? uz explorera tas ir ar jebkuru textarea, uz firefoxa šinī forumā nav... Link to comment Share on other sites More sharing options...
GedroX Posted April 3, 2006 Report Share Posted April 3, 2006 Diezgan ok ir izmantot <div style="border: 1px solid black; width: 500px; height: 200px; overflow: auto;" contenteditable="true"></div> Link to comment Share on other sites More sharing options...
Delfins Posted April 3, 2006 Report Share Posted April 3, 2006 skatoties kādiem mērķiem Link to comment Share on other sites More sharing options...
tiy Posted April 3, 2006 Author Report Share Posted April 3, 2006 (edited) Ka shito tad ja izmanto? <div style="border: 1px solid black; width: 500px; height: 200px; overflow: auto;" contenteditable="true"><textarea></textarea></div> <textarea><div style="border: 1px solid black; width: 500px; height: 200px; overflow: auto;" contenteditable="true"></div></textarea> <input type="text" style="border: 2px solid yellow; width: 500px; height: 200px; overflow: auto;" contenteditable="true"> Ja shita tad man neparlec uz nakamo rindu. Edited April 3, 2006 by tiy Link to comment Share on other sites More sharing options...
Delfins Posted April 3, 2006 Report Share Posted April 3, 2006 nafig tu bāzt textarea iekš contenteditable DIV-a un otrādāk... !? Jāatstāj tikai DIVs... Link to comment Share on other sites More sharing options...
Grey_Wolf Posted April 3, 2006 Report Share Posted April 3, 2006 (edited) contenteditable Div tachu stradaa tikai uz IE un arii tikai no vers 5,5 vai tad ne taa? kam apdaaliit lielu dalju no lietotaajiem? edit: starp citu intresanata lieta ir ja IE >5,5 adreses rinda ieraksta java script:void(document.body.contentEditable = true); pamegjiniet ;) tekstu var briivi editeet un izprinteet :) Edited April 3, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
bubu Posted April 3, 2006 Report Share Posted April 3, 2006 Gray_Wolf: mozillai eksistē analoģiska lieta. Link to comment Share on other sites More sharing options...
tiy Posted April 3, 2006 Author Report Share Posted April 3, 2006 ja man interse vairak tieshi firefox jo uz ie pietiek uzrakstit pie taga wrap=on Link to comment Share on other sites More sharing options...
Delfins Posted April 3, 2006 Report Share Posted April 3, 2006 Katram browserim jātaisa savs wraperis.. nevis vienu kombainu taisīt.. 1.) mazāk bugu 2.) extendējama lieta katram browserim PS: takš tas viss ir pieejams, atliek tikai pārtaisīt sev vēlamajā veidā Link to comment Share on other sites More sharing options...
Recommended Posts