<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://illus.twainframe.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ASlideShowPools.js</id>
	<title>MediaWiki:SlideShowPools.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://illus.twainframe.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ASlideShowPools.js"/>
	<link rel="alternate" type="text/html" href="https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;action=history"/>
	<updated>2026-04-09T09:33:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;diff=913&amp;oldid=prev</id>
		<title>HMHTEST at 20:23, 22 July 2025</title>
		<link rel="alternate" type="text/html" href="https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;diff=913&amp;oldid=prev"/>
		<updated>2025-07-22T20:23:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:23, 22 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;const pools = {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;const pools = {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   1: [&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hf_1885_kmb_ch002_ill1&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;jpg&lt;/del&gt;&#039;, &#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hf_1885_kmb_ch002_ill1_cropped&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;jpg&lt;/del&gt;&#039;], // TOM Kemble&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   1: [&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https://illus&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;twainframe.org/images/d/d2/GalleryPlaceholder.png&lt;/ins&gt;&#039;, &#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https://illus.twainframe.org/images/d/d2/GalleryPlaceholder&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;png&lt;/ins&gt;&#039;], // TOM Kemble&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   2: [&amp;#039;test3.png&amp;#039;, &amp;#039;test4.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   2: [&amp;#039;test3.png&amp;#039;, &amp;#039;test4.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   3: [&amp;#039;test5.png&amp;#039;, &amp;#039;test6.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   3: [&amp;#039;test5.png&amp;#039;, &amp;#039;test6.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>HMHTEST</name></author>
	</entry>
	<entry>
		<id>https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;diff=912&amp;oldid=prev</id>
		<title>HMHTEST at 20:21, 22 July 2025</title>
		<link rel="alternate" type="text/html" href="https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;diff=912&amp;oldid=prev"/>
		<updated>2025-07-22T20:21:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:21, 22 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;const pools = {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;const pools = {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   1: [&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;test1&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;png&lt;/del&gt;&#039;, &#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;test2&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;png&lt;/del&gt;&#039;],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   1: [&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hf_1885_kmb_ch002_ill1&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;jpg&lt;/ins&gt;&#039;, &#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hf_1885_kmb_ch002_ill1_cropped&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;jpg&lt;/ins&gt;&#039;], &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;// TOM Kemble&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   2: [&amp;#039;test3.png&amp;#039;, &amp;#039;test4.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   2: [&amp;#039;test3.png&amp;#039;, &amp;#039;test4.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   3: [&amp;#039;test5.png&amp;#039;, &amp;#039;test6.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   3: [&amp;#039;test5.png&amp;#039;, &amp;#039;test6.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>HMHTEST</name></author>
	</entry>
	<entry>
		<id>https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;diff=911&amp;oldid=prev</id>
		<title>HMHTEST at 20:19, 22 July 2025</title>
		<link rel="alternate" type="text/html" href="https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;diff=911&amp;oldid=prev"/>
		<updated>2025-07-22T20:19:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:19, 22 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   5: [&amp;#039;test8.png&amp;#039;, &amp;#039;test9.png&amp;#039;, &amp;#039;test10.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   5: [&amp;#039;test8.png&amp;#039;, &amp;#039;test9.png&amp;#039;, &amp;#039;test10.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   6: [&amp;#039;test11.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   6: [&amp;#039;test11.png&amp;#039;],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;7&lt;/del&gt;: [&#039;test12.png&#039;, &#039;test13.png&#039;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/ins&gt;: [&#039;test12.png&#039;, &#039;test13.png&#039;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;};&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>HMHTEST</name></author>
	</entry>
	<entry>
		<id>https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;diff=908&amp;oldid=prev</id>
		<title>HMHTEST: Created page with &quot;const slideshows = {   A: { images: [], index: 0 },   B: { images: [], index: 0 } };  const pools = {   1: [&#039;test1.png&#039;, &#039;test2.png&#039;],   2: [&#039;test3.png&#039;, &#039;test4.png&#039;],   3: [&#039;test5.png&#039;, &#039;test6.png&#039;],   4: [&#039;test7.png&#039;],   5: [&#039;test8.png&#039;, &#039;test9.png&#039;, &#039;test10.png&#039;],   6: [&#039;test11.png&#039;],   7: [&#039;test12.png&#039;, &#039;test13.png&#039;] };  function selectPool(target, poolNumber) {   if (!pools[poolNumber]) {     slideshows[target].images = [];     slideshows[target].index = 0;     upda...&quot;</title>
		<link rel="alternate" type="text/html" href="https://illus.twainframe.org/index.php?title=MediaWiki:SlideShowPools.js&amp;diff=908&amp;oldid=prev"/>
		<updated>2025-07-22T20:16:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;const slideshows = {   A: { images: [], index: 0 },   B: { images: [], index: 0 } };  const pools = {   1: [&amp;#039;test1.png&amp;#039;, &amp;#039;test2.png&amp;#039;],   2: [&amp;#039;test3.png&amp;#039;, &amp;#039;test4.png&amp;#039;],   3: [&amp;#039;test5.png&amp;#039;, &amp;#039;test6.png&amp;#039;],   4: [&amp;#039;test7.png&amp;#039;],   5: [&amp;#039;test8.png&amp;#039;, &amp;#039;test9.png&amp;#039;, &amp;#039;test10.png&amp;#039;],   6: [&amp;#039;test11.png&amp;#039;],   7: [&amp;#039;test12.png&amp;#039;, &amp;#039;test13.png&amp;#039;] };  function selectPool(target, poolNumber) {   if (!pools[poolNumber]) {     slideshows[target].images = [];     slideshows[target].index = 0;     upda...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;const slideshows = {&lt;br /&gt;
  A: { images: [], index: 0 },&lt;br /&gt;
  B: { images: [], index: 0 }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
const pools = {&lt;br /&gt;
  1: [&amp;#039;test1.png&amp;#039;, &amp;#039;test2.png&amp;#039;],&lt;br /&gt;
  2: [&amp;#039;test3.png&amp;#039;, &amp;#039;test4.png&amp;#039;],&lt;br /&gt;
  3: [&amp;#039;test5.png&amp;#039;, &amp;#039;test6.png&amp;#039;],&lt;br /&gt;
  4: [&amp;#039;test7.png&amp;#039;],&lt;br /&gt;
  5: [&amp;#039;test8.png&amp;#039;, &amp;#039;test9.png&amp;#039;, &amp;#039;test10.png&amp;#039;],&lt;br /&gt;
  6: [&amp;#039;test11.png&amp;#039;],&lt;br /&gt;
  7: [&amp;#039;test12.png&amp;#039;, &amp;#039;test13.png&amp;#039;]&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
function selectPool(target, poolNumber) {&lt;br /&gt;
  if (!pools[poolNumber]) {&lt;br /&gt;
    slideshows[target].images = [];&lt;br /&gt;
    slideshows[target].index = 0;&lt;br /&gt;
    updateSlide(target);&lt;br /&gt;
    return;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  slideshows[target].images = pools[poolNumber];&lt;br /&gt;
  slideshows[target].index = 0;&lt;br /&gt;
  updateSlide(target);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function updateSlide(target) {&lt;br /&gt;
  const img = document.getElementById(&amp;#039;slide&amp;#039; + target);&lt;br /&gt;
  const slideshow = slideshows[target];&lt;br /&gt;
  const url = slideshow.images[slideshow.index];&lt;br /&gt;
&lt;br /&gt;
  if (url) {&lt;br /&gt;
    img.src = url;&lt;br /&gt;
    img.title = url;&lt;br /&gt;
  } else {&lt;br /&gt;
    img.src = &amp;#039;&amp;#039;;&lt;br /&gt;
    img.title = &amp;#039;&amp;#039;;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function nextSlide(target) {&lt;br /&gt;
  const slideshow = slideshows[target];&lt;br /&gt;
  if (slideshow.images.length === 0) return;&lt;br /&gt;
&lt;br /&gt;
  slideshow.index = (slideshow.index + 1) % slideshow.images.length;&lt;br /&gt;
  updateSlide(target);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function prevSlide(target) {&lt;br /&gt;
  const slideshow = slideshows[target];&lt;br /&gt;
  if (slideshow.images.length === 0) return;&lt;br /&gt;
&lt;br /&gt;
  slideshow.index = (slideshow.index - 1 + slideshow.images.length) % slideshow.images.length;&lt;br /&gt;
  updateSlide(target);&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>HMHTEST</name></author>
	</entry>
</feed>