Проблем

mitko876

Registered
Защо този код върви под Mozila, а под IE нестава???
Код:
<form id="postform" method="post" action="">


<div class="panel" id="postingbox">
	
		<script type="text/javascript">

</script>
<script type="text/javascript" src="editor.js"></script>

<div id="colour_palette" style="display: none;">
	<dl style="clear: left;">
		<dt><label>Font color:</label></dt>
		<dd><script type="text/javascript">
		
		</script>
		</dd>
	</dl>
</div>

<div id="format-buttons">
	<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="Bold text: [b]text[/b]" />
	<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="Italic text: [i]text[/i]" />
	<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="Underline text: [u]text[/u]" />
			<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="Quote text: [quote]text[/quote]" />
	<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="List: [list]text[/list]" />
	<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="Ordered list: [list=]text[/list]" />
	<input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="List item: [*]text[/*]" />
			<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="Insert image: [img]http://image_url[/img]" />
			<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="Insert URL: [url]http://url[/url] or [url=http://url]URL text[/url]" />
		<select name="addbbcode20" onchange="bbfontstyle('[size=0].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="Font size">
		<option value="50">Tiny</option>
		<option value="85">Small</option>
		<option value="100" selected="selected">Normal</option>
		<option value="150">Large</option>
		<option value="200">Huge</option>
	</select>
	<input type="button" class="button2" name="bbpalette" id="bbpalette" value="Font color" onclick="change_palette();" title="Font color: [color=red]text[/color]  Tip: you can also use color=#FF0000" />
	</div>

	
		<textarea name="message" id="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" class="inputbox"></textarea>

	
			<br><input type="submit" accesskey="s" tabindex="6" name="post" value="Submit" class="button1" /> 

	</div>
	</div>

</form>

Ако изтрия var help_line тртъгва
Мерси предварително
 

Back
Горе