Displaying 20 results from an estimated 10000 matches similar to: "Rails 2 doesn't include builder.js, scriptaculous.js, slider.js, and sound.js. Should I add them?"
2006 Apr 24
1
implementing a Slider control
i''m trying to implement a slider like
"http://wiki.script.aculo.us/scriptaculous/show/SliderDemo", but i see
that my code doesnt work.
i seem to do everything correct but then if some one could look into it
and help..
regards
muddana
The View Code:
<%= javascript_include_tag "prototype", "effects"
2005 Dec 25
2
scriptaculous-js-1.5.0
I''m not a JavaScript guy, so please help me out.
It''s my understanding that Rails 1.0 includes scriptaculous-js-1.5.0
But it seems to contain portions of, but not the complete library.
Rails 1.0 includes 4 .js files, scriptaculous-js-1.5.0 includes 8.
What am I missing?
> tmornini$ rails --version
> Rails 1.0.0
>
> tmornini$ rails test | grep
2006 May 23
0
Slider.js - Attemting to put values in form.
I can''t figure out how to take that value that the user has chosen in
the slider and put that into a form value. Does anybody know how to do
this?
Here is my code so far (It''s pretty much directly from script.aculo.us):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Text effects tests</title>
<script
2007 May 14
8
Problem with script.aculos.us script
I''m newbie to rails application.
I like to use script.aculos.us script in my app.
I faced the following problem.
1. first i creat my application.
2. Then I copied the files
scriptaculous.js, builder.js, effects.js, dragdrop.js, controls.js and
slider.js
and prototype.js
into my app/public/javascripts/
3. Then included the <%= javascript_include_tag :defaults %> code into
head
2005 Nov 08
2
Scriptaculous insertion fails when XHTML Strict used in FireFox
Hi !
I'm getting an uncaught exception requiring the Scriptaculous
libraries when everything says XHTML 1.0 Strict:
class ApplicationController < ActionController::Base
before_filter :set_content_type
protected
def set_content_type
response.headers['Content-Type'] = 'application/xhtml+xml;
charset=ISO-8859-1'
end
end
<?xml version="1.0"
2006 Mar 29
4
Why doesn''t Rails 1.1 have all the Script.aculo.us 1.6 files?
Why aren''t builder.js, slider.js, and scriptaculous.js part of the
Rails 1.1 javascripts?
rab:javascripts $ pwd
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/html/javascripts
rab:javascripts $ ls -l
total 288
-rw-r--r-- 1 root wheel 148 Mar 28 08:56 application.js
-rw-r--r-- 1 root wheel 28036 Mar 28 08:56 controls.js
-rw-r--r-- 1 root wheel 23613 Mar 28 08:56 dragdrop.js
2006 May 20
1
Slider.js - Attemting to put values in form.
I can''t figure out how to take that value that the user has chosen in
the slider and put that into a form value. Does anybody know how to do
this?
Here is my code so far (It''s pretty much directly from script.aculo.us):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Text effects tests</title>
<script
2005 Aug 18
0
Possible bug with scriptaculous dragdrop.js
Hi all.
I think the following code in dragdrop.js
fire: function(event, element) {
if(!this.last_active) return;
Position.prepare();
if (this.isAffected(Event.pointerX(event), Event.pointerY(event),
element, this.last_active))
if (this.last_active.onDrop)
this.last_active.onDrop(element, this.last_active);
}
should be changed to
fire: function(event,
2005 Jul 18
2
scriptaculous dragdrop.js empty list problem
Hi,
I''ve just been having a look at the scriptaculous drag-n-drop library, which
looks exceedingly good. I''m running across a show-stopper here, though -
something that''s cropping up in both the online demos and my own test scripts. If
I set up two lists so that I can drag items between them, then if either list
becomes empty, I can''t drag elements back into
2006 Jun 18
0
Very cool scriptaculous table drag and drop stopped working on new version
Using older versions of prototype.js (1.4.0_rc2) and scriptaculous
(1.5._rc4), I had a master table containg other tables (sections), each
of which had rows. Using tbody''s as containers, I could drag the
section tables up and down over the other section tables AND drag the
rows in a section table up and down within that table or into the rows
of the other section tables, all very
2007 Feb 26
5
Panel Slider (like on maps.google.com)
Hi,
I want to create a panel slider like shown on maps.google.com (click
the little triangle on the left side of the map (in the vertical-
middle)).
I tried several scriptaculous treasure chest thingies .. but they
didn''t work. Does anyone know of a way to do this?
Thanks, Joost
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2006 Jan 16
0
Slider Problems
Hi,
I have two minor problems with scriptaculous sliders:
a) when a list of allowed values is provided and that list contains 0
the value 0 is not usable
This can be seen in the slider_test.html functional tests, slider 5
(multiple handles and predefined values), which allows values
[0,0.2,0.4,0.6,0.8]. I cannot move any of the sliders to position 0
(using mozilla 1.7.8, same for
2006 Feb 12
0
dragging and dropping with scriptaculous
i want to be able to drag divs and drop them onto other divs. i want
the behavior to be as follows: if the draggable div is released too
far away from one of the droppable divs, then it goes back to its
original position. however, if it is sufficiently close to one of the
droppable divs then it moves directly on top of that div and stays
there. this is the way dojo works (with bugs).
i just
2008 Jul 07
4
script.aculo.us slider - this and event handler - depending sliders
Hi,
I successfully created depending sliders with prototype and slider.js.
See the result here: http://www.soa-world.de/dev/slider/slider.html
(here''s the code: http://pastebin.com/ma1e82eb)
There is one problem with my code. What I do is I have a sliders class
"function sliders()"
inside I create the 5 sliders in a for loop and store them inside an
array which is a member of
2006 Apr 24
1
dragdrop.js problems - workaround here
Hello, I am not sure how many people are using the shiny new tree
version of dragdrop.js - well it seems that someone arbitrarily
changed part of my implementation and has broken the functionality
with rails:
864 serialize: function(element) {
865 element = $(element);
866 var options = Object.extend(Sortable.options(element),
arguments[1] || {});
867 var name =
2005 Sep 24
5
Load latency, file count, and a proposal
Hey All,
So now that we''re up to 7 files, and hopefully more
coming as the project grows, minimizing load latency
seems much more important.
Maybe it''s time to consider creating a single file
distribution, much like what prototype.js is (a
concatination of 6 or so other files)?
re: packaging suggestions
*) scriptaculous_only.js
- all of the scriptaculous components w/o
2008 Apr 04
4
Auto Complete Problems
Hello All,
I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m
having some difficulties. When I start typing in my input box, instead
of getting a nice drop down, the styling on my page is getting all out
of wack (ie my background colours change, link styling changes, etc) and
I''m not seeing any autcompletion data. Here are the steps I''ve taken
2005 Dec 29
2
Can''t get scriptaculous to work
I''m just getting up and running with rails, but I''m pretty sure I''m
using the scriptaculous library correctly. However, when I try to call
an effect I get and endless loop of these errors...
Undefined Value line 486
I''m using these libraries...
<%= javascript_include_tag "prototype" %>
<%= javascript_include_tag
2006 Jun 12
0
IE rendering of Sliders
Small point, has anyone noticed that the sliders don''t render properly in
IE 6.0?
http://wiki.script.aculo.us/scriptaculous/show/SliderDemo
I''ve dabbled with the HTML and CSS and got ''em to render properly in IE 6
(and IE 5.5... yes, I know...)
.slider-track {
width:50px;
height:5px;
background-color:gray;
position:relative; /* IE fix */
}
.slider-handle
2005 Aug 02
3
Scriptaculous: Sortable (dragdrop.js) onUpdate
Hi all,
In the following code, it doesn''t look like the onUpdate() event is firing.
Am I doing something wrong?
<ul id="testSort">
<li id="item1">item 1</li>
<li id="item2">item 2</li>
<li id="item3">item 3</li>
<li id="item4">item 4</li>
<li id="item5">item