Looking for help with my current HTML code:
<li><a href="index.php" id="1" onclick="document.getElementById('1').style.background = '#8B4513';">Weblog</a></li>
The color changes while clicking, but when the link opens index.php, the color resets to its original. How can I make the color stay the same on a different page?
Any suggestions would be appreciated.