ich habe folgenden Quelltext:
#
Wie mache ich es jetzt, dass unter dem Button Vorschau eine vorschau erscheint, wenn man in klickt?
Paddy
----------------------
Natürlich möchte ich dieses Problem in PHP lösen sonst würde ich ja nicht in das PHP-Board schreiben
Code:
<center> <table border="0" width="561" height="369" cellspacing="0" cellpadding="0"> <form method="POST" name="newsform" action=""> </center> <tr> <td width="77" height="20"> <p align="left"><FONT face="Verdana, Geneva, Arial, Helvetica, sans-serif" size=2><B> Code</B></FONT> <br><B><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="1"> </font></B> <FONT face="verdana, geneva, arial, helvetica, sans-serif" size=1><BR><INPUT onmouseover="stat('norm')" title="Normaler Modus: (alt+n)" accessKey=n onclick=setmode(this.value) type=radio CHECKED value=0 name=mode> normal <BR><INPUT onmouseover="stat('enha')" title="Erweiterter Modus: (alt+e)" accessKey=e onclick=setmode(this.value) type=radio value=1 name=mode> erweitert</FONT></p> </td> <center> <td width="368" colspan="2" height="20"> <p align="center"><INPUT class=bginput onmouseover="stat('href')" title="Internetadresse einfügen" onclick="namedlink(this.form,'href')" type=button value="http://"><INPUT class=bginput onmouseover="stat('email')" title="eMail-Adresse einfügen" onclick="namedlink(this.form,'mailto')" type=button value=" @ "><FONT face="verdana, geneva, arial, helvetica, sans-serif" size=1><INPUT class=bginput onmouseover="stat('img')" title="Grafik einfügen" onclick="vbcode(this.form,'IMG','http://')" type=button value=IMG><INPUT class=bginput onmouseover="stat('b')" title="FETT (alt+b)" style="FONT-WEIGHT: bold " accessKey=b onclick="vbcode(this.form,'b','')" type=button value=" B "><INPUT class=bginput onmouseover="stat('i')" title="KURSIV (alt+i)" style="FONT-STYLE: italic " accessKey=i onclick="vbcode(this.form,'i','')" type=button value=" I "><input class="bginput" onmouseover="stat('u')" title="UNTERSTRICHEN (alt+u)" style="TEXT-DECORATION: underline " accessKey="u" onclick="vbcode(this.form,'u','')" type="button" value="_U_"><INPUT class=bginput onmouseover="stat('list')" title=Liste accessKey=l onclick=dolist(this.form) type=button value=Liste><br><INPUT class=bginput onmouseover="stat('br1')" title="Zeilenumbruch" onclick="umbruch(this.form,'br','')" type=button value="Umbr."><INPUT class=bginput onmouseover="stat('br')" title="Absatz" onclick="absatz(this.form,'br','')" type=button value="Absatz"> schließen:<input class="bginput" onmouseover="stat('closecurrent')" title="Aktuelles Tag schliessen (alt+c)" accessKey="c" onclick="closetag(this.form)" type="button" value="aktuell"><input class="bginput" onmouseover="stat('closeall')" title="Alle offenen Tags schliessen (alt+x)" accessKey="x" onclick="closeall(this.form)" type="button" value=" alle "> <br> </FONT><br> <font face="verdana, geneva, arial, helvetica, sans-serif" size="1"><input class="bginput" style="FONT-SIZE: 7pt" size="50" value="Hier kannst Du einfach vBcode einfügen" name="status"></font></td> </center> <td width="116" height="20"> <p align="right"><FONT face="verdana, geneva, arial, helvetica, sans-serif" size=1><SELECT id=colorselect0 onmouseover="stat('color')" onchange="fontformat(this.form,this.options[this.selectedIndex].value,'COLOR')" size="1"> <OPTION value=1 selected>FARBE</OPTION> <OPTION style="COLOR: royalblue" value=royalblue>royalblau</OPTION> <OPTION style="COLOR: blue" value=blue>blau</OPTION> <OPTION style="COLOR: darkblue" value=darkblue>dunkelblau</OPTION> <OPTION style="COLOR: orange" value=orange>orange</OPTION> <OPTION style="COLOR: orangered" value=orangered>orangerot</OPTION> <OPTION style="COLOR: crimson" value=crimson>blutrot</OPTION> <OPTION style="COLOR: red" value=red>rot</OPTION> <OPTION style="COLOR: darkred" value=darkred>dunkelrot</OPTION> <OPTION style="COLOR: green" value=green>grün</OPTION> <OPTION style="COLOR: limegreen" value=limegreen>hellgrün</OPTION> <OPTION style="COLOR: seagreen" value=seagreen>seegrün</OPTION> <OPTION style="COLOR: deeppink" value=deeppink>pink</OPTION> <OPTION style="COLOR: coral" value=coral>korallenrot</OPTION> <OPTION style="COLOR: purple" value=purple>lila</OPTION> <OPTION style="COLOR: indigo" value=indigo>indigo</OPTION> <OPTION style="COLOR: burlywood" value=burlywood>gelbbraun</OPTION> <OPTION style="COLOR: sandybrown" value=sandybrown>sandbraun</OPTION> <OPTION style="COLOR: sienna" value=sienna>dunkelbraun</OPTION> <OPTION style="COLOR: chocolate" value=chocolate>braun</OPTION> <OPTION style="COLOR: teal" value=teal>türkis</OPTION> <OPTION style="COLOR: silver" value=silver>hellgrau</OPTION> <option value="#666666">Dunkelgrau</option> </SELECT><br><SELECT id=fontselect onmouseover="stat('font')" onchange="fontformat(this.form,this.options[this.selectedIndex].value,'FONT')" size="1"> <OPTION value=1 selected>SCHRIFT</OPTION><OPTION value=arial>→ Arial</OPTION> <OPTION value="times new roman">→ Times</OPTION> <OPTION value="courier new">→ Courier</OPTION> <OPTION value="century gothic">→ Century</OPTION></SELECT><br></FONT><FONT face="verdana, geneva, arial, helvetica, sans-serif" size=1><SELECT id=sizeselect0 onmouseover="stat('size')" onchange="fontformat(this.form,this.options[this.selectedIndex].value,'SIZE')"> <OPTION value=0 selected>GRÖSSE</OPTION><OPTION value=1>klein</OPTION> <OPTION value=3>gross</OPTION> <OPTION value=4>riesig</OPTION></SELECT> </FONT></td> </tr> <tr> <td width="561" colspan="4" height="262"> <p align="center">Überschrift:<br><input type="text" name="head" size="55"></p> <p align="center">Text:<br><textarea rows="8" name="message" cols="60"></textarea></p> </td> </tr> <tr> <td width="298" height="61" colspan="2"> <p align="right">Datum <input type="text" name="datum" size="20"> </td> <td width="263" height="61" colspan="2">Auwahl <select size="1" name="auswahl"> <option value="" selected>-- Bitte Auwählen --</option> <option value="news">News</option> </select> </td> </tr> <tr> <td width="561" colspan="4" height="27"> <p align="center"><input type="submit" value="Speichern" name="send"> <input type="submit" value="Vorschau" name="vorschau"> </td> </tr> </form> </table> <p align="center"><FONT face="verdana, geneva, arial, helvetica, sans-serif" size=1><br> </FONT></p>
Wie mache ich es jetzt, dass unter dem Button Vorschau eine vorschau erscheint, wenn man in klickt?
Paddy
----------------------
Natürlich möchte ich dieses Problem in PHP lösen sonst würde ich ja nicht in das PHP-Board schreiben
Comment