<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>https://wiki.uogames.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACollapsible.js</id>
		<title>MediaWiki:Collapsible.js - История изменений</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.uogames.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACollapsible.js"/>
		<link rel="alternate" type="text/html" href="https://wiki.uogames.org/index.php?title=MediaWiki:Collapsible.js&amp;action=history"/>
		<updated>2026-06-13T10:02:14Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.uogames.org/index.php?title=MediaWiki:Collapsible.js&amp;diff=21767&amp;oldid=prev</id>
		<title>Alastar: Новая страница: «/**  * Code for collapsible tables.  */ function CollapseButton(table, header) {     var spacer = document.createElement('div');     spacer.style.cssFloat = 'left…»</title>
		<link rel="alternate" type="text/html" href="https://wiki.uogames.org/index.php?title=MediaWiki:Collapsible.js&amp;diff=21767&amp;oldid=prev"/>
				<updated>2019-08-25T09:34:44Z</updated>
		
		<summary type="html">&lt;p&gt;Новая страница: «‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;*  * Code for collapsible tables.: &lt;/span&gt; function CollapseButton(table, header) {     var spacer = document.createElement(&amp;#039;div&amp;#039;);     spacer.style.cssFloat = &amp;#039;left…»&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * Code for collapsible tables.&lt;br /&gt;
 */&lt;br /&gt;
function CollapseButton(table, header) {&lt;br /&gt;
    var spacer = document.createElement('div');&lt;br /&gt;
    spacer.style.cssFloat = 'left';&lt;br /&gt;
    spacer.style.styleFloat = 'left';&lt;br /&gt;
    spacer.style.textAlign = 'left';&lt;br /&gt;
    spacer.style.width = '35px';&lt;br /&gt;
    spacer.appendChild(document.createTextNode('\u00a0'));&lt;br /&gt;
    header.insertBefore(spacer, header.childNodes[0]);&lt;br /&gt;
&lt;br /&gt;
    var button = document.createElement('div');&lt;br /&gt;
    button.style.cssFloat = 'right';&lt;br /&gt;
    button.style.styleFloat = 'right';&lt;br /&gt;
    button.style.fontSize = '11px';&lt;br /&gt;
    button.style.fontWeight = 'normal';&lt;br /&gt;
    button.style.textAlign = 'right';&lt;br /&gt;
    button.style.width = '35px';&lt;br /&gt;
    button.onclick = function() {&lt;br /&gt;
        if (this.firstChild.data == '[hide]') {&lt;br /&gt;
            for (var i = 1; i &amp;lt; table.rows.length; i++) {&lt;br /&gt;
                table.rows[i].style.display = 'none';&lt;br /&gt;
            }&lt;br /&gt;
            this.firstChild.data = '[show]';&lt;br /&gt;
        } else {&lt;br /&gt;
            for (var i = 1; i &amp;lt; table.rows.length; i++) {&lt;br /&gt;
                table.rows[i].style.display = table.rows[0].style.display;&lt;br /&gt;
            }&lt;br /&gt;
            this.firstChild.data = '[hide]';&lt;br /&gt;
        }&lt;br /&gt;
    };&lt;br /&gt;
    button.onmouseover = function() {&lt;br /&gt;
        this.style.cursor = 'pointer';&lt;br /&gt;
    };&lt;br /&gt;
    button.appendChild(document.createTextNode('[hide]'));&lt;br /&gt;
    header.insertBefore(button, header.childNodes[0]);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function createCollapseButtons() {&lt;br /&gt;
    var tables = getElementsByClassName(document, 'table', 'collapsible');&lt;br /&gt;
&lt;br /&gt;
    for (var i = 0; i &amp;lt; tables.length; i++) {&lt;br /&gt;
        var headerRow = tables[i].getElementsByTagName('tr')[0];&lt;br /&gt;
        if (headerRow) {&lt;br /&gt;
            var header = headerRow.getElementsByTagName('th')[0];&lt;br /&gt;
            if (header) {&lt;br /&gt;
                CollapseButton(tables[i], header);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
addOnloadHook(createCollapseButtons);&lt;/div&gt;</summary>
		<author><name>Alastar</name></author>	</entry>

	</feed>