Jump to content

MediaWiki:Common.js: Difference between revisions

maybe this is the right syntax
(trying absolute URL for image)
(maybe this is the right syntax)
Line 327: Line 327:
             //liNode.appendChild(document.createTextNode("--------------------"));
             //liNode.appendChild(document.createTextNode("--------------------"));
             //liNode.setAttribute('background', 'gray');
             //liNode.setAttribute('background', 'gray');
             liNode.setAttribute('list-style-image', url("http://wiki.oni2.net/w/skins/monobook/user.gif"));
             liNode.style.listStyleImage="url('http://wiki.oni2.net/w/skins/monobook/user.gif')";
             node.appendChild(liNode);
             node.appendChild(liNode);
         }
         }