[Proto-Scripty] Re: Newbee question : Compatibility with javascript 1.5

2009-07-31 Thread Christophe Decaux
That's right, it's device app dev. The device is a Cisco DMP 4300 series Does anyone knows what are the minimum browser requirements to run Prototype and Scriptaculous Christophe Le 30 juil. 09 à 22:40, Rick Waldron a écrit : > That sounds like fun... i like device app development. Can you tell

[Proto-Scripty] Re: Newbee question : Compatibility with javascript 1.5

2009-07-31 Thread Christophe Decaux
won't > be niggles, but... > > Bottom line is that it's unlikely to "just work," but I suspect most > of what you'll hit will be manageable. The joy is you have the > source, and the license is not forbidding. > > [1] http://en.wikipedia.org/wiki

[Proto-Scripty] Re: prototype code to load images?

2009-09-16 Thread Christophe Decaux
Zion, I think the following code should help you, I found it sometime ago it is based on this page : http://www.webreference.com/programming/javascript/gr/column3/ Basically, you need to have - an array with url's for your big images such as picSrc[0] = 'images/ big1.jpg'; picSrc[1] =

[Proto-Scripty] Re: Question about onmouseover, onmouseout and onclick

2009-10-14 Thread Christophe Decaux
I don't know anything what elegant means, but this would be my way to do it. I'm your onclick handler, set a flag such as menuIsClicked to true and in your onMouseOut handler, test that flag before hiding the image. On to the pros for the ellegant solution. Christophe Le 14 oct. 2009 à 18:4

Re: [Proto-Scripty] this and setTimeout in Prototype-based class

2009-12-04 Thread Christophe Decaux
Hi there, IMHO, Ajax wouldn't help as the real timing issue is around the image load which I don't think is predictable. So, why don't you use a image preload mechanism such as the one I use in a slightly different way. I display a waiting message, preload the pic and then hide the waiting mes

Re: [Proto-Scripty] How to queue Multiple effects?

2009-12-04 Thread Christophe Decaux
What about using afterFInish instead of a queue ? I know, it's not very nice... new Effect.multiple([this._view.prevButton, this._view.nextButton, this._view.hideButton], Effect.Opacity, {from: 0, to: 1, duration: 2,afterFinish:function(){ new Effect.multiple([this._view.

Re: [Proto-Scripty] Need immediate help closing one blind when another opens

2009-12-23 Thread Christophe Decaux
I'm not a programmer either, but here's how I would solve your problem I assume that you have some function that does the "show info" stuff and that function is called whenever a click is made. So I would store in a global variable the name of the element that is "opened" But before you store thi

Re: [Proto-Scripty] "PLease Wait" or "Loading" message

2010-02-10 Thread Christophe Decaux
I would use onCreate to show an element displaying your "please wait" message (or a graphical spinner, etc.) and use onComplete to hide it Enjoy, Christophe Le 10 févr. 2010 à 15:20, bill a écrit : > I have an application that uses Ajax.updater. As it runs over the internet > sometimes the

Re: [Proto-Scripty] Effect.Fade/Effect.Appear

2010-03-19 Thread Christophe Decaux
I haven't look thoroughly at your issue, but seems to me that you have to queue those two effects. Otherwise, they try to happen together. I ran a while ago into the same issue. When you lauch an effect, javascript doesn't wait for it. Remaining code is executed immediately. So either you look at

Re: [Proto-Scripty] Effect.Fade/Effect.Appear

2010-03-19 Thread Christophe Decaux
e... otherwise, nothing showed up. > Now all I have to do is generalize the buttons to use this... merci boucoups. > bernard > > On 3/19/2010 9:20 AM, Christophe Decaux wrote: >> >> I haven't look thoroughly at your issue, but seems to me that you have to >> queue

Re: [Proto-Scripty] Remove script from view

2010-04-07 Thread Christophe Decaux
First, this group doesn't know much about Rails, so you won't get any advice on how to move some code to application.js But, I believe your issue can be easily solve with a little help from the queue mechanism. Check Effect Queues - scriptaculous - GitHub So you might end up with a slightly mod

Re: [Proto-Scripty] floating div

2010-04-08 Thread Christophe Decaux
You have to learn about position:absolute css style. It will solve your issue. Le 7 avr. 2010 à 20:37, Martín Marqués a écrit : OK, I know this isn't strictly prototype, but I'll through it here. I have a div with id divsubmit which has an animated gif used when prototype is waiting for a

Re: [Proto-Scripty] Re: enumerate hash

2010-04-12 Thread Christophe Decaux
If I understand well, what you're asking for is pretty close to what you suggested in your original post: hashToBeTested.each(function(pair){ if(valueToTest==pair.value){ hashToBeTested.unset(pair.key); } } Christophe Le 10 avr. 2010 à 12:36, chrysanthe m a écrit : > Hi, again > Sorry

Re: [Proto-Scripty] Re: enumerate hash

2010-04-14 Thread Christophe Decaux
> Thanks, but is there anything more to the syntax. Also how do you use that > optional context parameter with this within the loop and for what enhanced > value/processing does it give you? > > On Mon, Apr 12, 2010 at 4:59 AM, Christophe Decaux > wrote: > If I understand wel

Re: [Proto-Scripty] Prototype old documentation

2012-12-03 Thread Christophe Decaux
I believe that what you are looking for is here: http://prototypejs.org/doc/1.6.0/ Hope this helps Christophe Le 30 nov. 2012 à 18:20, protobook a écrit : > This suddenly seems to have disappeared. It used to be at > http://www.prototypejs.org/api > > I still look at it occasionally because

Re: [Proto-Scripty] Where is the Ajax.Request options documentation?

2016-07-11 Thread Christophe Decaux
Hi there, Just click on the « Ajax section » header in the left column (the black one). That will link you to : http://prototypejs.org/doc/latest/ajax/ In there, you’ll find what you’re looking for… Ajax options All Ajax classes share a common set of