CSS3 PIE Forums
http://css3pie.com/forum/

Changing class to 'active' doesn't update the style
http://css3pie.com/forum/viewtopic.php?f=3&t=1930
Page 1 of 1

Author:  xger86x [ Thu Dec 13, 2012 9:02 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/