Jump to content

MediaWiki:Common.js: Difference between revisions

does this only work with this syntax?
(let's try putting it inside the list)
(does this only work with this syntax?)
Line 324: Line 324:
   
   
             var liNode = document.createElement('li');
             var liNode = document.createElement('li');
             liNode.setAttribute('list-style-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')";
             liNode.setAttribute('list-style-position', 'inside');
             liNode.style.listStylePosition='inside';
             node.appendChild(liNode);
             node.appendChild(liNode);
         }
         }