<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.traxel.com/index.php?action=history&amp;feed=atom&amp;title=ReduceJavascript</id>
	<title>ReduceJavascript - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.traxel.com/index.php?action=history&amp;feed=atom&amp;title=ReduceJavascript"/>
	<link rel="alternate" type="text/html" href="https://wiki.traxel.com/index.php?title=ReduceJavascript&amp;action=history"/>
	<updated>2026-04-28T19:53:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://wiki.traxel.com/index.php?title=ReduceJavascript&amp;diff=3260&amp;oldid=prev</id>
		<title>RobertBushman: /* Tips from GPT */</title>
		<link rel="alternate" type="text/html" href="https://wiki.traxel.com/index.php?title=ReduceJavascript&amp;diff=3260&amp;oldid=prev"/>
		<updated>2023-10-25T14:20:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Tips from GPT&lt;/span&gt;&lt;/span&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 14:20, 25 October 2023&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;[[Category:HTML]]&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;[[Category:HTML]]&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;= Tips from GPT =&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;= Tips from GPT =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;  Those are nice! Are there other fancy things that are usually done with Javascript that can be done with static HTML?&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;== Popovers without JavaScript ==&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;== Popovers without JavaScript ==&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;* '''&amp;lt;details&amp;gt; and &amp;lt;summary&amp;gt; Tags''': The `&amp;lt;details&amp;gt;` and `&amp;lt;summary&amp;gt;` elements provide a built-in way to create toggleable content.  &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;* '''&amp;lt;details&amp;gt; and &amp;lt;summary&amp;gt; Tags''': The `&amp;lt;details&amp;gt;` and `&amp;lt;summary&amp;gt;` elements provide a built-in way to create toggleable content.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key traxel_wiki:diff::1.12:old-3259:rev-3260 --&gt;
&lt;/table&gt;</summary>
		<author><name>RobertBushman</name></author>
	</entry>
	<entry>
		<id>https://wiki.traxel.com/index.php?title=ReduceJavascript&amp;diff=3259&amp;oldid=prev</id>
		<title>RobertBushman: Created page with &quot;Category:HTML = Tips from GPT = == Popovers without JavaScript == * '''&lt;details&gt; and &lt;summary&gt; Tags''': The `&lt;details&gt;` and `&lt;summary&gt;` elements provide a built-in way to create toggleable content.  * '''Checkbox Hack''': This technique involves using a hidden checkbox input and a label. The label, when clicked, toggles the checkbox. Using the `:checked` pseudo-class in CSS, you can control the display of content based on whether the checkbox is checked. * '''Hover E...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.traxel.com/index.php?title=ReduceJavascript&amp;diff=3259&amp;oldid=prev"/>
		<updated>2023-10-25T14:20:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/Category:HTML&quot; title=&quot;Category:HTML&quot;&gt;Category:HTML&lt;/a&gt; = Tips from GPT = == Popovers without JavaScript == * &amp;#039;&amp;#039;&amp;#039;&amp;lt;details&amp;gt; and &amp;lt;summary&amp;gt; Tags&amp;#039;&amp;#039;&amp;#039;: The `&amp;lt;details&amp;gt;` and `&amp;lt;summary&amp;gt;` elements provide a built-in way to create toggleable content.  * &amp;#039;&amp;#039;&amp;#039;Checkbox Hack&amp;#039;&amp;#039;&amp;#039;: This technique involves using a hidden checkbox input and a label. The label, when clicked, toggles the checkbox. Using the `:checked` pseudo-class in CSS, you can control the display of content based on whether the checkbox is checked. * &amp;#039;&amp;#039;&amp;#039;Hover E...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:HTML]]&lt;br /&gt;
= Tips from GPT =&lt;br /&gt;
== Popovers without JavaScript ==&lt;br /&gt;
* '''&amp;lt;details&amp;gt; and &amp;lt;summary&amp;gt; Tags''': The `&amp;lt;details&amp;gt;` and `&amp;lt;summary&amp;gt;` elements provide a built-in way to create toggleable content. &lt;br /&gt;
* '''Checkbox Hack''': This technique involves using a hidden checkbox input and a label. The label, when clicked, toggles the checkbox. Using the `:checked` pseudo-class in CSS, you can control the display of content based on whether the checkbox is checked.&lt;br /&gt;
* '''Hover Effects''': For purely mouse-based interactions, the `:hover` pseudo-class can be used to display content when an element is moused over.&lt;br /&gt;
&lt;br /&gt;
== Interactive Effects with Static HTML/CSS ==&lt;br /&gt;
* '''Sliders/Carousels''': With radio buttons and labels, you can create simple content sliders or carousels.&lt;br /&gt;
* '''Lightbox Image Gallery''': Using the `:checked` pseudo-class along with radio buttons or checkboxes, you can build a lightbox image viewer.&lt;br /&gt;
* '''Collapsible Accordions''': Besides `&amp;lt;details&amp;gt;` and `&amp;lt;summary&amp;gt;`, the checkbox hack or focus can be used to create collapsible content sections.&lt;br /&gt;
* '''CSS Transitions and Animations''': Achieve visual effects using CSS transitions and animations.&lt;br /&gt;
* '''Form Validations''': Use `:invalid` and `:valid` pseudo-classes for basic form validations.&lt;br /&gt;
* '''Dropdown Menus''': Using the `:hover` pseudo-class, create nested dropdown menus.&lt;br /&gt;
* '''Modals''': Use the checkbox hack to trigger modals.&lt;br /&gt;
* '''Tabs''': Use radio buttons and labels to create a tabbed interface.&lt;br /&gt;
* '''Tooltips with Attribute Selectors''': Use the `data-` attribute and the `::before` or `::after` pseudo-elements to create tooltips based on attribute content.&lt;br /&gt;
* '''Toggle Dark Mode''': With a checkbox, toggle between light and dark themes using the `:checked` pseudo-class.&lt;br /&gt;
&lt;br /&gt;
'''Considerations:'''&lt;br /&gt;
* '''Fallbacks''': Test methods in various browsers and provide fallbacks.&lt;br /&gt;
* '''Semantics and Accessibility''': Some techniques might not be semantically correct or accessible.&lt;br /&gt;
* '''Limitations''': These techniques won't replace complex JavaScript functionality.&lt;/div&gt;</summary>
		<author><name>RobertBushman</name></author>
	</entry>
</feed>