[Rails-spinoffs] Bug in Effect.Highlight ?

2005-12-08 Thread Nicolas Terray
Hi All, I've just discover scriptaculous and it is a really good library. Even if I have some difficulties with short syntax in javascript code :/ I have a strange behaviour with Effect.Highlight, and as it's said on bug report page : "It's also a good idea to discuss this on the Mailing List bef

[Rails-spinoffs] What does mean $(element) ?

2005-12-08 Thread Nicolas Terray
Hi All, In scriptaculous scripts, I don't understand this syntaxe : $(element) --8<- Effect.Highlight = Class.create(); Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), { initialize: function(element) { this.element = $(element)

RE: [Rails-spinoffs] What does mean $(element) ?

2005-12-08 Thread Daniel Elmore
Hi Nicolas, $(element) is part of the prototype framework. It's a shortcut for: document.getElementById() http://www.sergiopereira.com/articles/prototype.js.html -Daniel Elmore -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Terray Sent: Thurs

Re: [Rails-spinoffs] What does mean $(element) ?

2005-12-08 Thread Nicolas Terray
On 12/8/05, Daniel Elmore <[EMAIL PROTECTED]> wrote: > Hi Nicolas, > > $(element) is part of the prototype framework. It's a shortcut for: > document.getElementById() > > http://www.sergiopereira.com/articles/prototype.js.html > Thanks a lot for your answer. I thought that it was a syntax for refe

Re: [Rails-spinoffs] What does mean $(element) ?

2005-12-08 Thread Nicolas Terray
> > http://www.sergiopereira.com/articles/prototype.js.html Do you have other great urls like that about prototype in your bookmarks ? Nicolas Terray ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailm

RE: [Rails-spinoffs] What does mean $(element) ?

2005-12-08 Thread Maninder, Singh
For Beginners this one should be fine: http://particletree.com/features/quick-guide-to-prototype/ This won't probably help you too much, but you can take a look: http://blogs.ebusiness-apps.com/jordan/pages/Prototype%20Library%20Info.htm Hope this helps! Thank you, Mandy. ___

Re: [Rails-spinoffs] What does mean $(element) ?

2005-12-08 Thread Cam McVey
Not to mention the Script.aculo.us docs which improve all the time: http://wiki.script.aculo.us/scriptaculous/show/Prototype On 12/8/05, Maninder, Singh <[EMAIL PROTECTED]> wrote: > For Beginners this one should be fine: > http://particletree.com/features/quick-guide-to-prototype/ > > This won't

Re: [Rails-spinoffs] What does mean $(element) ?

2005-12-08 Thread Janko Mivšek
Hi Nicolas, I found mos usefull explanation of prototype.js here: http://www.sergiopereira.com/articles/prototype.js.html. Explanation of $() function is just at the top! Regards Janko Nicolas Terray wrote: http://www.sergiopereira.com/articles/prototype.js.html Do you have other great

Re: [Rails-spinoffs] Choppiness in FF v1.5

2005-12-08 Thread victor jalencas
I only see chopiness on the first slide after dragging elements (only the first show or hide) on FF 1.5 for OSX Victor On 12/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Interesting. I did see some menu expand choppiness > after the first drag (wasn't smooth, but wasn't too > bad), b

RE: [Rails-spinoffs] Prototype.js Hash Methods

2005-12-08 Thread Maninder, Singh
Anyone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Maninder, Singh Sent: Thursday, December 08, 2005 12:49 PM To: rails-spinoffs@lists.rubyonrails.org Subject: [Rails-spinoffs] Prototype.js Hash Methods Hi, Has anyone seen any documentation on the H

[Rails-spinoffs] Uncomplete hiding on Firefox 1.5

2005-12-08 Thread victor jalencas
Hi all, I have observed the following on Firefox 1.5 (both on XP and OSX): My page has some div containers that hold sortable ul. The div's also contain links for showing/hiding the contained ul's. No matter which effect I use to do the hiding and showing (Fade/Appear, SlideUp/Down, BlindUp/Dow

Re: [Rails-spinoffs] Prototype.js Hash Methods

2005-12-08 Thread Andrew Kaspick
Not sure if there are docs anywhere, but all those exxcept inspect make sense to me... 1. keys of the hash 2. values of the hash 3. converts your hash to a query string (just like it says) for use in urls 4. not sure exactly what it's doing without looking at the code 5. should work like the Merge

[Rails-spinoffs] Slider problems in IE6

2005-12-08 Thread Brendan . McKenna
Hi, Sorry to report a bug here, but since the web site (well, just the Wiki part of it) seems to spend more time being unavailable than not, I don't have much choice. I'm using IE version 6.0.2900.2180.xpsp_sp2_gdr.050301-1519. I've developed a small page that uses the sliders

Re: [Rails-spinoffs] InPlaceEditor update of page contents ?

2005-12-08 Thread Francois Beausoleil
Hello John, 2005/12/8, John Butler <[EMAIL PROTECTED]>: > Or you can accomplish the one call my stuffing in extra information > into the response header. This information will be ignored by the > autocomplete and everything else in Prototype and Scriptaculous > (leaving it wide open to play with).

[Rails-spinoffs] Re: Bug in Effect.Highlight ?

2005-12-08 Thread Nicolas Terray
On 12/8/05, Nicolas Terray <[EMAIL PROTECTED]> wrote: > Hi All, > > I've just discover scriptaculous and it is a really good library. Even > if I have some difficulties with short syntax in javascript code :/ > > I have a strange behaviour with Effect.Highlight, and as it's said on > bug report pag

Re: [Rails-spinoffs] Re: Bug in Effect.Highlight ?

2005-12-08 Thread Cam McVey
Looks like the Effect is grabing the color of the element at the moment of the second click. In other words, while the effect is running, the current color of the element is not the 'normal' color nor the 'highlight' color, but whatever it currently is during the first run of the effect. Is that r

Re: [Rails-spinoffs] Addressing a class, rather than an id?

2005-12-08 Thread victor jalencas
Raymond, check out the Behaviour library (http://bennolan.com/behaviour/). It proved very useful to me. Cheers, Victor On 12/7/05, Raymond Brigleb <[EMAIL PROTECTED]> wrote: > Good day, > > I'm trying to use the slider control to resize a pile of images on a > web page. Clever, huh. Bet cha did

[Rails-spinoffs] Element.setOpacity issue in script.aculo.us effects

2005-12-08 Thread Tom Fakes
In the Element.setOpacity method definition in effects.js, there is a line that sets the opacity to 0.99 if the requested opacity is 1.  This is clearly there for a reason, but having a very slight transparency actually makes my pages look bad – images are the worst, but I can see the b