I'm using a pre-existing ajax/mootools slider and trying to implement
it into ruby on rails which uses the prototype.js.

I've downloaded and AFIK properly implimented moofx
(moofx.mad4milk.net)

<!--// DEFAULT RAILS SCRIPTACULOUS //-->
<%= javascript_include_tag :defaults %>

<!--// MOO.FX LIBRARY //-->
<%= javascript_include_tag "mootools/moo.fx.js" %>
<%= javascript_include_tag "mootools/moo.fx.pack.js" %>
<%= javascript_include_tag "mootools/moo.fx.utils.js" %>
<%= javascript_include_tag "mootools/moo.fx.accordion.js" %>
<%= javascript_include_tag "mootools/moo.fx.transitions.js" %>

But I get 2 errors, one being that "options is not defined"
Implements: [Options],

and "window.addEvent is not a function"

When i uncomment the moo.fx scripts and the prototype library and use
the default mootools it works fine, so I'm assuming the script is ok
and it could just be to do with the moofx?

Reply via email to