Questions tagged [scriptaculous]

Script.aculo.us is a set of JavaScript libraries built on top of the Prototype framework

Script.aculo.us is a set of JavaScript libraries built on top of the Prototype framework.

Script.aculo.us offers an animation framework, drag & drop, Ajax control, DOM utilities and unit testing. It's being superseded by , which at the time of this writing is still in beta test.

Useful links

Related tags

368 questions
2
votes
2 answers

Scriptaculous not working with the latest Prototype

This is a really weird problem that I have been having. When I download Scriptaculous from the official web site, script.aculo.us, bundled in the ZIP is prototype.js version 1.6.0.1. This works perfectly fine, I can follow along the wiki examples…
2
votes
3 answers

scriptaculous effect occur once

I have a button that makes a div move on the page, but I want for the button to make it move only once. If the user keeps clicking the button right now, the div keeps moving in the same direction.
user1115666
2
votes
2 answers

Script.aculo.us Drag 'n' Drop - Revert onEnd condition

I'm trying to revert a draggable if a condition returns false. So for instance, I'd like to do the following: new Draggable('myelement', { onStart: function() { // do something }, onEnd: function() { var condition =…
user43092
  • 363
  • 1
  • 3
  • 7
2
votes
1 answer

In-Place editing using Asp.net ajax

I am looking for a way to perform in-place editing on my webforms app. Here is a link for this behaviour using scriptaculous: http://wiki.github.com/madrobby/scriptaculous/ajax-inplaceeditor) I am using the .Net Ajax toolkit. Does anyone know how…
Nicolas De Irisarri
  • 1,077
  • 1
  • 14
  • 27
2
votes
3 answers

swfObject + scriptaculous Autocompleter = Fail

For some reason the combination of swfobject.js and script.aculo.us Ajax.Autocompleter on the same page causes the latter to fail. Autocompleter doesn't make its Ajax request. A separate Ajax control on the same page that uses Ajax.Updater doesn't…
brooks
2
votes
1 answer

Prototype scriptaculous background-color: RGBA color animations

Is something like this http://pioupioum.fr/sandbox/jquery-color/ for Prototype and scriptaculous? I want to periodical animate RGBA for my website background to get something sexy and fancy...
beater
  • 15
  • 2
  • 7
2
votes
1 answer

Scriptaculous autocompleter result list position problem

I am using Scripatculous Autocompleter 1.9.0. My problem is that the position of the result list div is incorrect in Chrome and Firefox, but works in IE. The result list div appears on top of the text box. I was able to modify controls.js and fix…
kounoupis
  • 329
  • 1
  • 10
2
votes
2 answers

Cakephp with Ajax, this.element.setAttribute is not a function

I'm trying to make a stackoverflow like tags system. I followed this tutorial (in French): http://www.formation-cakephp.com/34/autocomplete-en-ajax which uses Prototype and Scriptaculous. Of course, I adapted it to my project I get the following…
Quentin Hayot
  • 7,786
  • 6
  • 45
  • 62
2
votes
1 answer

slideUp slideDown animation error

i have a div when hovered over and second image slides up and when the mouse leaves it slides back down, the animation is exactly how i want it but if you mouse in and out too quickly without the letting the animation finish it bugs and will only go…
George
  • 23
  • 2
2
votes
2 answers

How can I integrate Prototype and jQuery with Scriptaculous?

I have been using jQuery, and I need to use Script.aculo.us and Protoype. I have tried using the jQuery library extending another library. I defined it using the following syntax: jQuery.noConflict(); jQuery(document).ready(function() { }); My…
venkatachalam
  • 102,353
  • 31
  • 72
  • 77
2
votes
1 answer

Scriptaculous Effect.Appear Fails Inconsistently?

Problem: Multiple asynchronously invoked Effect.Appear() calls do not all resolve properly. Background: I have a page that lazy loads 10-20 items from a different server. Because of current architecture, each item must be loaded with its own http…
Ken
  • 672
  • 1
  • 6
  • 14
2
votes
1 answer

How to preserve line breaks in Scriptaculous InPlaceEditor?

I have a page with various textareas which can be edited using Scriptaculous (is there a better option?):

The PHP file looks like…
Joe W
  • 998
  • 6
  • 16
  • 36
2
votes
1 answer

Enter key twice on scriptaculous autocompleter

The autocompleter in scriptaculous has been implemented in such a way that you need to hit the enter key twice in order to perform the submit action. One for selecting from or hiding the autocomplete list, and one for submitting. How do I make the…
Spoike
  • 119,724
  • 44
  • 140
  • 158
2
votes
1 answer

Preloading images with Prototype/Scriptaculous

I'm using Prototype/Scriptaculous library for a featured content slider, it works great but the images need to be preloaded. I've used jQuery mostly so I'm not sure how its done with Prototype. Here's the slider script if you'd like to take a look.
eozzy
  • 66,048
  • 104
  • 272
  • 428
2
votes
3 answers

Fade out, update by AJAX, fade in a div using Prototype

I have a div whose contents I want to update by AJAX. To make the transition smooth, I'd like to fade out the old contents, then update it with the AJAX response, then fade it back in. My first attempt is as follows; but of course the AJAX can…
Chowlett
  • 45,935
  • 20
  • 116
  • 150