I had same problem. This is one solution:
http://www.mail-archive.com/dynapi-help%40lists.sourceforge.net/msg03755.htm
l.

btw. your code is lil bit hard to read.. (hint:)

-----Original Message-----
From: Kasper Schnell [mailto:[EMAIL PROTECTED]]
Sent: 24. hein�kuuta 2001 15:49
To: [EMAIL PROTECTED]
Subject: �Dynapi-Help� NS-problems with writing text to a form


Hello everybody.
I have a small problem with NS.
I have made a draggable layer which contains a form where you kan enter text
into. The problem is, that it is not possible to write in the form, even
though the layer is in focus. Why is that???
It works perfect in IE

My setHTML for the layer looks like this:

 var myHTML = '<table width=188 cellspacing=0 cellpadding=0 border=0><tr><td
colspan=3><img src='+ cSrc + 'top.gif width=188 height=18 border=0></td><td
rowspan=3 valign=top width=10><img src=/skin/<?php echo $skinPath;
?>/blank.gif height=6 width=10><br><a href="javascript:deleteObject(\'' + id
+  '\');"><img src=/gfx/skin/<?php echo $skinPath; ?>/handle_delete.gif
height=10 width=10 border=0></td></tr><tr><td><img src='+ cSrc + 'left.gif
width=24 height=61 border=0></a></td><td width=106 bgcolor=ffffff
valign=top><table width=115 cellspacing=0 cellpadding=0 border=0><tr><td
rowspan=3><form name="input_' + id + '"><textarea name=content
class="createTextInput" wrap="virtual" cols=7 rows=3
onKeyUp="countFront(this.form)"><?php print
$strComposeCreate_front['speechbubble message']; ?></textarea></td><td
bgcolor=#FFFFFF><input type="radio" class=radiobutton name="font"
value="font1" CHECKED></td></tr><tr><td bgcolor=#FFFFFF><input type="radio"
name="font" value="font2" class=radiobutton></td></tr><tr><td
bgcolor=#FFFFFF><input type="radio" name="font" value="font3"
class=radiobutton></td></tr></form></td></tr></table><td background="'+ cSrc
+ 'right.gif" width="49" height="61"><img
src="../fontTeaser.gif?n=1&type=front"><br><img
src="../fontTeaser.gif?n=2&type=front"><br><img
src="../fontTeaser.gif?n=3&type=front"></td></tr><tr><td colspan=3><img
src='+ cSrc + 'bottom.gif width=188 height=21 border=0></td></tr></table>'


Cheers
Kas

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to