Hi,
Am Freitag, den 11.08.2006, 08:42 -0700 schrieb glui2001:
> What kind of info are you looking for?
I need to know, when the dragging starts and stops, because I have an
onMouseover event bind to the elements of my sortable and having the
onMouseover constantly updating while the item is dragg
Title: Message
I've had my Ajax XML reader working for a week now.
Then I hit a snag late in the game (doesn't work in IE) explained by Dean
Edwards:
http://dean.edwards.name/weblog/2006/04/easy-xml/
Since request.requestXML.documentElement isn't available in
IE, I'm experimenting with u
Well you could always use the include function.
function myFunc(param1) {
if ([2,3,4,5,6].include(param1)) { // is param1 equal to 2, 3, 4, 5 or 6?
the include function is a part of Enumerable.
On 8/10/06, Sam <[EMAIL PROTECTED]> wrote:
Somewhere in a prototype extension library, I notic
Somewhere in a
prototype extension library, I noticed a shorthand (can't find it now) for
testing whether an parameter is in a set of values.
The set was in an
object or an array (don't remember) and resulted in an easy
shorthand.
Maybe something
like:
function myFunc
(parm1) {
if(
Tim,What kind of info are you looking for? onChange gives you the draggable element, which you can save locally to pass onto onUpdate.see http://www.ruby-forum.com/topic/73354#new
georgeOn 8/11/06, Tim Bellinghausen <[EMAIL PROTECTED]> wrote:
Hi *,is there a callback or something else to get notic
On 8/9/06, Daniel Elmore <[EMAIL PROTECTED]> wrote:
[snip]
Scrolling does not work with the autocompleter.
Why doesn't scrolling work? That seems like a trivial bit to add and
the absense seems like more of an oversight than anything else. Was
this decision made purposefully?
-E
Daniel
-
I think you meant " overflow:'visible' " instead of " overflow:'visable' "" overflow:'visible' " works fine over here.On 8/12/06,
Tristan Kelley <[EMAIL PROTECTED]> wrote:
Hi all,I have a toggle function that works fine in Firefox but dies in IE6.The script sets the CSS values of a DIV via Elemen
Hello all,
I'm hoping to use the Ajax.Autocompleter to help users send private
messages to other users on my site. As the user types in the name of
another user, Ajax.Autocompleter steps in and offers a few relevant
options to help them along. Once they find the right one,
Scriptaculous makes it
And the little more elegant, prototypish way ;)Object.extend(Array.prototype, { unique: function() { return this.inject([], function(array, value) { if (!array.include(value)) array.push
(value); return array; }); }});_$$_old = $$;function $$() {return _$$_
>
> Looks like a bug to me, Brian.
I gave two examples of css selectors which ensure that the same node
wouldn't be returned more than once. Seemed more productive than declaring
the software broken.
Sam
___
Rails-spinoffs mailing list
Rails-spino
woops, mixed up your names, sorry :)
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Hey Sam, Seth,thank you both for your replies.Seth:Now I see why $$('#tree .node .nodeChildren')
returns duplicates, and it looks like $$('#tree > .node > .nodeChildren') doesn't work ($$
probably doesn't support direct decendents yet, it returns and empty array).$$('
.nodeChildren') wouldn't wor
Hi,
I would like stop Drag'n'Drop on event "onmouseup", how do it?
thanks for attention,
Leonardo
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
On 8/13/06, Sam wrote:
The node id node_3_children satisfies the criteria $('#tree .node
.nodeChildren') once for nodeID node_1, and once again for nodeID node_3.
The problem here is #tree .node .nodeChildren allows any number of elements
to appear between these attributes: e.g., there may be 3
Funny... I don't know if you are not understanding me, or
if I am not understanding you...
I just reviewed your graphic, and I see at the bottom, the
output of $$ which exactly describes what I posted below. Maybe I wasn't
clear, and I apologies in advance that I'm about to write further o
On Aug 12, 2006, at 9:34 PM, Tristan Kelley wrote:
if (parentHeight < 100) { Element.setStyle(tog.parentNode,
{height:'auto',overflow:'visable'}); }
^^^
}
Any ideas?
Try "visible". Note spelling:-)
--Al Evans--
16 matches
Mail list logo