Re: [Rails-spinoffs] Parsing Querystring

2006-08-14 Thread Eric Harrison
No problem. Seth mentioned in a followup post that it needed to be a 'recentish' version of prototype, but I just checked 1.4 provided on http://prototype.conio.net and found it there as well. Anyone using anything less than 1.4 deserves the pain of that choice... ;) Just out of curiousity Sam, I

Re: [Rails-spinoffs] Autocompleter

2006-08-13 Thread Eric Harrison
On 8/9/06, Daniel Elmore <[EMAIL PROTECTED]> wrote: [snip] Scrolling does not work with the autocompleter. Why doesn't scrolling work? That seems like a trivial bit to add and the absense seems like more of an oversight than anything else. Was this decision made purposefully? -E Daniel -

Re: [Rails-spinoffs] Parsing Querystring

2006-08-12 Thread Eric Harrison
There is one such function exactly: String.toQueryParams() var url = 'http://test.com/?this=test&perfect=true'; var params = url.toQueryParams(); /* params = { this: 'test', perfect: 'true' }; */ Is that what you're looking for? -E On 8/11/06, Sam <[EMAIL PROTECTED]> wrote: Is the

Re: [Rails-spinoffs] how to capture event of right mouse click

2006-08-01 Thread Eric Harrison
Try adding this to your copy of prototype.js. It'll do what you want. isRightClick: function(event) { return (((event.which) && (event.which == 3)) || ((event.button) && (event.button == 2))); }, Enjoy. -E On 8/1/06, Grzesiek Slusarek <[EMAIL PROTECTED]> wrote: