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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---