Re: [Proto-Scripty] Problem with link after Effect.Appear

2010-09-15 Thread Johan Arensman
I'm not totally sure what you're trying to do but perhaps you can use scrollTo() to scroll to the specified element? http://api.prototypejs.org/dom/element/scrollto/ You'll have to use id instead of name (which is the correct way of using anchors). Greetings, Johan On Tue, Sep 14, 2010 at 1:26

[Proto-Scripty] Re: Observer mouseleave does not work how I expect

2010-09-15 Thread ColinFine
On Sep 14, 6:21 am, ncubica wrote: > Hi... I have a list with 3 observers click, > mouseover, mouseleave, the problem is when I tried to observer the > mouseleave event throw the object doing something like > >         $(this.id).observe("mouseleave", function(event){ >            var li = eve

[Proto-Scripty] Chrome 5 refused to get unsafe header xjson

2010-09-15 Thread nigeke...@googlemail.com
I have the following request in my app. It works fine in Safari 5. new Ajax.Request('http://x.x.x.x:3000/posts.js', { method:'get', requestHeaders: {Accept: 'application/json'}, onSuccess: function(transport){ var response = transport

Re: [Proto-Scripty] Re: Observer mouseleave does not work how I expect

2010-09-15 Thread Walter Lee Davis
On Sep 15, 2010, at 5:46 AM, ColinFine wrote: On Sep 14, 6:21 am, ncubica wrote: Hi... I have a list with 3 observers click, mouseover, mouseleave, the problem is when I tried to observer the mouseleave event throw the object doing something like $(this.id).observe("mouseleave",

Re: [Proto-Scripty] Chrome 5 refused to get unsafe header xjson

2010-09-15 Thread Richard Quadling
On 15 September 2010 12:28, nigeke...@googlemail.com wrote: > I have the following request in my app. It works fine in Safari 5. > > new Ajax.Request('http://x.x.x.x:3000/posts.js', >        { >            method:'get', >            requestHeaders: {Accept: 'application/json'}, >            onSucc

[Proto-Scripty] Re: Chrome 5 refused to get unsafe header xjson

2010-09-15 Thread nigeke...@googlemail.com
Thanks for response Richard. Not sure exactly what you mean. The response from the server when I key in the url directly to chrome is a json array/hash of previously entered data: [{"post": {"device":"palm","location":"dublin","created_at":"2010-09-09T06:03:58Z","updated_at":"2010-09-09T06:03:58Z

Re: [Proto-Scripty] Re: Chrome 5 refused to get unsafe header xjson

2010-09-15 Thread Richard Quadling
On 15 September 2010 16:17, nigeke...@googlemail.com wrote: > Thanks for response Richard. Not sure exactly what you mean. > > The response from the server when I key in the url directly to chrome > is a json array/hash of previously entered data: > > [{"post": > {"device":"palm","location":"dubli

[Proto-Scripty] Protoype technique? Fire a function and get a call back?

2010-09-15 Thread BrentNicholas
This has to have been solved before or I'm just not thinking about this right. To start, I'm using version 1.6.1. In short I'm looking to fire off a function after another has completed. (onComplete equvilent) I'll show what I've got so far to better illustraight what I'm trying to do. 1) I reg

[Proto-Scripty] Custom events on disabled inputs not working (IE and FF only)

2010-09-15 Thread brian
Hi Gurus, Custom events on *disabled* inputs don't seem to work on IE 8, IE 9 preview, and FF 3.6.9. I've tested both Prototype 1.6 and 1.7 rc2. They work fine on Chrome and Safari so I don't think the behavior is by design. Is this a prototype bug to be fixed? The following is a simple test pag

[Proto-Scripty] Re: Protoype technique? Fire a function and get a call back?

2010-09-15 Thread T.J. Crowder
Hi, What you're looking for would need to be a feature of the "lightwindow" library you're using; it's not a Prototype thing. Basically, how "lightwindows" or lightboxes in general work is to absolutely position elements above the main content of your page (optionally dimming your page through a p