Jump to content

MediaWiki:Common.js: Difference between revisions

now let's try it with an actual separator line
(maybe this is the right syntax)
(now let's try it with an actual separator line)
Line 325: Line 325:
             var liNode = document.createElement('li');
             var liNode = document.createElement('li');
   
   
            //liNode.appendChild(document.createTextNode("--------------------"));
             //liNode.setAttribute('background', 'gray');
             //liNode.setAttribute('background', 'gray');
             liNode.style.listStyleImage="url('http://wiki.oni2.net/w/skins/monobook/user.gif')";
             liNode.style.listStyleImage="url('http://wiki.oni2.net/w/images/1/10/Separator.png')";
             node.appendChild(liNode);
             node.appendChild(liNode);
         }
         }