Hi there,
You say you want to do this by calling a function, not by clicking.
But let me ask you something: How are you going to call the function?
In other words, when do you want this class change to happen?  Do you
want it to happen as soon as the page loads?  Do you want it to happen
10 seconds after the page loads?  Do you want it to happen when you
mouse over a little red button that says "Mouse over me to change the
class now"?  I can't help you without this information.
Andi

Reply via email to