问题
The question is simple. I want to put a link in a XUL treecell. thanks
回答1:
I've only gotten this to work with onclick events:
<text value="http://getsatisfaction.com/"
class="url"
onclick="window.open('http://getsatisfaction.com/');"/>
And, of course, these should probably be applied via js instead of hard-coding.
hrm. Mozilla docs give an alternate example:
<label href="http://`enter code here`example.com"
class="text-link"
value="Click here to go to example.com"/>
来源:https://stackoverflow.com/questions/2551928/how-to-embedded-a-link-in-a-xul-treecell