if and else

if and else

hi guys i have 2 ids ON and OFF, both in html in the moment,  and i using css3 for show or ON or OFF, how can i apply jquery for if ON do something else do another thing? if i only using css3?

i using exaclty this effect