Tue Jun 05, 2012 7:09 pm
Joined: Wed Jul 14, 2010 11:46 am Posts: 1452
Yes and no:
1) You can modify the stylesheet rules like your snippets, however PIE has no way to be automatically notified of those changes. You would have to trigger a property change on the targeted element(s) for PIE to react to the change. Something simple like element.className += ' ' should be enough to trigger an update.
2) If you change element styles directly instead of modifying the stylesheet, like element.style.borderRadius = '2px', then PIE will react to that automatically.
Tue Jun 05, 2012 7:30 pm
Joined: Tue Jun 05, 2012 6:55 pm Posts: 2
Users browsing this forum: Exabot [Bot] and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum