开发者

How to embedded a link in a XUL treecell?

开发者 https://www.devze.com 2022-12-25 11:15 出处:网络
The question is simple. I want to put a link in a XUL treecell. th开发者_StackOverflow中文版anksI\'ve only gotten this to work with onclick events:

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

精彩评论

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

关注公众号