Displaying 16 results from an estimated 16 matches for "zindex".
Did you mean:
index
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 there any way to do what I''m
trying to do?
Here''s my call to Draggable just in case it''s obviously stupid:
new Draggable(''g-'...
2005 Oct 17
0
Bug in Draggables
Guys,
I just found this bug on line 237 of dragdrop.js
if(this.options.zindex)
this.element.style.zIndex = this.originalZ;
Should be
if(this.options.zindex)
this.element.style.zIndex = this.options.originalZ;
Jon
********************
********************
This E-mail (and attachments) may contain confidential/privileged information intended only for the na...
2005 Aug 08
3
AutoCompleter IE6 and SELECT Element Clash
Hello,
I am using the AutoCompleter to great effect. However, the site design I
have been constrained by has <select> elements/drop down boxes below the
AutoCompleter field. This means that in Internet Explorer 6 the drop
down elements appear on top of the floating DIV when rendered in the
browser. Mozilla floats the DIV on top of the select elements as
expected.
Has anyone encountered,
2006 Apr 20
1
The Autocompleter, with scrollable result-div
...=====================
--- controls.js (revision 4240)
+++ controls.js (working copy)
@@ -94,7 +94,7 @@
},
fixIEOverlapping: function() {
- Position.clone(this.update, this.iefix);
+ Position.clone(this.update, this.iefix,
{setTop:(!this.update.style.height)});
this.iefix.style.zIndex = 1;
this.update.style.zIndex = 2;
Element.show(this.iefix);
@@ -176,6 +176,13 @@
},
onBlur: function(event) {
+ // Dont hide the div on "blur" if the user clicks scrollbar
+ if(Element.getStyle(this.update, ''height'') != ''''){
+...
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"
2006 Feb 03
0
Contribute: Center extension to Prototype''s Position object
If anyone is intrested, i was hardly missing such a feature in prototype
(for displaying well formatted error dialogs and things like that):
Position.center = function(element){
var options = Object.extend({
zIndex: 999,
update: false
}, arguments[1] || {});
element = $(element)
if(!element._centered){
Element.setStyle(element, {position: ''absolute'', zIndex:
options.zIndex });
element._centered = true;
}
var dims = E...
2005 Dec 27
2
Drag and drop problem if Droppable zones overlap
Hello,
The question is related to Droppables and Draggable.
I''m creating a splitter component with a DIV that acts as the splitter
and 2 DIV zones that are the splitted zone. To do so I use the
Droppables and Draggable in conjunction.
The splitter DIV is a Draggable component and I define 2 Droppable zones
for
the splitter DIV (Zone A and B on each side of the splitter)
It works fine
2007 Nov 07
1
draggable with iframeshim for ie6
you all know the problem with select and textbox in ie6 where you need
an iframe under your divs so they will visually be on top. does
scriptaculous have api for iframeshim like yahoo yui does?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send
2005 Jul 01
1
drag problem
Hi - my first post here so first of all can I say how impressed I am
with this library
Now to my first question - I''m simply trying to make a div draggable,
here''s my test page:
http://localhost:85/folio11.co.uk/js_tech_demo/scriptalicious_test.html
what seems to be happening is that the first drag works fine, but on
subsequent drags the div''s initial coordinates
2005 Jun 28
0
New beta of script.aculo.us
...nged effects namespace to Effect. (Effect2 is deprecated,
but works too)
* Added Element.setContentZoom() function
* Added expanded Effect.Highlight ("Yellow Fade Technique") to
have user-defined colors and autodetecting the background color
* Sortable.create passes the zindex, starteffect, reverteffect
and endeffect options to the underlying Draggables
* Sortable.serialize now honors the only option on Sortable.create
* New overridable options on Draggables: zindex, starteffect,
reverteffect, endeffect
* Fix a Gecko engine flicker on Sortables in drag...
2006 May 01
0
RE: Leak in the Autocompleter, with scrollable result-div ?
...;
> > @@ -94,7 +94,7 @@
> >
> > },
> >
> > fixIEOverlapping: function() {
> > - Position.clone(this.update, this.iefix);
> > + Position.clone(this.update, this.iefix,
> > {setTop:(!this.update.style.height)});
> > this.iefix.style.zIndex = 1;
> > this.update.style.zIndex = 2;
> > Element.show(this.iefix);
> > @@ -176,6 +176,13 @@
> >
> > },
> >
> > onBlur: function(event) {
> > + // Dont hide the div on "blur" if the user clicks scrollbar
> > + if(Ele...
2006 Jan 08
0
how-to: Draggable
...d whenever the Draggable is moved by dragging. The called function gets
the Draggable instance as its parameter.
Could anybody please elaborate on how to use this?
Another question: let''s say, I have two draggable divs - how can I make sure
that the dragged div stays at the topmost zindex when finished dragging.
Thank you in advance for your input.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Feb 16
4
cancelling droppable if draggable dropped on different droppable
...window is positioned over my
slideshow window. When I try to drag an image into a new folder and the
folder icon (which is a droppable) is located above the slideshow window
(again a droppable) both dcroppables receive the event.
How can I ensure that the droppable with the greatest zindex receives
the drop first and then how can I ensure that the event is not passed to
the droppable below?
Or alternatively how can I ensure that a droppable is only activated if my dragable is dropped out side of my image manager window?
Many thanks
Rob
--
e: rob-05GizLXov0i9FHfhHBb...
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(
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...ame>');
@@ -102,7 +102,7 @@ Autocompleter.Base = Class.create({
}
if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50);
},
-
+
fixIEOverlapping: function() {
Position.clone(this.update, this.iefix, {setTop:(!this.update.style.height)});
this.iefix.style.zIndex = 1;
@@ -150,15 +150,15 @@ Autocompleter.Base = Class.create({
Event.stop(event);
return;
}
- else
- if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||
+ else
+ if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||...
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