CSS3 PIE Forums

Changing class to 'active' doesn't update the style
Page 1 of 1

Author:  xger86x [ Thu Dec 13, 2012 9:02 pm ]
Post subject:  Changing class to 'active' doesn't update the style


I have an HTML list similar to this:

 <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>
             <li class="odd">
                 <a id="6" class="switcher">
                   <span class="numero-tema">2</span>. <span class="titulo-tema">Trigonometr√≠a</span>

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.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group