Hi friends
I was looking in the JavaScript Tools guide but did not find this information (or perhaps I missed it). Would it be possible to a statictext become a hyperlink? And a portion of a text in an alert pop-up? For example:
var dlg = new Window ("dialog", "My dialog", undefined);
var myText = dlg.add ("statictext", undefined, "www.mysite.com");
var myButton = dlg.add ("button", undefined, "Click here");
myButton.onClick = function (){
alert("Please visit www.mysite.com for more informations, or send e-mail to me@mysite.com.");
};
dlg.show();
Could the "www.mysite.com" in the statictext and alert be an hyperlink? The same for the e-mail "me@mysite.com"? Does JavaScript UI allows it?
Thank you very much
Gustavo.