English 中文(简体)
Updating toolbarbutton using list 生活方式归属
原标题:Updating Firefox toolbarbutton using listStyleImage attribute

I am trying to update the css attribute for a toolbarbutton but the following does not work:

document.getElementById( toolbar-button ).style.listStyleImage = url("chrome://ext/skin/toolbar-button-add.png");

最佳回答

您的这部法典是否直接贴出并贴出你的法典?

Because if it is, you are missing the around the value. It should be

document.getElementById( toolbar-button ).style.listStyleImage =  url("chrome://ext/skin/toolbar-button-add.png") ;

浏览 de虫的灯光,因为在ole鱼中可以发现这种灯像 url:不是功能<>/代码”或像这样的东西。

问题回答

暂无回答




相关问题
PHP DOM - accessing newly added nodes

I use the following to get a html document into DOM: $dom = new domDocument( 1.0 , utf-8 ); $dom->loadHTML($html) and then I add some new content to an element in the html: $element = $dom->...

XML DOM parsing br tag

I need to parse a xml string to obtain the xml DOM, the problem I m facing is with the self closing html tag like <br /> giving me the error of Tag mismatch expected </br>. I m aware this ...

How to get a flash url in a webpage using a webframe?

As we know , When we load frame from webpage of safari, we will invoke the delegate methods of webkit informal protocol(WebFrameLoadDelegate): webView:didStartProvisionalLoadForFrame: webView:...