Re: [Rails-spinoffs] newbie question

2006-08-09 Thread Jerod Venema
Check the Responders class... http://www.sergiopereira.com/articles/prototype.js.html#Ajax.Responders You can register your callback function to hide the div there. -Jerod On 8/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I'm new to the forum and I have what I assume will be a basic qu

Re: [Rails-spinoffs] requestHeaders: ['cache-control', 'no-cache', 'pragma', 'no-cache'],

2006-08-09 Thread Ryan Gahl
...oops, this should be obvious, but replace the ? with a "&c=" (or something) if your url already contains other parameters... you'll figure that part out I'm sure...On 8/9/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: One sure fire way to prevent caching is to include a cache buster in your request U

[Rails-spinoffs] iTunes music store slide effect

2006-08-09 Thread Whitcraft, Jon
Hello,   I’m wondering if anyone has done an effect simmular to the iTunes music store effect for that they use for new Releases and such.   Thanks,   Jon Whitcraft Indianapolis Motor Speedway [EMAIL PROTECTED] Phone: (317) 492-8623 :: Fax: (317) 492-64

[Rails-spinoffs] Position.cumulativeOffset issues?

2006-08-09 Thread Brandon Aaron
I have been working on a project that involves a lot of front-end functionality and I noticed that Position.cumulativeOffset was not as accurate as I had expected/needed. I also needed some more options and I just didn't really like having to type Position.cumulativeOffset all the time. I wanted t

[Rails-spinoffs] requestHeaders: ['cache-control', 'no-cache', 'pragma', 'no-cache'],

2006-08-09 Thread Sam
Ajax.Request    ... does   requestHeaders: ['cache-control','no-cache','pragma','no-cache'], apply to both GET and PUT operations?   Can I ensure a page I retrieve will not be cached by the browser using Ajax.Request, GET?   Sam   ___ Rails-spinoff

Re: [Rails-spinoffs] Problem with prototype Event class and IE

2006-08-09 Thread Tim Bellinghausen
Hi, Am Mittwoch, den 09.08.2006, 09:09 -0600 schrieb Tom Gregory: > 2. Use Prototype's bindAsEventListener function, which ensures the > event object is always passed to the handler. that's it. Thanks, now everything works fine. I found a workaround myself, but it requires patching prototype, s

[Rails-spinoffs] Dynamically update an Ajax.Autocompleter target URL

2006-08-09 Thread Frédéric JECKER
Hello, To perform an autocompletion request on my form I have to submit an additional parameter (that can be changed by the user) to the servlet that will handle the user data. Each time the user changes the parameter's value (through an html select item) a javascript function rebuilds the aut

RE: [Rails-spinoffs] Timing things with Effects

2006-08-09 Thread Bauser, Joseph (Joe)
I believe all of the scriptaculous effects have an afterFinish callback. I'd suggest using that instead of a timeout. More info here: http://wiki.script.aculo.us/scriptaculous/show/CoreEffects Cheers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel E

[Rails-spinoffs] Timing things with Effects

2006-08-09 Thread Daniel Elmore
If an effect is set to take 2 seconds to run and I want to execute a function after it's finished, should I just use a setTimeout call? Or is there a better way? I know about the Effects queue, but it appears that only works for calling other Effects. Thank you! Daniel __

RE: [Rails-spinoffs] Autocompleter

2006-08-09 Thread TLADAMSO
That's what I was afraid of. I have made some css adjustments and the results div does look nice, but I can get back enough results to make the entire page scroll, so I thought it would be nice to shorten the results up a bit. Oh well, still awesome functionality for one line of code :-) |

RE: [Rails-spinoffs] Autocompleter

2006-08-09 Thread Daniel Elmore
You can set the height with CSS using the ID you assigned to the results div. But it's usually better to not set a height so that all records returned will be seen. You should specify a height for each of the records inside the results div, but not on the results div itself. Scrolling does not work