Benutzer:J*/Javascript-Spielwüste.js: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
document.onload = function () {
+
window.onload = function () {
 
document.getElementById("J_FRAME").innerHTML =   
 
document.getElementById("J_FRAME").innerHTML =   
 
'<form id="upload" method="post" enctype="multipart/form-data" action="#">'+
 
'<form id="upload" method="post" enctype="multipart/form-data" action="#">'+

Version vom 6. April 2008, 21:58 Uhr

window.onload = function () {
document.getElementById("J_FRAME").innerHTML =  
'<form id="upload" method="post" enctype="multipart/form-data" action="#">'+
'		<table border="0">'+
'		<tbody><tr>'+
'	  '+
'			<td align="right" valign="top"><label for="wpUploadFile">Datei:</label></td>'+
'			<td align="left">'+
'				<input tabindex="1" name="wpUploadFile" id="wpUploadFile" onchange=\'fillDestFilename("wpUploadFile")\' size="40" type="file"><input name="wpSourceType" value="file" type="hidden">'+

'			</td>'+
'		</tr>'+
'		<tr>'+
'			<td align="right"><label for="wpDestFile">Dateiname:</label></td>'+
'			<td align="left">'+
'				<input tabindex="2" name="wpDestFile" id="wpDestFile" size="40" value="" onkeyup="wgUploadWarningObj.keypress();" type="text">'+
'			</td>'+
'		</tr>'+
'		<tr>'+
'			<td align="right"><label for="wpUploadDescription">Beschreibung:<br>'+
'<span style="color: rgb(192, 0, 0); font-weight: bold; text-decoration: underline; background-color: rgb(255, 255, 64);">(Quelle angeben!)</span></label></td>'+
'			<td align="left">'+
'				<textarea tabindex="3" name="wpUploadDescription" id="wpUploadDescription" rows="6" cols="80"></textarea>'+
'			</td>'+
'		</tr>'+
'		<tr>'+
'		<td></td>'+
'		<td>'+
'			<input tabindex="7" name="wpWatchthis" id="wpWatchthis" value="true" type="checkbox">'+
'			<label for="wpWatchthis">Diese Seite beobachten</label>'+
'			<input tabindex="8" name="wpIgnoreWarning" id="wpIgnoreWarning" value="true" type="checkbox">'+
'			<label for="wpIgnoreWarning">Warnungen ignorieren</label>'+
'		</td>'+
'	</tr>'+
''+
'	<tr><td colspan="2" id="wpDestFile-warning">&nbsp;</td></tr>'+
'	<tr>'+
'		<td></td>'+
'		<td align="left"><input tabindex="9" name="wpUpload" value="Datei hochladen" title="Hochladen starten [s]" accesskey="s" type="submit"></td>'+
'	</tr>'+
'	<tr>'+
'		<td></td>'+
'		<td align="left">'+
'		<div style="color: rgb(45, 100, 161); font-size: smaller;">Zum Vermeiden unnötiger Artikelversionen bitte den <b>Vorschau-Button</b> benutzen!</div>'+
''+
'		</td>'+
'	</tr>'+
''+
'	</tbody></table>'+
'	<input name="wpDestFileWarningAck" id="wpDestFileWarningAck" value="" type="hidden">'+
	'</form>';
}