I'm looking for a way to create a <b>mailto:</b> link in XUL which doesn't first open a window. Right now I have this:
Code: Select all
<text value="mail the author" style="color: blue; cursor: pointer" onclick="window.open('mailto:foobar@yahoo.com?subject=firefox');"/>
but this code opens an empty browser and then opens my email application's message composer. Is there a way to say something like:
Code: Select all
onclick="mailto:foobar@yahoo.com?subject=firefox;"
note the lack of window.open()?
Thank you in advance for any help,
grimholtz