Almond Joys got nuts Mounds don't!

Discussion in 'Programming' started by Sleeping Troll, Aug 26, 2008.

  1. #1
    Code in green works, Code in red don't! Even with functions commented out.
    Error is "object does not support this property or method..." Anybody wnat to hazard a guess?

    		<td nowrap id = "Left_Panel">
    			<div align="center" class = "style1">
    					Edit Text
    				<div></div>
    				<div>
    					<input id=TxttoImg type="text" name="TextEntry" onKeyUp="TxttoImg(this.name,this.value)">
    					&nbsp;
    					<input name="Next" type="button" value="Next Line" onClick = "Next()">
    					<input name="Counter" type="text" value="1" size="1">
    &nbsp;				</div>
    				<div>Size
    [COLOR="YellowGreen"]					<input id="Dec" name="Dec" type="button" value="-" onClick="FontSize(this.id)">
    					<input id="Inc" name="Inc" type="button" value="+" onClick="FontSize(this.id)">[/COLOR]
    					<input name="TextSize" type="text" size="3" value="32" onkeyup = "TxttoImg(this.name,this.value)">
    					&nbsp;
    					Shadow
    					<input name="Shadow" type="checkbox" id="Shadow" onClick="TxttoImg(this.name,this.checked)" value="Shadow">
    				</div>
    				</div>
    				<div align="center" class = "style1">
    				<br>
    				Edit Image
    				<div>
    					<iframe scrolling="no" src="Uploader.php" id="Upload" name="Upload" style="width:340; height:215;"></iframe>
    				</div>
    				<div>
    				
    				Zoom
    [COLOR="Red"]					<input id="Zoomout" name="Zoomout" type="button" value="-" onClick= "Zoom(this.id)">
    					<input id="Zoomin" name="Zoomin" type="button" value="+" onClick= "Zoom(this.id)">[/COLOR]
    					&nbsp;
    					<input name="textfield3" type="text" value="100" size="3">
    					<span class="style4">%</span>				</div>
    				<div>
    					<form enctype="multipart/form-data" action = "Uploader.php?ProjectID=<?php echo $ProjectID ?>" method="POST" target="Upload">
    						<input type="hidden" name="MAX_FILE_SIZE" value="5000000">
    						<input type="file" name="UploadFile"><br>
    						<input name="Upload" type="submit"  value="Upload">
    					</form>
    				</div>
    			</div>
    		</td>
    Code (markup):

     
    Sleeping Troll, Aug 26, 2008 IP