It seems fairly straightforward to require CSS with Javascript. The most obvious method that I thought of was creating a <link> tag and appending it to the head of the document. An alternative would be to load the text of the css file with an ajax XHR call, and then inject that into a <style>… Read more »
Posts Tagged: dojo
Dojo Toolkit Book Reviews – ‘Dojo: The Definitive Guide’, ‘Mastering Dojo’ and ‘Dojo: Using The Dojo Javascript Library To Build Ajax Applications’
Having been working extensively with the Dojo Toolkit, and found their documentation to be extremely useful – but not exhaustive. I was happy therefore to be able to get hold of the following of pre-release books about the toolkit: Dojo: The Definitive Guide Mastering Dojo Dojo: Using the Dojo JavaScript Library to Build AJAX Applications… Read more »
Reacting To Events with the Dojo Dijit Editor
I was writing a custom set of validation routines for a form, and using Dojo’s Dijit.Editor component – and having some trouble attaching my “invalid” class and a tooltip to a ‘required’ editor. There were several parts to the problem: Iframe Transparency in IE Targeting the containing div node, the editor’s iframe tag, and that… Read more »