hi all i see a very strange behavior in safari when using prototype.js and the pear HTML_TreeMenu to reproduce get prototype.js (http://www.prototypejs.org/assets/ 2008/1/25/prototype-1.6.0.2.js) and treemenu.js (http://cvs.php.net/ viewvc.cgi/pear/HTML_TreeMenu/TreeMenu.js?revision=1.22). and test the following html with safari on mac or windows (http:// www.apple.com/safari/download/) <html> <head> <script src="TreeMenu.js" type="text/javascript"></script> <script type="text/javascript" src="prototype.js"></script> </head> <body> <script type="text/javascript"> //<![CDATA[ objTreeMenu_1 = new TreeMenu("TMimages", "objTreeMenu_1", "_self", "", true, false); newNode = objTreeMenu_1.addItem(new TreeNode('a', null, '', true, true, '', '', null)); newNode_1 = newNode.addItem(new TreeNode('b', null, '', true, true, '', '', null)); newNode_1_1 = newNode_1.addItem(new TreeNode('c', null, '', false, true, '', '', null)); objTreeMenu_1.drawMenu(); objTreeMenu_1.writeOutput(); objTreeMenu_1.resetBranches(); // ]]> </script> </body> </html> when prototype.js is not loaded all works well. when its loaded the menu breaks. somehow the js-code from the treemenu is not executed, but shown. this happens only in safari! does anyone know a solution? it is also ok for me if i adapt the treemenu.js. but as i'm not that much in js, i would be glad for any help on this. thank you and greetings.ivo
on 2008-07-11 17:38
on 2008-07-11 18:41
Hi, We've started transitioning to a new, better-named, hopefully-spam- free group for Prototype and script.aculo.us: http://groups.google.com/group/prototype-scriptaculous/ prototype-scriptaculous@googlegroups.com Could you please post your question there instead? Thanks! People might still answer here, but probably not for all that much longer... -- T.J. Crowder tj / crowder software / com