IE doesnt have an onclick event for the window object. Prototype is cross browser but it doesnt support adding that missing event (it would have to fallback to document.body or something, messy).
You are getting your pointerX error because you are probably clicking on the body before it finishes loading (dom loaded). This will be fixed in the next release of Prototype. For now you can do: document.observe('dom:loaded', function() { $(document.body).observe('click', function(e) { var element = e.findElement('tbody'); if(element == document) window.open('fora'); }); }); - JDD --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---