I've implemented a two-tab content slider specifically for the mobile section of my website. Users can click on the linked image within the <li>
element to load the corresponding content. My goal is to have the image change color when in an "active" state, essentially loading a new image when clicked by the user.
Keep in mind that this feature is intended only for mobile sites, so please tailor your solutions accordingly. Thank you all!
<div id="tabs" class='tabs no-screen no-ie'>
<ul>
<li>
<a href="#tab-1"><img src="img/mobile/bingo.png" width="70" height="70" alt="Super Free Bingo" /></a>
</li>
<li>
<a href="#tab-2"><img src="img/mobile/slots.png" width="70" height="70" alt="Super Free Logo" /></a>
</li>
</ul>
<div id='tab-1' class="tab-box">
<?php include 'includes/sfb.php'; ?>
</div>
<div id='tab-2' class="tab-box">
<?php include 'includes/sfsg.php'; ?>
</div>
</div>