משתמש:Neriah/common.js: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
אין תקציר עריכה
שורה 70: שורה 70:
buttonDiv.style.display = "inline-block";
buttonDiv.style.display = "inline-block";
buttonDiv.style.verticalAlign = "middle";
buttonDiv.style.verticalAlign = "middle";
buttonDiv.style.marginRight = "100px";
buttonDiv.style.marginLeft = "10px";
buttonDiv.appendChild(buttonSpan);
buttonDiv.appendChild(buttonSpan);


var heading = document.getElementById('firstHeading');
var heading = document.getElementById('firstHeading');


heading.insertBefore(buttonDiv, heading.firstChild);
heading.appendChild(buttonDiv);


buttonSpan.addEventListener("click", function() {
buttonSpan.addEventListener("click", function() {
817

עריכות