[Proto-Scripty] Copying Prototype into an iframe

2009-06-09 Thread Jim Higson
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

[Proto-Scripty] Re: Copying Prototype into an iframe

2009-06-09 Thread Alex McAuley
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 j...@wikizzle.org To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, June 09, 2009

[Proto-Scripty] Should onEnd be triggered if revert != false ?

2009-06-09 Thread Gil
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

[Proto-Scripty] Bizzarre goings on

2009-06-09 Thread Jeztah
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

[Proto-Scripty] z-index sortable list

2009-06-09 Thread Maya
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

[Proto-Scripty] Re: z-index sortable list

2009-06-09 Thread david
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

[Proto-Scripty] Re: Bizzarre goings on

2009-06-09 Thread david
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 webmas...@thecarmarketplace.com wrote:

[Proto-Scripty] Re: Should onEnd be triggered if revert != false ?

2009-06-09 Thread david
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

[Proto-Scripty] Re: Bizzarre goings on

2009-06-09 Thread RobG
On Jun 10, 7:09 am, david david.brill...@gmail.com 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