Displaying 20 results from an estimated 100 matches similar to: "Drag & Scroll"
2006 Jun 15
3
RE: Yahoo!-like Eventobjectemulation/abstractioninPrototype?
This is obviously rough draft and not thoroughly tested, but it seems to
work. If you''d like, give it a try (load it after you load
prototype.js):
Function.prototype.bindAsEventListener = function(object) {
var __method = this;
return function(event) {
return __method.call(object, new SuperEvent(event || window.event));
}
}
var SuperEvent = Class.create();
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,
Jeroen
2006 Jan 02
2
mouse position without event
Hello,
Is it possible somehow to get mouse coordinates without using the event
mechanism ?
I need to get the current mouse position to initialize some div position,
but not at page load
Tarek
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 May 16
4
Positioning
I''m trying to understand the Position object. Specially the various
offset methods. From looking at the code I think I may understand them
but I wanted to run it by the group to make sure I had a clear
understanding.
realOffset - This returns the coordinates of the element as if none of
the elements on the page are scrollable from the document edge.
cumulativeOffset - This returns
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server
2008 Jun 05
0
Javascript & Scrolling
I am currently in the middle of creating a horizontal scrolling
product list with page buttons that use effects to scroll from one
page to another using scriptaculous.
I am having problem that when the window is resized, so only the
viewable area of the div changes, this causes the width to change and
then because of that the scroll effect will scroll to position 2000
but then when the scroll bar
2007 Nov 11
3
Scrollable selectbox for auto complete
Hi everyone,
I have used used scriptalicious for the autocomplete.
It works but with one problem.
When scrolling down the list, the values not visible are not scrolled
into focus.
eg I use the keyboard down or up key.
Here is my CSS
<style type="text/css">
div.auto_complete {
height: 100px;
width: 350px;
background:
2006 Jan 30
0
Draggable with auto-scroll
Thomas, I''m mostly writing this to you. A couple weeks ago I grabbed the
latest SVN version of dragdrop.js because I needed the auto-scroll
functionality. I just fixed something in that script that wasn''t working
correctly and thought you might want to hear about it. You may have
already caught it since I grabbed the script but here it is anyway.
In the updateDrag() function
2006 Apr 20
1
The Autocompleter, with scrollable result-div
Hi everyone
If you''ve seen this ticket, http://dev.rubyonrails.org/ticket/4782,
you''ve noticed I have tried to make scrollable autocompleter work. The
scrollIntoView works great, however the iframefix for IE didnt work in
the previous change. This is fixed now.
Also the "blur-on-scrollbar-click" should not work in both IE and
Safari (can someone confirm this?)
It all
2006 Jun 01
4
refund of $63.80
<!-- HOME.RO Banners v0.1 -->
<SCRIPT LANGUAGE="JavaScript">
<!--
browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 2 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 2 )));
if (browser) {
if (parent.name != ''homepopup'') {
2006 Mar 08
2
RE: question about auto-updating div withoverflow:auto and maintaining position
You should be able to do this by changing the div''s .scrollTop value via
javascript (maybe just pick a very large number to ensure bottom is hit,
like 10,000).
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of
Jeremy Kitchen
Sent:
2008 Feb 13
1
changing scroll bar behavior
I need to change the behavior of the scrollbar when the user presses
up/down arrows on the scroll bar. Specifically, I''d like to be able to
set the number of pixels that scrollTop changes by when this happens.
I have a div with no content that I set a height equal to the number
of discrete positions I need to scroll through. I then tried to set
lineHeight and fontSize to 1 and 1px
2005 Jun 28
1
Thomas script.aculo.us (important bug and add ons)
Sorry. Posted from wrong email originally. Moderator, please ignore other
post. Thx.
To Thomas Fuchs,
First of all, thanks for your amazing scripts on script.aculo.us. You''ve got
quite some talent. I knew I was in for a treat when I read your goals
(mainly about simplicity). My goals exactly. Keep it simple is great when
you''re trying to integrate 100 different things.
I wrote
2007 Nov 20
3
Ajax.Updater -- Cancel DOM write?
Is it possible to cancel the DOM write to the element passed to
Ajax.Updater? I didn''t see anything in the documentation, and I''d like
to use this instead of Ajax.Request. There are situations where the
results that are returned will not be what is expected, and I have no
control over this. For this reason, I''d like to be able to cancel
writing to the DOM.
Thanks in
2008 Jan 08
1
HOWTO: Add a new line, Remove new line?
Hello everyone,
I have a couple of checkboxes, where each checkbox belongs to a
specific input field (which has a value). So whenever the user clicks
on the checkbox, each value of the associated input field is added up
and placed in the ''result'' ID. I''m using unobtrusive Javascript to
make this happen...
However I want to able to add and remove a new line (checkbox
2012 Mar 04
5
moving form validation to client-side
Hi I know with javascript we can validate the input of a form on the
client, is there an easy way to specify this in rails? I am thinking
the javascript code getting generated using some sort of DSL?
--
Kind Regards,
Rajinder Yadav
SafetyNet Test Driven Development
http://safetynet.devmentor.org
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Sep 21
1
[PATCH] Fixing a loading issue with the Start On form
Signed-off-by: Simon COURTOIS <scourtois at linagora.com>
---
src/app/views/vm/start.rhtml | 76 +++++++++++++++++++++--------------------
1 files changed, 39 insertions(+), 37 deletions(-)
diff --git a/src/app/views/vm/start.rhtml b/src/app/views/vm/start.rhtml
index bed1d2d..f80cf70 100644
--- a/src/app/views/vm/start.rhtml
+++ b/src/app/views/vm/start.rhtml
@@ -4,6 +4,45 @@
<%-
2005 Aug 15
6
setting position for draggables?
Hi list,
how can I set the top and left CSS properties for draggable divs? When I modify the properties directly, the DIV jumps to its old position when I start to drag it.
Thanks in advance!
Martin
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken:
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app,
that will be done separately in another patch
as F10/F11 require different setups for that.
In the meantime gettext works if manually changed
in environment.rb to gettext_rails instead of
gettext/rails
Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com>
---
src/app/controllers/application.rb | 200 --------
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that
will show a predefined Array and will scroll automatically to the first
match. I have had success with with getting my list to populate and show
all of the choices, however I cannot get it to scroll to the first match.
Since I build the JS Array I can know exactly how many items are in the list
going into my selector,