Change CSS class with Java

  • seularts
  • Graduate
  • Graduate
  • User avatar
  • Posts: 153
  • Loc: Romania

Post 3+ Months Ago

Is there a way to change the id for a CSS link with Java, so that it can remain active when clicked!?

This is my example of the css:

#inactive{
font-size:1.5em;
}

#active{
font-size:1em;
}

And the link:

<a href="" id="inactive">Link</a>

The idea is to make the link change into the #active id when clicked!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 84 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.