For answering questions with JavaScript input i often use Demos on JSFiddle. It is very useful, but when i was answering this tooltip question i needed the usage of jQuery UI.
The problem of this usage is, that you can check the jQuery UI in the Framework selection, but it loads only the js file and not the css files.
So i decided to link to this http://jqueryui.com/themes/base/jquery.ui.all.css used in the official Demos of jQuery UI. => Problem solved.
Really solved? No?!
Because this link works great if a user has opened a jQuery Demo before, but as i did see here at my work it doesn't work if I only open the fiddle without ever having open one demo.
- Why is that?
- And how can i solve this problem?
- How should I link css in jsFiddles for jQuery? Also Googles CDN contains only the JavaScript files.
I don't want to host my own css file, just for posting demos on jsfiddle...
PS: The JSFiddle where I mentioned this behavior is http://jsfiddle.net/neysor/r9yfw/