scriptaculous

Hoverable tooltips with AJAX-pulled content on Prototype/Scriptaculous (to act like Twitter's)`

Twitter recently added hoverable multi-media "tooltips" -- when you hover over a username or avatar on your feed, it pops up (in-place) more details on the user (tweets sent/received, location, last tweet). It also includes a "Follow" button. There's a 'more-info' link which will load some more details on-demand. I'd like to emulate ho...

Prototype Form Submit Validation Error

I have a form with id 'new_profile_choices', and I am using Prototype to validate the form. When I tried to validate the form submit event, it does not seem to handle the event. Could you please help me to debug it. Thanks View Source of the Form <form action="/polls/vote" class="new_profile_choices" id="new_profile_choices" method="po...

Ruby on Rails sortable_element serialization returns [id] instead of the actual id

Whenever I click the serialize button to return results I'll get something like "tree_list[0][id]=2&tree_list[1][id]=3...". View: <a href="#" onclick="alert(Sortable.serialize('tree_list'));return false">Serialize</a> <ul id="tree_list"> <%= render :partial => "tree_item", :collection => @tree_items %> </ul> <%= sortable_element('tree...

Problem with scriptaculous autocompleter.local

I'm having a problem with Autocompleter.Local. In my list of strings, I have some choices that are substrings of others. For example, "Office" is a substring of "Office park". If I type "Offic", both choices show up. If I type "Office", only "Office park" shows up as a choice. I have tried messing with partialSearch and fullSearch o...

Ruby on Rails, Multiple Models in One Form, Autocompletion

I have followed the instructions in Chapter 13 of Advanced Rails Recipes. However, one of the fields for my nested model uses scriptaculous’ autocompleter.local. The drop down shows up for the first record in the nested model, but doesn’t show up for the others after I click the “Add” button. Any ideas? Here is my code from the partial: ...

Implementing a horizonatal <div> carousel using prototype.js and scriptaculouas

I need to implement a carousel of 5 divs with 3 that appear and two the are off screen. I want to cycle through the divs with arrows so that they move around like a carousel. I know you can do this with jQuery - but I'm limited to using prototype.js and scriptaculous. What is the simplest way to do this? ...

scriptaculous ajax autocompleter

Hi there. Pls I am using scriptaculous ajax autocompleter, and I am having difficulties trying to get it to do what i want. You know when you start typing in the search form and a drop down list possible results start coming up, from that list I am trying to get it that when i click on one of the possible answers, it performs another s...

getting scriptaculous autocompleter to behave like google instant

You know when you start searching in an autocomplete search box, you get a list of possible results. From those results, say you click one of the items on the list, I want to take that item and perform another search to give another list of results. Just exaclty like how google works. if you dont understand me try typing into google sear...

getting scriptaculous autocompleter to behave like google instant

Possible Duplicate: getting scriptaculous autocompleter to behave like google instant U know when u start searching in an autocomplete search box, you get a list of possible results. From those results, say you click one of the items on the list, I want to take that item and perform another search to give another list of resul...