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- and treemenu.js (http://cvs.php.net/

and test the following html with safari on mac or windows (http://

        <script src="TreeMenu.js" type="text/javascript"></script>
        <script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript">
        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));
// ]]>

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 

Reply via email to