Witam,
Jak zapisać zawartość z iframe? Myśle coś nad tym aby iframe eksportować do oddzielnego pliku html zapisać go w bazie (mysql php) no i potem oczywiście mieć możliwość odczytać (taki notatnik online, wszystko mam tylko brak mi zapisu/odczytu). Jeszcze jest kwestia wydrukowania, pomysł jest taki aby wyeksportować do pdf i drukować z tegoż pliku.
<form method="POST" id='edytortekstu'> <select onchange="Colour(this[this.selectedIndex].value)"> <option value="darkred" style="background:darkred"></option> <option value="darkblue" style=" background:darkblue"></option>
<input type="button" onclick="Format('bold')" value="B" /> <input type="button" onclick="Format('italic')" value="I" /> <input type="button" onclick="Format('Underline')" value="U" /> <input type="button" onclick="Format('justifycenter')" value="C" /> <input type="button" onclick="Format('justifyleft')" value="L" /> <input type="button" onclick="Format('justifyright')" value="R" /><br/>
<select onchange="fontn(this[this.selectedIndex].value)"> <option style="font-family: Arial;" value="Arial">Arial
</option> <option style="font-family: Arial Black;" value="Arial Black">Arial Black
</option> <option style="font-family: Arial Narrow;" value="Arial Narrow">Arial Narrow
</option> <option style="font-family: Book Antiqua;" value="Book Antiqua">Book Antiqua
</option> <option style="font-family: Century Gothic;" value="Century Gothic">Century Gothic
</option> <option style="font-family: Comic Sans Ms;" value="Comic Sans Ms">Comic Sans Ms
</option> <option style="font-family: Courier New;" value="Courier New">Courier New
</option> <option style="font-family: Fixedsys;" value="Fixedsys">Fixedsys
</option> <option style="font-family: Franklin Gothic Medium;" value="Franklin Gothic Medium">Franklin Gothic Medium
</option> <option style="font-family: Garamond;" value="Garamond">Garamond
</option> <option style="font-family: Georgia;" value="Georgia">Georgia
</option> <option style="font-family: Impact;" value="Impact">Impact
</option> <option style="font-family: Lucida Console;" value="Lucida Console">Lucida Console
</option> <option style="font-family: Lucida Sans Unicode;" value="Lucida Sans Unicode">Lucida Sans Unicode
</option> <option style="font-family: Microsoft Sans Serif;" value="Microsoft Sans Serif">Microsoft Sans Serif
</option> <option style="font-family: Palatino Linotype;" value="Palatino Linotype">Palatino Linotype
</option> <option style="font-family: System;" value="System">System
</option> <option style="font-family: Tahoma;" value="Tahoma">Tahoma
</option> <option style="font-family: Times New Roman;" value="Times New Roman">Times New Roman
</option> <option style="font-family: Trebuchet Ms;" value="Trebuchet Ms">Trebuchet Ms
</option> <option style="font-family: Verdana;" value="Verdana">Verdana
</option>
<select onchange="fonts(this[this.selectedIndex].value)">
<button type="button" onclick="command('InsertOrderedList', null)">Lista numerowana
</button> <button type="button" onclick="command1('InsertUnorderedList', null)">Lista punktowana
</button> <button type="button" onclick="command2('indent', null)">Wcięcie
</button> <button type="button" onclick="command3('outdent', null)">Usuń wcięcie
</button>
<input type="submit" name="wyslij" value="Zapisz" /> <input type="hidden" id="text" name="text" />