I know I asked this question before but no reply so far - sorry for the repetition. I am sending a string to an articulate variable through Javascript. I want to display the string in a textbox. I embed html code in the string. The assignment to the variable works correctly.
I find that the html tags <b><u><i> work. However, <font color="red"> does not work, nor does the strikeout tag: <strike> or <s>.
I am trying to display a string where certain words are highlighted or struck out - just bold or underline is not enough.
Hey Andrew - the formatting options are really limited. However, you might be able to work around it by using multiple "zones" within your text. This could work in some situations. In my experience, these work:
<u> <b> <i> <br>
%first part% %second part formatted with red and bold% %third part%
Thanks for the great idea Steve, unfortunately the string I am building up has no predicted order and no predicted number of sub-strings which could be assigned to "zone" variables. I don't know how difficult it would be to implement a greater range of tokens but they would make a big difference to people who want to go beyond the standard capabilities and especially, interactions, which Articulate provides. A real pity (at least for me).
6 Replies
Only some of the tags work there is no way to do this
Thank you Phil. Pity... Is there a way to know which tags work?
I have just used trial and error, I think this is an undocumented feature and tags were not meant to be implemented
Again a pity - that would have given us much more control.
Hey Andrew - the formatting options are really limited. However, you might be able to work around it by using multiple "zones" within your text. This could work in some situations. In my experience, these work:
%first part% %second part formatted with red and bold% %third part%
Thanks for the great idea Steve, unfortunately the string I am building up has no predicted order and no predicted number of sub-strings which could be assigned to "zone" variables. I don't know how difficult it would be to implement a greater range of tokens but they would make a big difference to people who want to go beyond the standard capabilities and especially, interactions, which Articulate provides. A real pity (at least for me).
Thanks again :)
This discussion is closed. You can start a new discussion or contact Articulate Support.