
Changing class to 'active' doesn't update the style
Hi,
I have an HTML list similar to this:
Code:
<ul class="switcher-list">
<li class=" switcher-active">
<a id="5" class="switcher">
<span class="numero-tema">1</span>. <span class="titulo-tema">Álgebra</span>
</a>
</li>
<li class="odd">
<a id="6" class="switcher">
<span class="numero-tema">2</span>. <span class="titulo-tema">Trigonometría</span>
</a>
</li>
I update the switcher-active class via jQuery when the user clicks on a link. The problem is that the css3 properties generated with css3Pie disappear (first time are shown well) when the "switcher-active" changes to another <li> element.
Anyone with the same problem knows the solution to this behaviour? Thanks.