MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 271: Line 271:
         ButtonLink.setAttribute("href","javascript:doExpandText("+textIndex+");");
         ButtonLink.setAttribute("href","javascript:doExpandText("+textIndex+");");
         ButtonLink.appendChild(ButtonText);
         ButtonLink.appendChild(ButtonText);
         Button.appendChild(document.createTextNode("["));
         Button.appendChild(document.createTextNode("... ("));
         Button.appendChild(ButtonLink);
         Button.appendChild(ButtonLink);
         Button.appendChild(document.createTextNode("]"));
         Button.appendChild(document.createTextNode(")"));
         TextPart.setAttribute("id","pcsx2_collapsibleTextPart"+textIndex);
         TextPart.setAttribute("id","pcsx2_collapsibleTextPart"+textIndex);
         TextFull.setAttribute("id","pcsx2_collapsibleTextFull"+textIndex);
         TextFull.setAttribute("id","pcsx2_collapsibleTextFull"+textIndex);
         TextFull.style.display="none";
         TextFull.style.display="none";
         //TextPart.insertBefore(Button,TextPart.nextSibling);
         TextPart.appendChild(Button);
         TextPart.insertBefore(Button,TextPart.childNodes[0]);
         //TextPart.insertBefore(Button,TextPart.childNodes[0]);
         textIndex++;
         textIndex++;
     }
     }
67,362

edits

Navigation menu