In IE8, I get an error "Expected )" on line 8 of css3pie.js (with only one selector). Here's the code generated by the module (indentations added):

$(function() {
  if (window.PIE) {
    $(function() {
      $('.shadowed').each(function() {
        PIE.attach(this);
      });
    }
});

You'll notice that an end parentheses and an end bracket are missing. If I manually change this file to:

$(function() {
  if (window.PIE) {
    $(function() {
      $('.shadowed').each(function() {
        PIE.attach(this);
      });
    });
  }
});

...then I now get a new error in IE8, saying "Object expected" on line 1. I think that's because "$" is probably supposed to be jQuery, and since the Javascript is added with drupal_add_html_head(), the Javascript is added to the HTML before jQuery is added to the page. So, IE doesn't know what "$" is.

Comments

blackice2999’s picture

Assigned: Unassigned » blackice2999

hi you are right the js part need some reworks. i will show about the part today

jhonatan.ambrosio’s picture

there's any solution for the bug with js?

GemVinny’s picture

Is there a solution to this bug?

Thanks
Gem