Alex Mcauley
http://www.thevacancymarket.com
----- Original Message -----
From: "Martin" <mu.smar...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-s...@googlegroups.com>
Sent: Saturday, April 03, 2010 1:35 PM
Subject: [Proto-Scripty] Re: Dragging between fixed and non-fixed Sortables
(position offset bugs)
Hi everyone,
well, I'm still stuck with this.
I guess this isn't the right place, but I am eager to get an offer if
anyone thinks they are capable of tweaking scriptaculous (or fixing
this in whatever way). Where can i find the prototype/scriptaculous
cracks that will dig into this for some $$?
Thanks, Martin
On Mar 28, 3:09 pm, Martin <mu.smartbri...@gmail.com> wrote:
> Hello,
>
> I have drag-snap-offset problems when dragging between Sortables.
>
> My application involves dragging people from the 'available employees
> list', on the right, to projects the person has applied for.
> (unavailable targets are dimmed on drag start.)
>
> Have a look at it here:
>
> ->http://www.qasmartbr.nine.ch/unico/smartbridge/hr/indexgrp.php?action...
>
> username: gg
> password: gg
>
> There seem to be 2 positioning bugs:
>
> 1) scrolling the main window causes weird offsets between the dragged
> item and the snap-location in droppables.
> 2) scrolling within the 'available employee list' (when many employees
> available) causes a similar problem.
>
> Things work well only if when both of these are scrolled all the way
> up!
>
> Note that the 'available employee list' has position:fixed and is
> draggable itself (grab at top) !
>
> So far, I have tried dragdropextra.js and o few other patching
> suggestions, without success :(
>
> Any help is greatly appreciated!
>
> --Martin
>
> I am using using the latest version of scriptaculous, 1.8.2 i think
>
> I have ghosting off, and i manually clone a person dragged out of the
> 'available employees list' back into it if he or she is still
> available for other projects, among other caveats. I suppose i could
> turn ghosting on and deal with these things differently, if that helps
> solve the offset problem.
>
> the sortables are created on the fly (li onmouseover).
>
> Sortable.create() code snipplet:
>
> if(targets.length<2) return;
>
> for(i=0;i<targets.length;i++) {
> srtbls[i]=$(targets[i]);
> Sortable.create(targets[i],
> {dropOnEmpty:true,
> containment:targets,
> constraint:false,
> scroll:window,
> }
> );
> }
> li.style.cursor='move';
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to
prototype-s...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scripta...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.
Alex Mcauley
http://www.thevacancymarket.com
----- Original Message -----
From: "Martin" <mu.smar...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-s...@googlegroups.com>
Sent: Sunday, April 04, 2010 2:31 PM
Subject: [Proto-Scripty] Re: Dragging between fixed and non-fixed Sortables
(position offset bugs)
thanks for the link.
login works fine, for all i can see (logs, try myself etc.)
still hoping someone here can help.
On Apr 4, 9:09 am, "Alex McAuley" <webmas...@thecarmarketplace.com>
wrote:
> cant even login dude..
>
> Alex Mcauleyhttp://www.thevacancymarket.com
The original link he provided works fine. If you click the link within
the original post (and not copy and paste it) it works.
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/a115f3052223a3f0?hl=en
I also shorted the link that was originally provided to make sure it
is not cut off.
- J e f f C o n k l i n -
- http://www.getoutsidenj.com
- http://twitter.com/GetOutsideNJ
- http://www.carabs.com
Also draggables / droppables sometimes dont play nice in tables - this is in
the docs!..
i did experiment a little and found i have the same offset problems
without tables. nevertheless i will get rid of the tables (i
"inherited" them from the former dev) in the next haul.
On Apr 5, 10:00 am, "Alex McAuley" <webmas...@thecarmarketplace.com>
wrote:
> I think you have a Z-index problem if i am using the App correctly...
>
> Also draggables / droppables sometimes dont play nice in tables - this is in
> the docs!..
>
> Alex Mcauleyhttp://www.thevacancymarket.com
>
> ----- Original Message -----
> From: "Jeff C" <car...@gmail.com>
> To: <prototype-s...@googlegroups.com>
> Sent: Sunday, April 04, 2010 3:37 PM
> Subject: Re: [Proto-Scripty] Re: Dragging between fixed and non-fixed
> Sortables (position offset bugs)
>
> > Alex,
>
> > The original link he provided works fine. If you click the link within
> > the original post (and not copy and paste it) it works.
>
> >http://groups.google.com/group/prototype-scriptaculous/browse_thread/...
>
> > I also shorted the link that was originally provided to make sure it
> > is not cut off.
>
> >http://bit.ly/dBjELX
>
> > - J e f f C o n k l i n -
> > -http://www.getoutsidenj.com
> > -http://twitter.com/GetOutsideNJ
>
> > On Sun, Apr 4, 2010 at 10:25 AM, Alex McAuley
> > <webmas...@thecarmarketplace.com> wrote:
> >> the link from your post
> >> (http://www.qasmartbr.nine.ch/unico/smartbridge/hr/indexgrp.php?action...
> >> ) doesnt work dude..
>
> >> Alex Mcauley
>
> >>http://www.thevacancymarket.com
>
> >> ----- Original Message ----- From: "Martin" <mu.smartbri...@gmail.com>
A couple or more of your tables and <tr> have id's with spaces in them..
I do believe if you change the layout the problem will go away..
--
You seem to have replied in the thread "Dragging between fixed and non-
fixed Sortables (position offset bugs)" but with a completely new
topic (and new title). My guess is that you're writing via an email
client and hit "reply" on a message from the other thread and just
cleared out the message area of the new email and changed the title;
that doesn't work, because there's a thread ID in the email headers.
(Easy mistake to make! :-) ) Please be sure when mailing the list (or
creating a message in GGroups) on a completely new topic *not* to
reply within an existing thread (by using "new email" rather than
"reply" or whatever); it mixes the two topics together.
I've changed the thread title back.
Thanks,
--
T.J. Crowder
Independent Software Consultant
tj / crowder software / com
www.crowdersoftware.com
On Apr 7, 8:42 pm, Hariz Soleminio <harriz_solemi...@rocketmail.com>
wrote: