search for: enddrag

Displaying 18 results from an estimated 18 matches for "enddrag".

2006 Apr 30
1
Draggable - how start action on start dragging and end action on droppping
...ement draggable - and when element is dragged I want to start some action (e.g. shown AJAX indicator, and change one of CSS class in dragging element). What is the best way to achieve this? I search source code of the Draggable and I saw that there is 2 method: Draggable.initDrag and Draggable.endDrag so it looks like in initDrag method i should call my own function which do the fing and in endDrag method I should call my own function which cancel behaviour of preview function. Is it better way to do it? ---------------------------------------------------- Grupa dEUS w ramach dwudniowej muzy...
2005 Aug 12
0
OnDrag callback. Is there such a thing?
I''ve asked this question before but posted it at the wrong place. Anyways, I was trying to find out if there is an OnDrag callback that I can use in DragDrop.js; something that is called as soon as the draggable is moved from its position, similar to the startDrag, cancelDrag and endDrag callbacks available in rico.js (www.openrico.org). If there is such a callback, could you please show me a quick 2 line implementation client side. I''ve already tried this while creating the draggable like so: new Draggable(''dragthisBox'',{revert:true, startDrag: functi...
2006 Mar 02
3
Hey How did they do that?
I''ve seen web apps where cells within a table column can be highlighted by dragging over them. NumSum does this. Any ideas on how this is achieved? When I try to select cells in a column by dragging over them the text within rows gets selected as well. Take Care -- Aneesha _______________________________________________ Rails-spinoffs mailing list
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:
2007 Jan 29
0
Branch 'interpreter' - 18 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_sound.c libswfdec/swfdec_pattern.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_script.c
...ec_action_binary, swfdec_action_binary, swfdec_action_binary, swfdec_action_binary } }, diff-tree 766926a5baf0ca465c0010f2cf157a41498cd841 (from e5233b84a86161a483eb16754dfd89f8f194b0d6) Author: Benjamin Otte <otte@gnome.org> Date: Mon Jan 29 12:30:39 2007 +0100 implement StartDrag and EndDrag actions this makes speedball.swf work again diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c index 537fced..1decae7 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -359,23 +359,26 @@ swfdec_action_trace (JSContext *cx, guin * This function is...
2007 Jun 28
0
Branch 'as' - 5 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c test/trace
...e, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace } }, [SWFDEC_AS_ACTION_START_DRAG] = { "StartDrag", NULL, -1, 0, { NULL, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag } }, [SWFDEC_AS_ACTION_END_DRAG] = { "EndDrag", NULL, 0, 0, { NULL, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag } }, diff-tree fd7044406415e0cea602c1ed36ef2992d4d12060 (from b08d7989bbd03e163af817e33e2bc9fe9c413f75) Author: Benjamin Otte <otte at gnome.org> Date: Thu Jun 28 15:59:...
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...ns implement ActionLess another fix for swfdec_js_internal implement Equals2 and fix If and Goto to jump correctly didn't catch NULL here, oops implement SetTarget and SetTarget2 various fixes to reference the correct this object implement StartDrag and EndDrag actions implement StopSounds implement NewObject implement InitObject action enable gtk-doc in autogen.sh rework audio configuration subsystem Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec add swfedit binary to gitignore...
2007 Oct 26
0
3 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c
...;Try action not implemented"); +} + +static void swfdec_action_pop_with (SwfdecAsFrame *frame, gpointer with_object) { g_assert (frame->scope_chain->data == with_object); @@ -2959,7 +3014,7 @@ const SwfdecActionSpec swfdec_as_actions[256] = { [SWFDEC_AS_ACTION_END_DRAG] = { "EndDrag", NULL, 0, 0, { NULL, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag } }, [SWFDEC_AS_ACTION_STRING_LESS] = { "StringLess", NULL, 2, 1, { NULL, swfdec_action_string_compare, swfdec_action_string_compare, swfdec_action_string_compare,...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...e, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace } }, - [SWFDEC_AS_ACTION_START_DRAG] = { "StartDrag", NULL, -1, 0, { NULL, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag } }, - [SWFDEC_AS_ACTION_END_DRAG] = { "EndDrag", NULL, 0, 0, { NULL, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag } }, - [SWFDEC_AS_ACTION_STRING_LESS] = { "StringLess", NULL, 2, 1, { NULL, swfdec_action_string_compare, swfdec_action_string_compare, swfdec_action_string_compare,...
2006 Apr 25
12
RE: Element.scrollTo duration isn''t working
I thought the duration parameter was only used with Effect functions, but I could be wrong. Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Joe Hudson > Sent: Tuesday, April 25, 2006 8:37 AM > To:
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...); } }, @@ -121,25 +121,25 @@ var Droppables = { if(this.last_active) this.deactivate(this.last_active); } -} +}; var Draggables = { drags: [], observers: [], - + register: function(draggable) { if(this.drags.length == 0) { this.eventMouseUp = this.endDrag.bindAsEventListener(this); this.eventMouseMove = this.updateDrag.bindAsEventListener(this); this.eventKeypress = this.keyPress.bindAsEventListener(this); - + Event.observe(document, "mouseup", this.eventMouseUp); Event.observe(document, "mousemove&q...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...ns implement ActionLess another fix for swfdec_js_internal implement Equals2 and fix If and Goto to jump correctly didn't catch NULL here, oops implement SetTarget and SetTarget2 various fixes to reference the correct this object implement StartDrag and EndDrag actions implement StopSounds implement NewObject implement InitObject action enable gtk-doc in autogen.sh rework audio configuration subsystem Merge branch 'master' of ssh://company@git.freedesktop.org/git/swfdec add swfedit binary to gitignore...
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
2007 Apr 12
0
Branch 'as' - 14 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h
...ULL, 1, 0, { NULL, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace } }, #if 0 [0x27] = { "StartDrag", NULL, -1, 0, { NULL, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag } }, [0x28] = { "EndDrag", NULL, 0, 0, { NULL, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag } }, - [0x29] = { "StringLess", NULL }, - /* version 7 */ - [0x2a] = { "Throw", NULL }, - [0x2b] = { "Cast", NULL }, - [0x2c] = { "Implem...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...ns implement ActionLess another fix for swfdec_js_internal implement Equals2 and fix If and Goto to jump correctly didn't catch NULL here, oops implement SetTarget and SetTarget2 various fixes to reference the correct this object implement StartDrag and EndDrag actions implement StopSounds implement NewObject implement InitObject action enable gtk-doc in autogen.sh rework audio configuration subsystem Merge branch 'master' of ssh://company@git.freedesktop.org/git/swfdec add swfedit binary to gitignore...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...quot;, compile_get_property }, - { 0x23, "SetProperty", compile_set_property }, - { 0x24, "CloneSprite", NULL }, - { 0x25, "RemoveSprite", NULL }, - { 0x26, "Trace", compile_trace }, - { 0x27, "StartDrag", compile_start_drag }, - { 0x28, "EndDrag", compile_simple_call }, - { 0x29, "StringLess", NULL }, - /* version 7 */ - { 0x2a, "Throw", NULL }, - { 0x2b, "Cast", NULL }, - { 0x2c, "Implements", NULL }, - /* version 4 */ - { 0x30, "RandomNumber", compile_random }, - { 0x31, &quo...
2007 Apr 04
0
Branch 'as' - 4 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
...uot;, NULL, 1, 0, { NULL, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace } }, + [0x27] = { "StartDrag", NULL, -1, 0, { NULL, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag } }, + [0x28] = { "EndDrag", NULL, 0, 0, { NULL, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag } }, + [0x29] = { "StringLess", NULL }, + /* version 7 */ + [0x2a] = { "Throw", NULL }, + [0x2b] = { "Cast", NULL }, + [0x2c] = { "Implem...
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...L }, [0x25] = { "RemoveSprite", NULL }, - [0x26] = { "Trace", NULL }, + [0x26] = { "Trace", NULL, 1, 0, { NULL, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace } }, [0x27] = { "StartDrag", NULL }, [0x28] = { "EndDrag", NULL }, [0x29] = { "StringLess", NULL },