error showing for prototype.js

116 views
Skip to first unread message

mc

unread,
Dec 24, 2009, 1:59:57 AM12/24/09
to Prototype & script.aculo.us
Hi, Using Prototype.js for lightbox perposes

I'm getting an error message on page load in IE8.0--

Line: 3974 Object doesn't support this property or method

The call stack shows: fireContentLoadedEvent(); fires : document.fire
("dom:loaded"); next : return __method.apply(null, [this].concat($A
(arguments))); finally : element.fireEvent(event.eventType, event);

event.eventType = ondataavailable event = [object]

I am including the scripts in the following order and in the same
directory:

/js/prototype.js /js/scriptaculous.js /js/effects.js /js/
controls.js


Any help greatly appreciated.

Thanks, Mc.

julien Devouassoud

unread,
Dec 28, 2009, 6:08:59 AM12/28/09
to prototype-s...@googlegroups.com
Effects.js and controls.js ..?  is that supposed to replace the lightbox.js ?


2009/12/24 mc <mact...@gmail.com>

--

You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group.
To post to this group, send email to prototype-s...@googlegroups.com.
To unsubscribe from this group, send email to prototype-scripta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.



Alex McAuley

unread,
Dec 28, 2009, 12:34:35 PM12/28/09
to prototype-s...@googlegroups.com
I highly doubt it ...
 
They probably require the 2 libs
 
 

Tobie Langel

unread,
Dec 28, 2009, 6:59:58 PM12/28/09
to Prototype & script.aculo.us
You're probably having issues because you're including scriptaculous
twice (scriptaculous.js's only role is to load files like effects.js
and controls.js, so you're effectively including them twice).

Let us know if that helps.

Tobie

Al C

unread,
Dec 29, 2009, 8:52:55 AM12/29/09
to Prototype & script.aculo.us
If you're using both prototype and scriptaculous, you might want to
look at protoaculous... it's a minified single .js file that contains
both prototype and scriptaculous.
I stumbled across it myself a few weeks ago and easily adding it to my
projects (otherwise I am not affiliated with the 'tool' in any way)

Latest files are found at http://groups-beta.google.com/group/prototype-core/files

Al

Reply all
Reply to author
Forward
0 new messages