|
#1
|
|||
|
|||
|
using this
var brandLink = "/branding/" + brandName + "/aome.css"; isc.FileLoader.loadCSSFile(brandLink); added <script>window.isomorphicDir='isomorphic/'</script> but won't load css( ignores it) in mac-FF, testing on other browsers now... |
|
#2
|
|||
|
|||
|
more details: we currently have 6.0 version,
It works ok in Windows - IE7, FF2.x but doesn't load absolute path file in windows-IE6 and MAC-FF |
|
#3
|
|||
|
|||
|
Hi
We're looking into this. I'm getting a "works for me result" with 6.5.1 - so I'm testing it out against the 6.0 build now. FYI my test case is a simple SmartClient page with the following code: Code:
var brandLink = "/styleTest.css";
isc.FileLoader.loadCSSFile(brandLink);
isc.Canvas.create({
styleName:"testStyle",
contents:"foo foo",
autoDraw:true
});
I'll let you know what I find - if I can't reproduce it I may need to see some sample code Thanks |
|
#4
|
|||
|
|||
|
We're not reproducing this on 6.0, on IE6 / Windows or Mac / Firefox.
If you pop open the developer console, are you seeing any error messages that might explain this? If there's nothing obvious, could you post your .css file and ideally a sample HTML file that demonstrates the problem and we'll take a look Thanks |
|
#5
|
|||
|
|||
|
Hi, so after testing more. I see it working in Windows IE7 and FF
MAC-FF but not in MAC - Safari. Does smartclient supports safari officially. if so then we have weblogic server.. but will work with Apache too , I should guess. haven't tried myself but attaching 3 files below. splashtester.html and loader.html can go anywhere test.css should go under the [server root]/branding/test.css . btw. I had trouble attaching .css extension so renamed test.css to test.html and uploaded it. Thankyou. We use 6.0 version currently |
|
#6
|
|||
|
|||
|
Mac Safari is supported, however, you didn't mention your version.
You previously said Mac FF was not working, now you're saying it does work, right? Again, are you seeing any Developer Console messages that might explain this? Is there a request to load the CSS file at the wrong path, or just no request at all? |