19,670
edits
(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.setAttribute('background', 'gray'); | //liNode.setAttribute('background', 'gray'); | ||
liNode.style.listStyleImage="url('http://wiki.oni2.net/w/ | liNode.style.listStyleImage="url('http://wiki.oni2.net/w/images/1/10/Separator.png')"; | ||
node.appendChild(liNode); | node.appendChild(liNode); | ||
} | } | ||