[Proto-Scripty] Re: checked !status in line 1496? (prototype-1.6.1.RC3)

2009-08-18 Thread Ken Snyder
#success() would then be return (status = 200 status 300); With the current state of Prototype, you'll need to manually interpret a success as a failure when the request is HTTP. - Ken On Fri, Jul 17, 2009 at 4:15 AM, T.J. Crowder t...@crowdersoftware.comwrote: Looks like success() returns

[Proto-Scripty] Re: checked !status in line 1496? (prototype-1.6.1.RC3)

2009-08-18 Thread Ken Snyder
yay! On Tue, Aug 18, 2009 at 3:36 PM, Tobie Langel tobie.lan...@gmail.comwrote: An ajax revamp is planned for 2.0. Best, Tobie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

[Proto-Scripty] Re: .getHeight() is not a function

2008-11-27 Thread Ken Snyder
Be sure to extend the previousSibling element: var prev = $(element).previousSibling alert($(prev).getHeight()) - Ken On Thu, Nov 27, 2008 at 8:53 AM, Diodeus [EMAIL PROTECTED] wrote: This code works in IE, bot for FF: var prev = $(element).previousSibling alert(prev.getHeight()) In FF

[Proto-Scripty] Re: Sortable container that copies (dragdrop clone/copy) instead of moves?

2008-11-21 Thread Ken
FYI, I also tried adding an onStartDrag event to the Draggable elements, then doing a Sortable.destroy on the destination, then making the destination Droppable w/ an onDrop event so I could clone the element on the drop and then reactivate Sortable mode. Seemed like a possible workaround, but

[Proto-Scripty] Sortable container that copies (dragdrop clone/copy) instead of moves?

2008-11-20 Thread Ken
if you create your own Draggable/Droppable elements, but it'd be nice to have a Sortable container so that once something is dropped, it can be rearranged. It'd also be able nice to be able to drop it at a specific point and have it land in the right place. thanks, ken

[Proto-Scripty] Re: Creating New Dom elements with Prototype don't display in IE, hmm?

2008-11-18 Thread Ken Snyder
yes, with tables in IE, you have to explicitly attach tr tags to a tbody not a table - Ken Snyder On 11/18/08, Jonathan Rosenberg [EMAIL PROTECTED] wrote: Not much info to go on, but ... are you using tables? If so, did you include tbody, tfoot thead elements? -- Jonathan Rosenberg

[Proto-Scripty] Re: Chrome, Object and each()

2008-11-14 Thread Ken Snyder
See my comments below. - Ken Snyder On Fri, Nov 14, 2008 at 2:17 PM, laurin1 [EMAIL PROTECTED]wrote: I'm sorry. My brain is fried, it works on arrays with simple values, but not arrays with Objects IN them. Mispoke. For instance, in IE and in Chrome, this works fine: $a = new

[Proto-Scripty] Re: delegating the event on document

2008-09-18 Thread Ken Snyder
works. -- david That is correct. The focus event does not bubble. (http://www.sitepoint.com/blogs/2008/07/23/javascript-event-delegation-is-easier-than-you-think/). The article mentions you should not use event delegation for focus, blur, load, unload, or mousemove. - Ken Snyder