Displaying 5 results from an estimated 5 matches for "some_element".
2006 Feb 21
7
non simultaneous effects
Hi all,
If I call this function bla:
function bla() {
Effect.Appear('some_element');
Effect.Appear('some_other_element');
}
Both effect happen at the same time. Is there a way to stop this from
happening? I mean, how can I delay the effect on 'some_other_element'
from happening until the effect on 'some_element' is finished?
thanks and regards,...
2005 Dec 30
2
unwanted scrolling
Hi all,
I'm using Scriptaculous version 1.5.0 to make div's that are hidden at
first (display: none position : absolute) visible using the cool
effects of Scriptaculous. However when I use the effects (Appear,
BlindDown, BlindUp) on div's that are positioned low in a long page IE
and Firefox always scroll back to the top of the page, sometimes even
scrolling away from the effected
2006 Jan 05
1
Two effects on one div
Hey guys,
I am trying to find a way of using two effects on one element. I am
currently using the blindDown effect but I want to use the highlight
effect on the same div after the div has opened. I am pretty new to this
and javascript in general so can anyone give me a pointers.
James
2006 Jun 18
2
using javascript to get an attribute using an ID
...39; +
attribute + ''/'' + id,
{
onSuccess:function(response){
this.currentValue = response.responseText;
}
}
);
}
var model = new RailsModel(''user'');
$(''some_element'').railsModel = model;
$(''some_element'').getAttributeById(''position'', 4);
I''m not entirely sure that this works. However, my question is, how to I
actually load the correct model in Rails when this request is received?
The URL will be /models...
2006 May 23
0
Passing a browser variable to Rails?
...the user.).
Question :
-Firstly, is there an elegant way to get at the Timezone information of the
visiting browser?
-Secondly, I have been looking for documentation about how to access the DOM
from RoR, but can''t quite seem to find it. I keep seeing code segments that
have
"page[:SOME_ELEMENT]" and I''m not sure what this is called.
-Thirdly for future use, is there an elegant way to access the browser
variables(Width, Height, Timezone ...) in general?
Any thoughts?
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrai...