Hi,
As some background, under Moz, Prototype adds to Element.prototype (I think
this is correct, I haven't checked the source) the methods become available on
every Element. On IE, Prototype can't extend Element.prototype so it wraps the
element instead.
This gets more complicated when you ar
why not call it with "top" or "parent"
top.function.. works fine in vanilla JS so i dont see why it wont work
in prototype
- Original Message -
From: "Jim Higson"
To: "Prototype & script.aculo.us"
Sent: Tuesday, June 09, 2009 9:49 AM
Subject: [Proto-Scripty] Copying Prototy
Hi guys,
While hacking draggables to add a new revert feature (which works
exactly like the opposite of revert: failure) I was wondering if, when
a revert option is set for a draggable, the onEnd event should be
triggered or not ...
I may understand the revert option in a different way than expe
AFternoon guys/gals
http://pastie.org/505747
Some weird behaviour in internet explorer .
The code in the link above works in all browsers except Internet
explorer . It was working untill earlier today and i am now not
sure why... i have reverted any changes back to what they were when i
Hi,
How can you specify the z-index for a sortable list so that the first
list element is the highest number and the last list element is the
lowest. I would also like the z-index to resort itself as the user
resorts the list items. So if the bottom list element is moved to the
top, it's z-index
Hi Maya,
I'm think you can't do that because scriptaculous manage the z-index
property so while dragging the dragged element is always on top and is
forced to a specific z-index (equal to 1000).
Otherwise, you'll have to manually set the z-index property yourself.
take care, this property is onl
Hi Alex,
If the code WAS working, the error could be on the received JSON ?
One though, IE don't like misplaced comma on JSON. For exemple, last
element of an array that is followed by a comma don't work on IE.
--
david
On 9 juin, 16:31, Jeztah wrote:
> AFternoon guys/gals
>
> http://pastie.
Hi Gil,
The onEnd event is used to signify the end of the dragg.
So it is fired at the end of dragg, then the revert take place and
move element to its original position.
here is a small test base on droppable test. I just add the onEnd
callback to the draggable, and you will see when it will be
On Jun 10, 7:09 am, david wrote:
> Hi Alex,
>
> If the code WAS working, the error could be on the received JSON ?
> One though, IE don't like misplaced comma on JSON. For exemple, last
> element of an array that is followed by a comma don't work on IE.
What do "don't like" and "don't work" m
The JSON returned is ok - this was the first thng i checked
Here is the returned JSON..
{"Error":"No","ErrorMessage":"None","Refresh":"1"}
As you can see from that and the code i pastebinned there is no trailing
comma anywhere.. and it -was- working perfectly fine then just stopped !!
Thi
10 matches
Mail list logo