开发者

How to embedded a link in a XUL treecell?

The question is simple. I want to put a link in a XUL treecell. th开发者_StackOverflow中文版anks


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"/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜