javascript question
javascript question
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- gabriel_pc0
Just create a selected class in your css and have the onclick set the clicked link to that new class.
onclick="this.className='selecte...
If you want to make it so that it can set the previously selected link back to the original style, just keep a variable with whatever the current link is and use that to turn off the old link when you select a new one. email me if this makes no sense.