Re: [Proto-Scripty] can Request be used to track navigation clicks asynchronously?

2010-02-16 Thread DJ Mangus
Don't see why not though it'd slow down the user experience a bit (not necessarily a good thing). Have the onclick block, send data to server, server responds, then in the Ajax callback send user to the destination via window.location Note: I haven't done this, it's just an off the top of my

Re: [Proto-Scripty] Re: IE8

2010-02-16 Thread bill
On 2/15/2010 3:33 AM, gwyohm wrote: hi, why not using prototype cross-browser document.viewport methods ? document.viewport.getHeight() simple answer: still learning. I very much appreciate the suggestion ! -- Bill Drescher william {at} TechServSys {dot} com -- You received this message

Re: [Proto-Scripty] can Request be used to track navigation clicks asynchronously?

2010-02-16 Thread Jeff C
@DJ Mangus: That would have been my simple solution too. Capture the click event, do my ajax mojo, and then forward them. But like you mentioned, it will most likely affect the user experience. @manfmnantucket: Have you ever thought about using google analytics? It offers the generic visitor info

[Proto-Scripty] Calling servlet

2010-02-16 Thread albert kao
Is there a Prototype function to call servlet? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to

Re: [Proto-Scripty] Scope problem with prototype

2010-02-16 Thread John Mayer
If you only want the child elements for a particular element, use this: div id=whatever ol li a href=#/a /li /ol /div Use this: $$('#whatever ol') .then, just use whatever enumerable you need to cycle through them. On the flip-side, you

Re: [Proto-Scripty] Calling servlet

2010-02-16 Thread John Mayer
Did you try this? http://www.prototypejs.org/api/ajax/request On Tue, Feb 16, 2010 at 10:23 AM, albert kao albertk...@gmail.com wrote: Is there a Prototype function to call servlet? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

Re: [Proto-Scripty] Ajax Updater running from a DVD under IE8

2010-02-16 Thread Walter Lee Davis
Sorry to bump this so soon, but my client is getting itchy. Has anyone seen anything like this, where an Ajax Updater will not run in a local file context under IE8? No errors on screen, but no updated content, either. I've updated to 1.6.1, moved my call to the updater from a

RE: [Proto-Scripty] Ajax Updater running from a DVD under IE8

2010-02-16 Thread Rick . Wellman
Um, maybe I'm whack, but... Doesn't an AJAX request need an HTTP server? Am I correct in understanding that you are just trying to distribute files/static content? -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On

Re: [Proto-Scripty] Ajax Updater running from a DVD under IE8

2010-02-16 Thread Walter Lee Davis
I'm doing a GET request using Ajax.Updater, and as far as I know, GET will work without a server. I use it all the time to test form layouts in a browser on my local computer. I have a random quotation that loads into a DIV on the home page (you can see it here:

Re: [Proto-Scripty] Ajax Updater running from a DVD under IE8

2010-02-16 Thread Walter Lee Davis
I have a cut-down example for anyone who has a moment to test. The linked zip contains these files: _1.html _2.html _3.html _4.html _5.html _6.html _7.html _8.html _9.html index.html prototype.js http://scripty.walterdavisstudio.com/local_ajax.zip The page works fine under Safari or Chrome

Re: [Proto-Scripty] can Request be used to track navigation clicks asynchronously?

2010-02-16 Thread Mark Palmer
Thanks for the thoughtful suggestions... @djmangus - I already have this working synchronously, but I'm trying to do a/b testing on things like pricing and conversion rates, and the extra delay does affect abandonment rates, especially over slow/dialup connections. Jeff C - I've looked at

[Proto-Scripty] Re: Ajax Updater running from a DVD under IE8

2010-02-16 Thread gwyohm
hi walter, this seem to be a known issue on rails trac. http://dev.rubyonrails.org/ticket/8259 It only happens on file:/// protocol when native XmlHttpRequest is used which is as a matter of fact default configuration. to work around this issue, you might want to patch your prototype.js file in

[Proto-Scripty] Master reset

2010-02-16 Thread Aimee79
I am using the BlindDown effect on a page to display multiple archived web polls. Is there anyway to I can us a master reset link instead of creating a reset link for each effect div? Thanks, Aimee -- You received this message because you are subscribed to the Google Groups Prototype