Thanks. What I specifically need to do is highlight on or two words in a block of text that looks like a paragraph, rather than making a hyperlink out of the entire text block. I assume I could always edit the html after I have published the composition?
Forum Bug: i complete my post.
1) Using Edge Animate functions: sym.setVariable(), sym.getVariable() and open.window()
2) Using <a>.
I assume that you add a text box on stage.
Using compositionReady, you write:
var url = 'http://www.myDomain';
var aText = 'a text link';
var anchorTag = '<a href="' + url + '" target="_blank">' + aText + '</a>';
myTextBox = sym.$("Text");
myTextBox.html('There is a new website: '+anchorTag+' other words...');
Now without variables:
var anchorTag = '<a href="http://www.myDomain" target="_blank">a text link</a>';
Another text using tags:
var myParagraph = "There is <strong>a new website:</strong> "+anchorTag+" other words...";
myParagraph += "<p>I write a new paragraph.</p>";
Thanks that's great. Understand that totally.