I have a text properly read in from xml and displaying ok. But I'm trying to implement a link on one word in the text and that doesn't work. the xml node is
Code:
<bodytext><![CDATA[visit the website <a href="http://www.site.com">clicktext</a>]]></bodytext>
and should display;
visit the website clicktext
but displays;
visit the website <a href="http://www.site.com">clicktext</a>
Anybody any idea?
The code generating the html text field seems to work ok (it creates "arial font"), that specifc part goes;
Code:
this.createTextField("headline_txt"+depth,this.get NextHighestDepth(),0,h,400,20);
this["headline_txt"+depth].html = true;
this["headline_txt"+depth].autoSize = "left";
this["headline_txt"+depth].multiline = true;
this["headline_txt"+depth].wordWrap = true;
this["headline_txt"+depth].htmlText = '<font face="Arial, Helvetica, sans-serif">'+_parent._parent._parent._parent._parent._ parent.xmldata[2][j-1]+'</font>';
Anybody any clue how to escape the html link code being displayed literally? Tried < and > for < > but then it displayed those literally
online stock trading
fitness workout