search for: pointeri

Displaying 20 results from an estimated 22 matches for "pointeri".

Did you mean: pointer
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();
2007 May 11
15
Simulating onmouseleave and onmouseenter with Prototype
Hello. I spent an hour or three chasing down a desired effect that mootools implements, namely the simulation of onmouseleave and onmouseenter events. Why? Lets say you have a Menu. A ul element that contains many li elements. If you want to have a function (maybe an effect) fire when the mouse moves outside of the ul, you are out of luck. Observe the mouseout function like so:
2005 Oct 04
1
using events...
Hey there, I am not all that familiar with using events so I was hoping someone on this list would be willing to enlighten me, a bit.. I have set up an observer on a div called "scalebar", that seems to work well. Event.observe(''scalebar'', ''click'', function(){ alert (''clicked me at'') }); What I want to do is get the
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,
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 Nov 12
1
[PATCH] Annotate shapes, text and dbus support
Here are my patches to add extra shapes to the annotate plugin. I have also added dbus support and made a few things configurable. The new tools available are Line, Rectangle and Circle, the original is called Brush. There is no selection line at the moment because I do not understand OpenGL yet. Hopefully these patches can be added and something added later. There is an extra action called
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my question is similar in the regards that i don''t want my application to send multiple requests. i have 2 sortabbles lists left, and right. when i move an item from left to the right the onUpdate callback will send 2 ajax requests. one for each sortables. however. i want it to serialize and send back the results from
2006 Jun 14
4
Extend Draggable
Hello all, I want to extend a draggable object so it has one more attribute (type attribute, so I can distinguish different draggable types). Can anyone tell me how to do it? I''ve search throught the examples (like http://wiki.script.aculo.us/scriptaculous/show/ExtendClass) but I can''t seem to understand what I should do. Thanks for you help, H
2007 Oct 04
0
Getting mouse position from a timed function - My Solution
EDIT: I originally wrote this as a response to this thread (http:// groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/ a735c534f89fc5cf/8d8546811cae5ee8), but it wouldn''t let me respond that that thread (presumably because of it''s age). Rather than just throw it away, I figured I''d post it here in case in can help anyone else. I built a little class to
2005 Dec 03
0
dragdrop patch that enables dragging from and to divs with overflow:scroll
Hi all, this is a patch for 1.5_rc5 I noticed that I was not able to drag stuff out of scrolling divs. When I tried to drag it out, the draggable would remain in that div and the scrollbars would adapt to the bigger content of the div. This patch extends draggable with an option :tofront. When it is set to true, the draggable will be moved to the document body while keeping its position on the
2005 Dec 23
1
floating layer following the mouse
Hello, I have added a fade-in/fade-out floating layer to display infos on Ajax request. I have used Position to display it on a corner. Is there a simple way to make this floating layer displayed near the mouse and make it follow the mouse movments Tarek -- Tarek Ziadé | www.afpy.org Python - why settle for snake oil when you can have the whole snake? (Mark Jackson)
2005 Aug 10
2
extend question
Is it possible to call the super class''s version of a function from a subclass? SuperClass = Class.create(); SuperClass.prototype = { initialize: function(){ this.varA = ''''; this.varB = ''''; } } SubClass = Class.create(); SubClass.prototype = (new SuperClass()).extend({ initialize: function(somevar) { this.somevar = somevar; }
2006 May 01
0
RE: Leak in the Autocompleter, with scrollable result-div ?
Tommy, Every time the Autocomplete results is blur()'d, it adds another onblur event observer (because of "Event.observe(this.update, "blur", this.onBlur.bindAsEventListener(this),true); // make sure blur is still around on") which leads to a performance problem / memory leak. (Commenting it out seems to fix this problem.) I was wondering why it was there? Thanks again,
2006 Feb 14
0
Another draggable/droppable performance booster
This one is as much for Thomas as for the rest of the list (might be a good one for the official build)... I made a change to the dragdrop.js file that significantly improves overall performance of dragging when there are more than one (or many more) droppables on the page. I modified the Draggables.updateDrag method, and added another method below it, and then in Draggable.updateDrag I
2006 Feb 09
3
Draggables and Droppable performance (tips)
Hi all. I have some performance tips to share. I had been having problems with the overall performance of the drag/drop objects. This is due largely to the fact that my project really pushes the limits (potentially thousands of draggables and hundreds of droppables in the document at a time, although that is the extreme case). Something I discovered is that the performance of dragging goes WAY
2013 Nov 22
0
[LLVMdev] ErrorOr<> conflicts with unique_ptr<>
On Thu, Nov 21, 2013 at 4:33 PM, Nick Kledzik <kledzik at apple.com> wrote: > > On Nov 21, 2013, at 4:07 PM, David Blaikie <dblaikie at gmail.com> wrote: > > > > > On Thu, Nov 21, 2013 at 3:57 PM, Nick Kledzik <kledzik at apple.com> wrote: > >> Michael, >> >> In lld, we have places that used nested a
2013 Nov 22
3
[LLVMdev] ErrorOr<> conflicts with unique_ptr<>
On Nov 21, 2013, at 4:07 PM, David Blaikie <dblaikie at gmail.com> wrote: > > > > On Thu, Nov 21, 2013 at 3:57 PM, Nick Kledzik <kledzik at apple.com> wrote: > Michael, > > In lld, we have places that used nested a ErrorOr<std::unique_ptr<xx>> and I often hit compiler errors that require breaking up expressions to work around. Do you have
2008 Jan 14
13
prototype/script.aculo.us ecosystem
Recently errtheblog (http://errtheblog.com/) put up a nice post about jQuery. Putting aside all the assertions about cleaner code and fewer lines of code than with Prototype, the one thing that struck me from his (and others'') writing and from direct inspection is this: jQuery seems to have a more of an ecosystem surrounding it. That is, more plugins, widgets, locked-and-loaded
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 --------
2007 Aug 03
4
[ANNOUNCE] compiz-0.5.2
A new compiz release 0.5.2 is now available from: http://xorg.freedesktop.org/archive/individual/app/compiz-0.5.2.tar.gz which can be verified with: http://xorg.freedesktop.org/archive/individual/app/compiz-0.5.2.tar.gz.sha1 0d0a4a39bfbe0ada770d9206b7a1b6b443c53c29 compiz-0.5.2.tar.gz