socceroos
2008-Jan-10 22:41 UTC
I''m stuck!! $(parentElement || document.body) has no properties
Hello all, I''m building an AJAX webpage using the Zend Framework and Scriptaculous. The web page has a portal like application that is similar to Google''s ''Personalised Home'' (iGoogle). With draggable applets that provide various functionalities. I borrowed quite a bit of the original code for this portal application from here: http://aymanh.com/drag-drop-portal-interface-with-scriptaculous This code works with Scriptaculous 1.5.1 well, but the minute I upgraded to 1.8.1 the portal application failed to work in IE or Firefox. Firefox gives me the following error: $(parentElement || document.body) has no properties This break happens in prototype.js on line 4129. IE gives me this error: ''_eventID'' is null or not an object This is the code that starts the portal application (found at the URI above). [code] var settings = {"portal-column-1": ["block2"], "portal- column-0": ["block1"]}; var portal; function init() { portal = new Portal(); portal.applySettings(settings); } Event.observe(window, ''load'', init, false); [/code] I hope I''m making sense here. If anyone can help I would be very thankful! Regards, Socceroos --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---