This is infuriating me, and just has to be simple to fix, surely :(
I've just started to play around with the script.aculo.us library for the first time, so I'm a complete beginner, but even when I copy sample code from the test pages provided (which work fine) to my project, they no longer work. I get this error in my JS console:
In the testing environment, the HTML pages reference the JS files backwards and in separate folders (src + lib), whereas I've just got a "scripts" folder, like this:
I'm sure that the "scriptaculous.js" or other file is not referencing things properly, DESPITE the fact the offical website tells you that you can just use "e.g. /javascripts." or whatever you like.
Do you really have a file named prototype.js in your scripts folder? If so, then you should check the version number from your prototype.js and make sure it's 1.5.0 or higher. On the other hand, if it's 1.5.1 you should be using scriptaculous 1.7.1 beta 3.
Amazingly, the prototype.js that's included in the latest scriptaculous (ver. 1.7.1 according to kari?) is out of date and causes errors (it's 1.4.0 - not the required 1.5.0).
For anyone else who has had this problem, just go to the Prototype website, download their version, and overwrite the one given with Scriptaculous - problem solved.
Hi, I am new to this scriptaculous concept. I just want to create relations between dragged object using scriptaculous. Do you have solution for this? If so, please reply my ASAP. Thanks in advance G.Mekalaasri
Allow me to recommend Aptana Studio for authoring web sites. Aptana is a free Eclipse-based IDE that is built to support the most popular frameworks. It offers every facility you could possibly need to assist in the hand coding of html/css/javascript/etc. projects. http://www.aptana.com/ There is a bit of a learning curve, but it is very well worth it.
Do you use Script.aculo.us or another JavaScript animation library? If so, let me know why you like script.aculo.us, or why the library you choose is better! I’m looking forward to hearing from you!
The prototype.js is included in the scriptaculous download. In fact, its typically recommended you use the included version as it is usually more up to date than the downloadable version from the prototype website.