Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorTetsuo
    • CommentTimeJul 12th 2007
     permalink
    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:

    "Error: uncaught exception: script.aculo.us requires the Prototype JavaScript framework >= 1.5.0"

    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:

    "scripts/prototype.js" type="text/javascript"

    "scripts/scriptaculous.js?load=effects,builder,dragdrop,controls,slider" type="text/javascript"


    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.

    Any help appreciated
  1.  permalink
    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.
    •  
      CommentAuthorTetsuo
    • CommentTimeJul 12th 2007
     permalink
    I fixed the problem.

    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.
    • CommentAuthormekalaasri
    • CommentTimeJul 29th 2008
     permalink
    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
    • CommentAuthorgogogob
    • CommentTimeAug 3rd 2008
     permalink
    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.
    • CommentAuthorhimanshi
    • CommentTimeMar 28th 2009 edited
     permalink
    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!

    [link spam removed]
    • CommentAuthorhimanshi
    • CommentTimeMar 28th 2009 edited
     permalink
    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.

    [link removed]
Add your comments
    Username Password
  • Format comments as (Help)