[Rails-spinoffs] problem with xul/prototype experiment: "bind" method not found

2006-01-28 Thread Steve Conover
Hi everyone, I was playing around with xul + prototype, and everything seemed to be going well until I ran into a wall - there seems to be some problem I can't explain with Function.prototype.bind, for instance when I run this code: try { new Ajax.Request("h

[Rails-spinoffs] How to fire event listener after site update by Ajax Updater?

2006-01-28 Thread Grzesiek Slusarek
Hi all. I have site that is updated by Ajax updater. After site is update i want to use some javascript code and I don't want use javascript onClick. I try to use some event listener but I don't know how to fire them. What is the event when some part of site is update by ajax? Thanks for any he

Re: [Rails-spinoffs] How to cancel Ajax.Request?

2006-01-28 Thread Ian Tyndall
Siegfried Puchbauer wrote: request.transport.abort(); hth Sigi 2006/1/28, Ian Tyndall <[EMAIL PROTECTED] >: Is there any way to cancel or stop an Ajax.Request that has not been completed? ___ Rails-spinoff

Re: [Rails-spinoffs] Unspecified error in prototype.js

2006-01-28 Thread Siegfried Puchbauer
I had a similar problem with object.offsetParent when it was undefined or null in internetexplorer... i was not able to find the root of the problem ... i put it in to a try {}catch block so the error is not shown up in ie hth2006/1/28, Jerod Venema <[EMAIL PROTECTED]>: Holy crap...can't help

Re: [Rails-spinoffs] Unspecified error in prototype.js

2006-01-28 Thread Jerod Venema
Holy crap...can't help much with your problem, but thats the nicest-format email I've ever seen... :)-JerodOn 1/28/06, Varun Mehta < [EMAIL PROTECTED]> wrote: Hi,   I have 2 panes, each having approximately 45-50 slides, all the slide images are 110x82 pixels in size, enc

Re: [Rails-spinoffs] Help with multiple actions

2006-01-28 Thread Jerod Venema
Don't know much about RoR, but as far as the effects go, you'll have to create a "wrapper" function that adds both the effects in one. If you don't have that, you'll always just overwrite your previous "before" function each time you call it. The _javascript_ should end up like so...before: functio

[Rails-spinoffs] Unspecified error in prototype.js

2006-01-28 Thread Varun Mehta
Hi,   I have 2 panes, each having approximately 45-50 slides, all the slide images are 110x82 pixels in size, enclosed in their respective div’s. These divs are further enclosed in a parent div, which is defined as a Sortable on page load. There is a destinat

Re: [Rails-spinoffs] Ajax.InPlaceEditor onSuccess: ???

2006-01-28 Thread Nicolas
I'm using : "if (!transport) return;" at the beginning of onComplete.It does the trick.Regards,NicoOn 1/26/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:I'm looking for onSuccess: in Ajax.InPlaceEditor, but it doesn'tappear to exist. onComplete isn't what I need because I only want mycallback