I try to briefly highlight the text on named links - but only for a few seconds.
<a href="#faq1"onClick="document.getElementById('faq1').style.color='#f00'">
So, in the list of frequently asked questions - it jumps to the correct identifier, changes color to red for a few seconds as a visual signal for the end user (the answer is here). but then returns to normal color and the interval is completed.
How to make the above function work only for a certain period of time?
Chris source share