Open GoogleCodeExporter opened 9 years ago
[deleted comment]
Also, here is the code for loading my tree.
$("#mytree").jstree({
"core": { "initially_open": ["root"] },
"xml_data": {
"ajax": { "url": "_docs/menubuilder.xml" },
"xsl": "nest"
},
"plugins": ["themes", "xml_data", "ui", "crrm", "dnd"]
});
Original comment by dbi...@digitalbungalow.com
on 10 Jan 2012 at 6:56
Yea! I implemented the following solution found in one of the threads
$.vakata.xslt = function (xml, xsl, callback) {
var rs = "", xm, xs, processor, support;
if(window.ActiveXObject) {
var xslt = new ActiveXObject("Msxml2.XSLTemplate");
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument");
var xslDoc = new ActiveXObject("Msxml2.FreeThreadedDOMDocument");
xmlDoc.loadXML(xml);
xslDoc.loadXML(xsl);
xslt.stylesheet = xslDoc;
var xslProc = xslt.createProcessor();
xslProc.input = xmlDoc;
xslProc.transform();
callback.call(null, xslProc.output);
return true;
}
This fixed the IE8 issue but still get a
Error: Object doesn't support property or method 'toLowerCase'
when mousing over tree
Original comment by dbi...@digitalbungalow.com
on 10 Jan 2012 at 7:06
Okay, that last IE8 issue in with my code. All set... disrecard
Original comment by dbi...@digitalbungalow.com
on 10 Jan 2012 at 7:13
Original issue reported on code.google.com by
dbi...@digitalbungalow.com
on 10 Jan 2012 at 6:54