PDA

View Full Version : TextArea height with htmlText


vasanthm
03-02-2007, 04:37 PM
Hi All,
I have a TextArea where I am dynamically entering the htmlText with img tags etc.. the textHeight i get from the object does not seem take the img into consideration.. any idea how I can effectively calculate the height?

thanks in advance

Tink
03-02-2007, 06:24 PM
have u waiting until the image has loaded fully before checking its height?

vasanthm
03-05-2007, 03:08 PM
have u waiting until the image has loaded fully before checking its height?


thanks.. that seem to be the problem.. but there is a new problem now.. how do I know if the image has been loaded.. I am unable to add an event listener for the content of htmlText...