<script>
var onImg= "on.jpg";
var offImg= "off.jpg";
</script>
<img src="on.jpg" onclick="this.src = this.src == offImg ? onImg : offImg;"/>
Pretty simple actually, but shows off the power of a simple ternary expression in JavaScript.
<script>
var onImg= "on.jpg";
var offImg= "off.jpg";
</script>
<img src="on.jpg" onclick="this.src = this.src == offImg ? onImg : offImg;"/>
This article is a WIP. Setting up Oblivion in 2023 on a Steam Deck (w/ SteamOS) Install from Steam Vortex Experience (post base mod tools...