MediaWiki:Common.js: Difference between revisions

didn't align properly; let's try it as a bg image
(now let's try it with an actual separator line)
(didn't align properly; let's try it as a bg image)
Line 325: Line 325:
             var liNode = document.createElement('li');
             var liNode = document.createElement('li');
   
   
             //liNode.setAttribute('background', 'gray');
             liNode.setAttribute('background-image', "url('http://wiki.oni2.net/w/images/1/10/Separator.png')");
            liNode.style.listStyleImage="url('http://wiki.oni2.net/w/images/1/10/Separator.png')";
             node.appendChild(liNode);
             node.appendChild(liNode);
         }
         }