Displaying 20 results from an estimated 10000 matches similar to: "z-index and dragging"
2005 Sep 21
8
Slider controls
Heya!
Thanks to Marty Haught, script.aculo.us (as of changeset 2281) now
sports
a new Control for horizontal and vertical sliders.
See the functional test file (test/functional/slider_test.html) for
information
on how to use it.
Basically, you do:
<div id="track1" style="width:200px;background-color:#aaa;height:5px;">
<div id="handle1"
2005 Aug 30
4
Java with Scriptaculous
I know that the prototype library was paired with Rails but I''m curious
if anyone has used the ajax part (of the libraries) with java servlets?
If so could you please point me to some examples or documentation.
Cheers,
Marty
2005 Aug 25
17
IE and the activeX security warning
I''ve been testing my page, which not only includes my new slider code
but the drag and drop code as well. You can see it here:
http://hoover.razorstream.com/preference.htm
My issue is that in IE, I get the annoying security warning across the
top saying ''IE has restricted this file from showing active content that
could access your computer''. If I allow the
2005 Sep 30
5
Converting text into a javascript array
Hey Guys,
I know this isn''t specific to scriptaculous libraries but it''s something
that I''m exploring as I use the ajax functions in prototype. My
application server is not rails but java and I was thinking of returning
a javascript array in the ajax response. When I get back my response is
it, of course, text and I''m not sure how best to convert it into
2005 Oct 11
8
Drag & Drop probs
Hi,
I''m just trying out the possibilities of script.aculo.us / prototype
having two problems...
I have a draggable element with revert:false-property and two
dropzones. (The draggables are in a <td> and the dropzones are
<div>s if that is important.)
1. I want the draggable element to snap back to its original position
when it gets dropped anywhere out of a dropzone.
2.
2005 Sep 27
3
Too much recursion
Hey Guys,
I''ve just encountered this error in Firefox will I pulled the latest
scriptaculous rc into project. Sadly, I don''t have a linkable page for
you to look over at the point. My question is what is this error
exactly? My code before this never got it but now it does. My few
searches suggest it''s the browsers way of keeping infinite loops from
happening
2005 Sep 15
4
Scrolling Tables/Divs?
Is anyone working on a scrolling table or div such as the openrico
livegrid demo? I''m looking to develop (much like smashbox''s scrolling
images) a collection of thumbnails that you can scroll horizontally.
I''ve got a non-prototype.js example but I wanted to check to see if
anyone was closer than I to this.
BTW, I will be finishing up my slider code shortly and
2006 Aug 25
5
Dragging between DIVs with Prototype/script.aculo.us
Hi,
I''m fairly new to script.aculo.us, so hopefully this is the right place
to ask this question. I have the following situation (pseudo-code):
<div>
<Droppable 1>
<Droppable 2>
</div>
<div (scrollable)>
<Draggable 1>
<Draggable 2>
...
</div>
Basically, my Draggables are inside a scrollable <div> element (the
interface
2006 May 23
2
Draggables and z-index
I''m using Draggagle on a couple of divs and when I drop the first one, it''ll
always drop behind (in terms of z-index) the second one. I even added a
revert function to add a CSS class to the div that should raise it up, but I
think the style.zIndex is "winning."
Looking at the code, it seems like the zIndex stuff is set *after*
the revert function is called... is
2005 Aug 22
1
Event keycodes
I''ve been looking for a list of all the keycode constants for the Event
object. Does anyone have a link to one? Specifically I''m looking for
the page up, page down, end and home keys.
Cheers,
Marty
2006 Jan 04
9
Resizeable
Has anyone done any work on a "Resizeable" class they''d be willing to share?
I''m looking to do some stuff that''ll need resizable divs, but I didn''t want
to re-invent the wheel if I can avoid it.
-Jerod
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Aug 11
14
Sortable callback, when dragging starts/stops
Hi *,
is there a callback or something else to get noticed, if the user starts
(stops) to drag an element of a sortable? I only found the onUpdate and
onChange callbacks, but they don''t give the information I need.
Thanks in advance,
Tim
2006 May 28
10
Drag''n''Drop out of overflow:auto containers
Cheers,
I have some elements inside a div with overflow:auto. When I trie to
drag them outside of the div, the div starts to scroll. Is there a way
to stop this behaviour for drag and drop?
I thought of maybe using callback to disable the overflow and restoring
it againg after the drop. Did someone implemented something like this?
Thanks,
Jonathan
--
Jonathan Weiss
2005 Aug 18
8
Extending a js class
It''s been a few days since I posted my last two emails (of which, no one
replied to) so I''ve gone ahead and coded a working slider class as well
as a ''resizeable'' class that allows a user to drag and resize the
element. I also linked these two together as I want to have slider
behavior that can resize the resizeable element. The end result is both
the
2007 Apr 05
3
Trying to get drag and drop to revert when I want and stay at other times
Here''s the deal. I''m making an ajax-based chess game. It''s done but
there''s something I''d like changed. Right now, to move pieces, you
click on the piece you want and you click where you want the piece to
go. People expect that, but they also expect the ability to simply
drag and drop the piece. So I''ve been using the draggables and
droppables,
2008 May 30
1
Drag and Drop with scriptaculous
Hello,
I''m making my first steps with prototype and scriptaculous.
I''m playing around with drag and drop.
What I try to do:
I have some Draggables and some Droppables. You can drag each
Draggables to each Droppables.
When I drop a Draggables I want to center the Draggables inside the
Droppable.
And here I get my first problems:-(
I use this code:
Droppables.add(
2006 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop
I am wondering what the deal about Internet Explorer 6 is. My application is
near to final and now while testing browsers all but the IE6 are running as
supposed to. Any other browser is performing smooth movement while IE
compared provides a very bad expirience. I''ve seen some "tuning" infos on
this list but they are either outdated or not actually working
2006 Jan 10
4
Autoscrolling for Draggables and Sortables
Hi all,
I''ve applied an experimental patch today to the scripaculous trunk.
Setting the scroll option on Draggables or Sortables to an element
(or an element id)
will attempt to auto-scroll this element when dragging.
See test/functional/dragdrop3_test.html for a demo/usage.
It''s modelled after the behaviour in the Mac OS X finder, with
variable scrolling
speed depending
2006 Jan 12
6
Draggable performance issues
Using the script.aculo.us Draggables, I''m noticing they are a bit less
than fast. I drag them around on the screen and they jump and glitch to
catch up with the mouse.
Has anyone else noticed this, and are there any optimizations that have
been identified that I can apply? I''m using v. 1.5
Sincerely,
Ryan Gahl
Design Engineer
Camtronics Medical Systems (an Emageon
2006 Feb 15
6
Draggables and overflow:auto
Hey guys. I''m trying to drag between two lists, except one list is
really long so I set a height on the <ul> with overflow:auto.
Unfortunately when I drag between the lists I can''t drag items outside
of the <ul> with the overflow on. Does anyone know how I can make this
work? I think I might be able to hack up something with rico''s live
tables, but that