| Line 157 was replaced by lines 157-173 |
| - setTimeout(function() {setdil("DIL3/DIL4");}, 0); |
| + var stored = {}; |
| + var mainsvg; |
| + |
| + function init() { |
| + setdil("DIL3/DIL4"); |
| + mainsvg = document.getElementById("mainsvg"); |
| + } |
| + function push() { |
| + stored[dilselect+"-"+vtiselect] = mainsvg.cloneNode(true); |
| + } |
| + function list() { |
| + svglist = document.getElementById("svglist"); |
| + for (var nodename in stored) { |
| + svglist.appendChild(stored[nodename]); |
| + } |
| + } |
| + setTimeout(init, 0); |
| At line 170 added 2 lines. |
| + <input type="button" name=m onClick="push();">push |
| + <input type="button" name=m onClick="list();">list |
| Line 175 was replaced by line 193 |
| - <svg width="1024" height="340" xmlns="http://www.w3.org/2000/svg"> |
| + <svg width="1024" height="340" xmlns="http://www.w3.org/2000/svg" id=mainsvg> |
| Line 306 was replaced by lines 324-327 |
| - </svg></html> |
| + </svg> |
| + <div id=svglist> |
| + </div> |
| + </html> |