[Rails-spinoffs] [scriptaculous] scroll down to show full auto completion list (w/ possible patch)

2005-12-14 Thread Niels Ganser
Hi everyone, lately I've implemented an auto completion textfield at the bottom of a form. I was a bit bothered by the fact that the user would potentially need to scroll down in order to see all the options offered by the auto completion. I couldn't find any information on how to auto scroll t

RE: [Rails-spinoffs] RE: Prototype 1.4 bug?

2005-12-14 Thread Ryan Gahl
Yes that crashed me too yesterday.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Sent: Wednesday, December 14, 2005 3:57 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] RE: Prototype 1.4 bug?   I'm (sometimes) using IE, and

RE: [Rails-spinoffs] RE: Prototype 1.4 bug?

2005-12-14 Thread Ryan Gahl
IE 6.0   Well that’s odd then… because changing the name of that variable got rid of the error message. So…. I’m wondering if it’s just a case of namespace collision? Maybe some other lib I have is not playing well with prototype or has already defined Hash (even so it should just allow i

Re: [Rails-spinoffs] RE: Prototype 1.4 bug?

2005-12-14 Thread Nicolas
I'm (sometimes) using IE, and prototype seems to work for me.But I have a bug on scriptaculous, SlideDown is crashing my IE (you can try the effect6 functional test).Regards,Nico On 12/14/05, Ryan Gahl <[EMAIL PROTECTED]> wrote: Well the prototype readme's state it's targeting for IE

RE: [Rails-spinoffs] RE: Prototype 1.4 bug?

2005-12-14 Thread Gregory Hill
What version of IE is that?  I’ve never seen that error with the rc versions of prototype, and I’ve tested in IE 5, 5.5, and 6.0.  I checked my source and it has var Hash = {…}; in it.  And I just loaded a page that uses it in IE without an error.  So, I’m guessing that that is not the issu

RE: [Rails-spinoffs] RE: Prototype 1.4 bug?

2005-12-14 Thread Ryan Gahl
Well the prototype readme’s state it’s targeting for IE also.. so this is a bug I think should be fixed.  The next guy might not be able to find the problem as quickly as I did…   Changing the var = Hash part to var = $Hash worked… but I’m wondering if it should be something like the foll

Re: [Rails-spinoffs] RE: Prototype 1.4 bug?

2005-12-14 Thread Michael Zachariassen Krog
I’m guessing most of you are using Firefox though…Yeah!   ...either that or Safari...  :-)___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

RE: [Rails-spinoffs] RE: Prototype 1.4 bug?

2005-12-14 Thread Ryan Gahl
Ok, I traced the problem to actually the next line right after the one I mention… apparently in IE it doesn’t like when you try to assign to the “Hash” variable. “var Hash = {…” was the statement that makes the script throw an error… so for my purposes I think I’m just going to get rid of t

[Rails-spinoffs] RE: Prototype 1.4 bug?

2005-12-14 Thread Ryan Gahl
I think someone on this list just tried replying to my question (below) and tried sending a file called contextmenu.js. My company’s spam filter stripped the file because of the js extenstion. Could whoever sent that try again but try zipping or tarballing the file or removing the js extens

[Rails-spinoffs] Prototype 1.4 bug?

2005-12-14 Thread Ryan Gahl
Hi and greetings to all… I’m new to the community and I have a small problem.   I just downloaded the latest prototype.js lib from the darcs repository.  When I included this file in my HTML page, is get the following error:   Line: 471 Char: 2 Error: Object doesn’t support this actio

Re: [Rails-spinoffs] Form.serialize and Ajax.Request->fileserialization and encoding

2005-12-14 Thread Tarek Ziadé
On 12/14/05, Jonathan <[EMAIL PROTECTED]> wrote: No you can't and you don't want to, it would be a security flaw._javascript_ just can't read files on your computer otherwise any websitecould get all your personal data. Yes right I understand that. an extra piece of software is needed then :'( (ocx

Re: [Rails-spinoffs] Problem stopping default event in Safari

2005-12-14 Thread Rick Olson
On 12/14/05, Jason Hummel <[EMAIL PROTECTED]> wrote: > I'm going crazy here. I'm trying to stop a link from being followed > after it's clicked. It works everywhere except Safari (using v. 2.0.2 > on Tiger) > > > I'm using behavior.js to attach events based on a class or an id: > >

[Rails-spinoffs] Problem stopping default event in Safari

2005-12-14 Thread Jason Hummel
I'm going crazy here. I'm trying to stop a link from being followed after it's clicked. It works everywhere except Safari (using v. 2.0.2 on Tiger) I'm using behavior.js to attach events based on a class or an id: *** function loadData(e) {

Re: [Rails-spinoffs] Form.serialize and Ajax.Request->fileserialization and encoding

2005-12-14 Thread Jonathan
No you can't and you don't want to, it would be a security flaw. Javascript just can't read files on your computer otherwise any website could get all your personal data. Gregory Hill wrote: I’d bet money that they use a hidden iframe. Gmail already uses that to avoid breaking the back butto

Re: [Rails-spinoffs] Form.serialize and Ajax.Request ->fileserialization and encoding

2005-12-14 Thread Tarek Ziadé
On 12/14/05, Paul Shannon <[EMAIL PROTECTED]> wrote: I've not looked into how it's done but adding an attachment in Gmail (UK version) uploads the file without refreshing the window, and http://www.yousendit.com appears to send a file via some sort of RPC or AJAX . Maybe this

RE: [Rails-spinoffs] Form.serialize and Ajax.Request->fileserialization and encoding

2005-12-14 Thread Gregory Hill
I’d bet money that they use a hidden iframe.  Gmail already uses that to avoid breaking the back button, from what I’ve read.  It’s impossible to send multipart form data through XMLHttpRequest, or so everything I read says and my own personal attempts confirm.  There is an IE ActiveX plugi

RE: [Rails-spinoffs] Form.serialize and Ajax.Request ->fileserialization and encoding

2005-12-14 Thread Paul Shannon
I’ve not looked into how it’s done but adding an attachment in Gmail (UK version) uploads the file without refreshing the window, and http://www.yousendit.com appears to send a file via some sort of RPC or AJAX. Maybe this could be another starting point for you.   Paul Shannon Web App

Re: [Rails-spinoffs] Form.serialize and Ajax.Request -> fileserialization and encoding

2005-12-14 Thread Tarek Ziadé
On 12/14/05, Gregory Hill <[EMAIL PROTECTED]> wrote:   1/ I am trying to send a multipart/form-data encoded form through Ajax with    by calling Form.serialize, but it seems that files fields does not support this very well    Is there any special mode to use ?   You cannot se

RE: [Rails-spinoffs] Form.serialize and Ajax.Request -> fileserialization and encoding

2005-12-14 Thread Gregory Hill
  1/ I am trying to send a multipart/form-data encoded form through Ajax with    by calling Form.serialize, but it seems that files fields does not support this very well    Is there any special mode to use ?   You cannot send a file through Ajax.  You’ll have to submit the form norma

[Rails-spinoffs] Jumpiness in effects

2005-12-14 Thread victor jalencas
Hi all, is there any best practices I can follow to avoid jumpiness in the effects I launch? It looks like no matter how careful I am, I never am able to obtain the smooth effects I see on the demo page or on sites like Fluxiom or Exit404 Thanks for any tip Victor -- Victor Jalencas <[EMAIL PRO

[Rails-spinoffs] Re: new classes

2005-12-14 Thread Kaoru Ito
Thank you for your comments and bug reports. Bit by bit, I'm going to fix the bugs and to add some more classes.If you have a good idea about fixing the bugs, please suggest me. thanks,Kaoru ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails