Template:Factoriopedia: Difference between revisions
Jump to navigation
Jump to search
LoerisOtter (talk | contribs) No edit summary |
LoerisOtter (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
<script type="text/javascript"> | |||
$(".tab-head-5").click(function() { | |||
$(".tab-head").removeClass("tab-head-active"); | |||
$(this).addClass("tab-head-active"); | |||
$(".tab").hide(); | |||
$(".tab-5").show(); | |||
}); | |||
</script> | |||
</noinclude> | |||
<div class="factoriopedia"><div class="tab-header"> | <div class="factoriopedia"><div class="tab-header"> | ||
<div class="tab-head tab-head-1 tab-head-active" data-name="{{Translation|Logistics}}">[[File:Item-group logistics.png|64px|link=]]</div> | <div class="tab-head tab-head-1 tab-head-active" data-name="{{Translation|Logistics}}">[[File:Item-group logistics.png|64px|link=]]</div> |
Revision as of 07:24, 21 October 2024
<script type="text/javascript"> $(".tab-head-5").click(function() { $(".tab-head").removeClass("tab-head-active"); $(this).addClass("tab-head-active"); $(".tab").hide(); $(".tab-5").show(); }); </script>