מדיה ויקי:Gadget-TemplatesExternalLinks.js: הבדלים בין גרסאות בדף
מ תקלדה |
. |
||
| שורה 239: | שורה 239: | ||
body.appendChild(table); | body.appendChild(table); | ||
body.appendChild(doc.createElement("p")); | body.appendChild(doc.createElement("p")); | ||
p = doc.createElement("p"); | |||
doc. | p.appendChild(doc.createTextNode("הערת שוליים")); | ||
doc.refCheckBox = copyAttributes(doc.createElement('input'), {type: "checkbox", doc: doc, onchange: updatePreview}); | |||
p.appendChild(doc.refCheckBox); | p.appendChild(doc.refCheckBox); | ||
p.appendChild(doc.createTextNode("פריט ברשימה")); | |||
doc.listCheckBox = copyAttributes(doc.createElement('input'), {type: "checkbox", doc: doc, onchange: updatePreview}); | |||
p.appendChild(doc.listCheckBox); | p.appendChild(doc.listCheckBox); | ||
body.appendChild(p); | body.appendChild(p); | ||
| שורה 258: | שורה 260: | ||
b = copyAttributes(doc.createElement("input"), {type: "button", value: "ביטול", popup: popup, onclick: function(){this.popup.close();}}); | b = copyAttributes(doc.createElement("input"), {type: "button", value: "ביטול", popup: popup, onclick: function(){this.popup.close();}}); | ||
body.appendChild(b); | body.appendChild(b); | ||
refCheckBox.onchange(); | doc.refCheckBox.onchange(); | ||
} | } | ||