class change on click with fade?

class change on click with fade?

Hi, more of a javascript question than specifically jquery but I was wondering how to change a css class onClick with a fade?

This is the code I have so far that is working fine to change the class but I don't know how to allow this class to fade in or even if it's possible? Thanks.

  1. <a href="#none" onclick="document.getElementById('tool').className ='tool1'"> 



    • Topic Participants

    • zoho