Re: [Rails-spinoffs] Tooltips.js

2006-01-24 Thread Matthias Platzer
Hi Claudio, looks interesting. i think both libs have their advantages. would you be interested to pick the best of both and merge them? i would. some comments on yours: i extracted positioning from the Tooltip "Class" to be more flexible, but probably some positioning code should stay there.

Re: [Rails-spinoffs] autocomplete=off not working on Firefox

2006-01-24 Thread Bill Moseley
Can anyone confirm or deny this? Or not confirm or deny it? On Mon, Jan 23, 2006 at 02:34:09PM -0800, Bill Moseley wrote: > I noticed that the latest control.js disables auto complete: > > this.element.setAttribute('autocomplete','off'); > > So I removed my inline "autocomplete='off'" from

[Rails-spinoffs] Enumerable

2006-01-24 Thread troels knak-nielsen
Hi and sorry if this has already been discussed. I'm new on theese lists, and I couldn't find a way to search through them. I have been looking at the sources of script.aculo.us and I'm rather impressed by the Enumerable class. What I don't get is why you choose to extend Array.prototype with this

Re: [Rails-spinoffs] Transition between effects

2006-01-24 Thread Abdur-Rahman Advany
Well, I have made a lot of progress, however I have problems doing the transition between effects, I REALLY need some help with this. The diff is on http://www.railsdevelopment.com/code/pair.diff ... I think we need to do some put all setup that modifies the dom object to aftersetup (and only ca

RE: [Rails-spinoffs] Scriptaculous and Photo Flipper a la TagWorld?

2006-01-24 Thread Gregory Hill
Well, I’m working on a scriptaculous-based slideshow object right now.  Since you can set custom effects to be used to show/hide the photos, and you can set the delay between swapping photos, I would think something like that would be possible.  I’m hoping to have some code to share this we

RE: [Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Gregory Hill
> > Ummm... I'm not sure if this is the "correct way". It may be the > normal > > way for > > some languages/frameworks (PHP?), but it's not standard. Java, C and > Perl > > (just > > a few off the top of my head) don't do it that the square-bracket way. > > Well, you may be right, but I do rememb

[Rails-spinoffs] Scriptaculous and Photo Flipper a la TagWorld?

2006-01-24 Thread Richard Tallent
I saw a Flash-based photo-flipper on TagWorld (http://www.tagworld.com/thepostalservice) and thought it would be nice to do something similar in Scripaculous. Anyone interested in taking a shot at it? Since rotation isn't supported in CSS, what I would imagine would be a z-ordered "stack" of DIVs,

RE: [Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Gregory Hill
> Ummm... I'm not sure if this is the "correct way". It may be the normal > way for > some languages/frameworks (PHP?), but it's not standard. Java, C and Perl > (just > a few off the top of my head) don't do it that the square-bracket way. Well, you may be right, but I do remember reading it some

Re: [Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Michael Peters
Gregory Hill wrote: > No, that is just normal URL encoding %5b%5d is [], indicating that the > argument should be treated as an array. I know that many systems will > also create an array from the argument name if it simply passed more > than once in the argument list. I.E. > secondlist=1,secon

Re: [Rails-spinoffs] Tooltips.js

2006-01-24 Thread Claudio Gamboa
Hi i wrote that lib too in the last weekend, but only today see your email download it here: http://www.pdvel.com/stuff/js/tooltip/tooltip.js you can view and test the demo at: http://www.pdvel.com/stuff/js/tooltip/ On Mon, 2006-01-23 at 18:23 +0100, Matthias Platzer wrote: > Hi, > > th

RE: [Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Gregory Hill
No, that is just normal URL encoding %5b%5d is [], indicating that the argument should be treated as an array. I know that many systems will also create an array from the argument name if it simply passed more than once in the argument list. I.E. secondlist=1,secondlist=2,secondlist=3 would creat

Re: [Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Maximilian Gärber
Hi Gregory, thanks for figuring it out! Another thing is, Sortable.serialize() returns following string: Recieved Ajax Request: Ajax=true&secondlist%5b%5d=1&secondlist%5b%5d=2&secondlist%5b%5d=3&secondlist%5b%5d=5&secondlist%5b%5d=4&_= Seems strange to me (some sort of Base64 encoding?), do

[Rails-spinoffs] Safari problems w/ Effect.Appear and other effects

2006-01-24 Thread Ian Tyndall
Prototype version: 1.4.0 Effects version: 1.51 I've recently been working alot with Scriptaculous and Prototype and I've got some good looking results in FF and IE. However, Safari is killing me! I would love for someone to look at this, and tell me if its my design or the libraries. One e

RE: [Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Gregory Hill
Oops, 1 typo in there: > node.id = 'item_' + (node.childNodes.length + 1); node.childNodes.length should be $('secondlist').childNodes.length Greg ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org

RE: [Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Gregory Hill
> > and then I add dynamically further elements and create a Sortable > > but the onUpdate only fires for items that have not been created > > via Javascript. > > > > I wonder if that's the same issue I'm having. My elements were created > via javascript and I cannot get the onUpdate to fire a

RE: [Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Gregory Hill
> and then I add dynamically further elements and create a Sortable > but the onUpdate only fires for items that have not been created > via Javascript. > I wonder if that's the same issue I'm having. My elements were created via javascript and I cannot get the onUpdate to fire at all. At lea

[Rails-spinoffs] In Place Editor help

2006-01-24 Thread Jamie Orchard-Hays
Can anyone suggest a way to tell the InPlaceEditor not to break my text up into multiple lines with new lines in them? It's breaking the text up around 72 columns, but I don't see a way from the documentation to prevent this. Thanks, Jamie ___ Ra

[Rails-spinoffs] scriptaculous sortable

2006-01-24 Thread Maximilian Gärber
Hi, maybe I am using this the wrong way but I have a list as follows bla bla bla bla and then I add dynamically further elements and create a Sortable but the onUpdate only fires for items that have not been created via Javascript. Any clues? //