New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble with CDN #241
Comments
Oops: If you comment out the entire 'ms-NavBar' div block the UI... |
I figured out the problem: for whatever reason referencing the fabric .css files via CDN is not working. Everything works if I reference the .css files locally. Shouldn't the CDN reference work though? |
Looking at your application code we noticed a bug in our documentation in how we were referencing the CDN. We just fixed the documentation, can you update your project URL's to the updated path and see if that fixes it? The problem was the link was missing the http: before the CDN Path. |
It's still not working!
|
Oh man - that's no good. OK, it seems to work on our end, so there might be something finicky happening with the CDN. Just to make sure we hone in on the problem, could you hit the URL http://appsforoffice.microsoft.com/fabric/1.0/fabric.css in your browser window and see if it brings up the CSS? |
Yup, I can hit it! I've updated the sample project: http://aka.ms/V127h2. You can see how if you remove the comment around the CDN URL in the header (and comment out the local .css refs below it) that it still doesn't work. What does work with the CDN though is a prompt to display secure content - like it expects an https: reference - but that doesn't work either (although the prompt goes away). |
OK - then this means there is something funky going on with the CDN. We're escalating now - sorry about the inconvenience! |
Hey no problem, glad I could help |
Hey, @elegault - could you reset the napa project to have the StartPage be Home.html for us? We want to check through and see what's going wrong. Thanks! |
Okay, it's been updated |
Awesome - thank you! |
@elegault - It may seem like we're trying everything, but can you also try referencing the CDN via a https url? |
Are you still having trouble with the CDN, @elegault? |
Honestly, I'm not sure which end the problem is on. See issue #251 |
Okay, I'll close this issue for now, as we discuss CDN changes elsewhere and have another one open to troubleshoot your issue. |
I just started playing with Fabric so please excuse any noobness. But I just cannot figure out why the presence of the NavBar component disables everything on the page. I have a sample Napa Excel Task Pane app that demonstrates the issue here:
http://aka.ms/V127h2
I'm properly initializing the component during Office.initialize:
$(".ms-NavBar").NavBar();
I've added a Fabric Button as well just to demonstrate that it gets disabled as well. If you comment out the entire
The text was updated successfully, but these errors were encountered: