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
0
votes
2 answers

Hiding/Showing divs using Scriptaculous

What I'm trying to do is give my user 4 options (simple links). If the click one of these, a div below is shown based on their selection. The issue I'm having is figuring out how to hide the div below if another top link is clicked. Right now I'm…
Jeffrey
0
votes
1 answer

pin/unpin draggable div in scriptaculous

I'm using a draggable effect on a css div for a shopping cart (prototype+script.aculo.us). I want to insert a link into this div which allows the users to toggle between fixed and absolute positioning. Does script.aculo.us has any simple way of…
KingIsDead
0
votes
1 answer

Scriptaculous Ajax.InPlaceEditor: How to trigger cancel action?

Certainly it must be possible to fire the cancel action on an Ajax.InPlaceEditor without clicking the Cancel button. But I just cannot figure out how to do it. Any suggestions?
yalestar
  • 9,334
  • 6
  • 39
  • 52
0
votes
1 answer

Entire list being populated in the Ajax.autocompleter function

I have implemented the auto complete functionality using the Ajax.autocompleter function of the Scriptaculous js framework. The code is working, but I get the entire list populated instead of populating only the entries that match with the letter I…
Angeline
  • 2,369
  • 22
  • 68
  • 107
0
votes
3 answers

How to pass an array as a hidden field?

I am implementing an auto complete box using the Ajax.autocompleter method of the scriptaculous.js framework. This is the auto complete box and the div where the auto suggested entries are populated. create('Share', array('url' =>…
Angeline
  • 2,369
  • 22
  • 68
  • 107
0
votes
1 answer

Getting objects to stay in a scriptaculous droppable

I found some interesting code when I was looking at things that people had added on to Scriptaculous, and I'm trying to modify it for my purposes. I got nearly all of it working, except when I paste in the drop handler code, my page stops…
Chris Sobolewski
  • 12,819
  • 12
  • 63
  • 96
0
votes
2 answers

How can we GET/POST the request to server with scriptaculous.js or prototype.js

How can we GET/POST the request to server with scriptaculous.js or prototype.js. Please explain with brief example if possible.. Regards, Akash Jain
Mannusanghi
  • 249
  • 1
  • 4
  • 9
0
votes
1 answer

Can we create the controls using Scriptaculous.js and prototype.js or this library is for giving the effects on control

I am New for the technology. I want to know that "Can we create the controls using scriptaculous.js and prototype.js or this library is for giving the effects,Drag n Drop,Auto Completer?." Because i have seen in dojo.js they have their own controls…
Mannusanghi
  • 249
  • 1
  • 4
  • 9
0
votes
2 answers

Scriptaculous dom:loaded working only "sometimes"?

So basically, I'm working on a Facebook login flow for my website. It's fairly basic, but giving me some problems. The issue appears that the click observer is only working some of the time. A hard refresh will typically fix the problem. The…
0
votes
2 answers

How to call a function belonging to another object in JavaScript (using script.aculo.us)

I'm creating a new instance of the 'Draggable' object (from the script.aculo.us dragdrop module) inside a function belonging to an object I created. Let's call that object the 'Person' object. Easy enough. However, from inside the 'onEnd' function…
deluxe_247
  • 549
  • 2
  • 6
  • 14
0
votes
1 answer

Use scriptaculous effects in jQuery code

jQuery sliding animations are choppy unlike scriptaculous ones. So i want to replace my jQuery .slideUp/Down() with Scritaculous Basically, use scriptaculous slideup/down in this code -> jQuery('.button').on('click',…
MayThrow
  • 2,159
  • 4
  • 24
  • 38
0
votes
1 answer

Inserting a div before another div with javascript/prototype/script.acuo.us

I have a function that adds a product to the basket and then displays a success message at the top of the main content area of the page. I have got the ajax call on the onsuccess function working. I can't however, get the success message inserted on…
Phil Young
  • 1,334
  • 3
  • 21
  • 43
0
votes
3 answers

Problems getting AJAX effect to work with RubyOnRails

I want to remove a row from an HTML table generated by some Rails code and I'd like the other rows to "Slide Up" into the new position. I'm kind of new to this and I'm sure I've probably made a simple mistake. Here is the partial code to generate…
Vinnie
  • 12,400
  • 15
  • 59
  • 80
0
votes
2 answers

script.aculo.us autocomplete stuck behind input elements

I've got several script.aculo.us Ajax.Autocomplete controls on a page and when the drop down div is rendered it's always stuck behind the other text boxes on the page, no matter what I do with zIndex and positioning. The problem occurs in IE and FF.…
0
votes
1 answer

Scriptaculous slider price range slider with two handle

I'm using Scriptaculous to create a price range slider with two handles says minimum and maximum values. How can I store minimum and maximum values in separate hidden field. Current script as follows,
Aadi
  • 6,959
  • 28
  • 100
  • 145