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

-pie-load-path I found a bug hope help you guys
http://css3pie.com/forum/viewtopic.php?f=6&t=2050
Page 1 of 1

Author:  tigeruping [ Fri Apr 26, 2013 8:24 pm ]
Post subject:  -pie-load-path I found a bug hope help you guys

A new -pie-load-path ,I found a bug,
html {
-pie-load-path: "http://any.server/path/to/pie-js-files/";
}
can not add ""into ,becuase ""can add by url,
so has two way to fixed,
1:
html {
-pie-load-path: http://any.server/path/to/pie-js-files/;
}
delete ""
2:
PIE_uncompressed.htc
start 52 line:
before:
if( !baseUrl ) {
baseUrl = doc.documentElement.currentStyle.getAttribute( ( isIE6 ? '' : '-' ) + 'pie-load-path' );

}
edit after:
if( !baseUrl ) {
baseUrl = doc.documentElement.currentStyle.getAttribute( ( isIE6 ? '' : '-' ) + 'pie-load-path' );
baseUrl = baseUrl.replace(/\"/g, "");
}
add baseUrl = baseUrl.replace(/\"/g, ""); replace '"'

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