[Rails-spinoffs] pause

2006-07-11 Thread Nicolas, Internethic
fy it ... The best would be to use a callback afterFinish to set up a pause, or may be create an Effect which do nothing during the duration specified in option. How would you do this ? Sorry for the bad English, Nicolas ___ Rails-spinoffs mailing

Re: [Rails-spinoffs] [OT] Of the good use of var

2006-07-04 Thread Nicolas Terray
On 7/4/06, Alexander Presber <[EMAIL PROTECTED]> wrote: For the scoping issue you might want to read this: http://www.iamcal.com/publish/articles/js/scoping/ Cheers, Alex Many, many thanks 8) Nicolas ___ Rails-spinoffs mailing list Rails-sp

Re: [Rails-spinoffs] [OT] Of the good use of var

2006-07-04 Thread Nicolas Terray
after all. It seems that I'm using bad keywords for google because I'm not able to find a useful tutorial on this specific point. Nevertheless you've answered the question ! cheers, Alex Thanks, Nicolas Terray ___ Rails-spino

Re: [Rails-spinoffs] [OT] Of the good use of var

2006-07-04 Thread Nicolas Terray
On 7/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I don't knowMaybe you should learn how to program in javascript in general.. http://javascriptkit.com/javatutors/index.shtml lol. Thanks for the suggestion. However I have built successfully some application with huge use of javascript/

Re: [Rails-spinoffs] [OT] Of the good use of var

2006-07-04 Thread Nicolas Terray
8< What is the scope of the inner v ? For global variables should I use the inner var ? should I use v directly ? should I use window[] syntax ? Thanks, Nicolas Terray ___ Rails-spinoffs mailing list Rails-spinoffs

[Rails-spinoffs] [OT] Of the good use of var

2006-07-04 Thread Nicolas Terray
ork) in some version of IE6. I thought that this keyword was not mandatory but now I doubt. Any help or pointers on the subject will be more than welcome. Thanks, Nicolas Terray ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http:/

Re: [Rails-spinoffs] PNG and Alpha-Transparency

2006-06-19 Thread Nicolas Terray
I've used /IE7/ in the past to work with transparency. However it is not the prototype way. http://dean.edwards.name/IE7/ On 6/19/06, Sam <[EMAIL PROTECTED]> wrote: Is there a prototype / extension which will assist in cross-browser support of PNG images? http://www.alistapart.com/articles/pn

Re: [Rails-spinoffs] Scriptaculous + Drag n Drop + "Boxes" Portal Layout

2006-06-07 Thread Nicolas
Try this (rename to zip)On 6/6/06, Jean-Philippe Encausse <[EMAIL PROTECTED]> wrote: Hi,I've already played with scriptaculous DragNDrop for small fields or objectsbut I never did that for larger "boxes" like portal portlet.Does anybody know a tutorial or sample or explaination about how to Drag n

Re: [Rails-spinoffs] enumerables problem?

2006-05-24 Thread Nicolas Terray
On 5/24/06, Marco M. Jaeger <[EMAIL PROTECTED]> wrote: I was wondering whether anybody could please tell me why this is causing an error in IE (works in Firefox): $A(container.getElementsByTagName('*')).each( function(el) { Element.cleanWhitespace(el); }.bind(this)); What would be an

Re: [Rails-spinoffs] using Singleton with Prototype

2006-05-22 Thread Nicolas Terray
x27; ' + o2.a); ---8<-- Anyway it is not a real singleton since it is possible to call the constructor outside from instance() Furthermore, by hacking Foo, I do not know if I break something by adding _instance and instance() :-\ Yours, Nicolas Terray _

Re: [Rails-spinoffs] [ANN] My Tooltips contribution

2006-05-04 Thread Nicolas Terray
On 5/4/06, jeff emminger <[EMAIL PROTECTED]> wrote: nice work - one suggestion would be to constrain the tooltip to the viewport's dimensions, e.g. so it doesn't cause scrollbars or appear off the edge of the screen And to be able to customize the effect (type, duration) would be fine also :)

Re: [Rails-spinoffs] Set Speed of Combinational Effects

2006-04-10 Thread Nicolas Terray
undoClipping(effect.element); }} }, arguments[1] || {}) ); } ------ Hope this helps, Nicolas ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] function onComplete how to overload?

2006-04-06 Thread Nicolas Terray
On 4/6/06, Grzesiek Slusarek <[EMAIL PROTECTED]> wrote: > > What is the need ? Where does param1 come from ? > > Well that was only definition of the funcion, where it come from? > I want to put param1 in the Ajax.Request object: > var myAjax = new Ajax.Request( > url, >

Re: [Rails-spinoffs] function onComplete how to overload?

2006-04-06 Thread Nicolas Terray
On 4/6/06, Grzesiek Slusarek <[EMAIL PROTECTED]> wrote: > Hi all. I my apps I need to use Ajax.Request Object. One of the object > options is onComplete fuction which looks like this: > funcion onComplete (originalResponse) > { > ..some operations > } > I need pass to function one more parameter,

[Rails-spinoffs] Re: evalScript && onComplete

2006-03-31 Thread Nicolas Terray
On 3/31/06, Nicolas Terray <[EMAIL PROTECTED]> wrote: > I have an Ajax.Updater with evalScript = true and I would like to > execute some javascript *after* the scripts in the answer have been > eval'ed. > How can I do that ? > I don't know if my question was clear

[Rails-spinoffs] evalScript && onComplete

2006-03-31 Thread Nicolas Terray
Howdy all, I have an Ajax.Updater with evalScript = true and I would like to execute some javascript *after* the scripts in the answer have been eval'ed. How can I do that ? I've tried with onComplete, but onComplete seems to be fired before the inner scripts. Thank

Re: [Rails-spinoffs] problems with ".this"

2006-03-24 Thread Nicolas Terray
this.array.each((function(element){ alert(element); alert(this.variable); }).bind(this)); Hope this helps, Nicolas ___ Rails-spinoffs mailing list Rails-spinoffs

Re: [Rails-spinoffs] Prototype event observer problem

2006-03-19 Thread Nicolas
Hi,You have to remove (). You need to pass a function as argument, but now you are calling it and pass the result the the function.Event.observe(window, "load", sM.init);Regards,Nico On 3/19/06, Peter Michaux <[EMAIL PROTECTED]> wrote: Hi,I am trying to use prototype.js to observe when a page has l

Re: [Rails-spinoffs] Exception in Javascript console in Firefox 1.0.7

2006-03-17 Thread Nicolas Terray
On 3/17/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: > It's a FF bug, man, upgrade. > I'm using Fx 1.0.7 (FC3), I'm using prototype and therefore $(), and I havn't those errors. Do you have a short snippet of code which produce this exception ? ___ Rails-spi

Re: [Rails-spinoffs] sub-selection with $

2006-03-15 Thread Nicolas Terray
should use class instead. > > > > Then with prototype : > > var my_elements = document.getElementsByClassName('li0'); > > > > Hope this helps, > > Nicolas Terray > > > > On 3/15/06, oo00oo <[EMAIL PROTECTED]> wrote: > > > >

Re: [Rails-spinoffs] sub-selection with $

2006-03-15 Thread Nicolas Terray
Hi oo00oo (!) "name" is not a standard attribute for li elements. You should use class instead. Then with prototype : var my_elements = document.getElementsByClassName('li0'); Hope this helps, Nicolas Terray On 3/15/06, oo00oo <[EMAIL PROTECTED]> wrote: > He

Re: [Rails-spinoffs] Netvibes.com / Scriptaculous

2006-03-14 Thread Nicolas
Hi,I managed to get a redborder style to be applied by adding this to my js :Sortable. dropon) {     var d = Sortable.options(dropon);     if(element.parentNode!=dropon) {    var oldParentNode = element.parentNode;     dropon.appendChild(element);    Sortable.options(oldParentNode).onCh

Re: [Rails-spinoffs] [Prototype] Ajax.Request include form fields?

2006-03-09 Thread Nicolas Terray
On 3/9/06, Ben Anderson <[EMAIL PROTECTED]> wrote: > Hi, > Is it possible to submit my form (or part of my form) with an ajax > request? I had been using dojo to do this, but having just read up on > the prototype library, I think I'd rather use prototype. The one > thing I don't see (maybe I'm j

Re: [Rails-spinoffs] maintaining application state/urls

2006-03-08 Thread Nicolas Terray
On 3/8/06, Tom Riley <[EMAIL PROTECTED]> wrote: > > > On 8 Mar 2006, at 13:24, Maninder, Singh wrote: > > > Check out Really Simple History: > > http://codinginparadise.org/projects/dhtml_history/README.html > > > > Yes, that's the one i was thinking of. > > > Now also adopted by google. > > I'm cu

Re: [Rails-spinoffs] Override CSS hover

2006-03-07 Thread Nicolas Terray
On 3/7/06, Andreas Wahlin <[EMAIL PROTECTED]> wrote: > Is there some way to simply override CSS rules specified in a CSS file? > Scenario being that scriptaculous effects would be nicer to have on > things like :hover, but wishing to keep CSS "effects" for people > without javascript. > Specifik in

Re: [Rails-spinoffs] Ajax.InPlaceEditor - disabling the yellow highlight?

2006-03-06 Thread Nicolas Terray
On 3/3/06, John Beppu <[EMAIL PROTECTED]> wrote: > I tried that and it seemed to work, but Firefox's Javascript console > was spewing a lot of warnings about #NaNNanNan not being a valid color > every time I rolled over an in-place editor. > I think that the highlightcolor must be a real, full hex

Re: [Rails-spinoffs] [PATCH] Effect.Accordion (not from the wiki)

2006-03-03 Thread Nicolas Terray
I love real live examples, do you have one ? :) On 3/3/06, Robin Haswell <[EMAIL PROTECTED]> wrote: > Oops, should provide an example: > > > > Heading> > > Content geoes here > Etc.. > >

Re: [Rails-spinoffs] Re: How to use the sortable_element tagname option?

2006-03-03 Thread Nicolas Terray
On 3/3/06, Sean Mountcastle <[EMAIL PROTECTED]> wrote: > > Could you try to replace :tagname by :tag ? > > Thanks Nicolas, that seems to have fixed the tr vs 'tr' issue. The > version of dragdrop.js I have (from Rails 1.0) has the following > comment which thre

Re: [Rails-spinoffs] How to use the sortable_element tagname option?

2006-03-03 Thread Nicolas Terray
On 3/3/06, Sean Mountcastle <[EMAIL PROTECTED]> wrote: > I'm having some difficulty adding drag-and-drop sorting to my > application. I'm hoping that someone can help me figure out what I'm > doing wrong: > > #view > > ... > > > > ... > <%= sortable_element('item-list-body', >

Re: [Rails-spinoffs] sortable tree?

2006-03-01 Thread Nicolas Terray
On 3/1/06, Nicolas Terray <[EMAIL PROTECTED]> wrote: > With an unmodified version(1.5.3) of scriptaculous (i.e. without the > link provided before) I've just made this : > --8< [snip] > --8< > Is this the behaviour you want ? > Of course

Re: [Rails-spinoffs] sortable tree?

2006-03-01 Thread Nicolas Terray
On 3/1/06, Frank Schummertz <[EMAIL PROTECTED]> wrote: > It even works too good - my categories/subcategories do not change their > levels. I have a two-level tree only at the moment (ok, its not really a > tree, but this might change in the future). Can I avoid this behaviour? > With an unmodifie

Re: [Rails-spinoffs] sortable tree?

2006-03-01 Thread Nicolas Terray
On 3/1/06, Frank Schummertz <[EMAIL PROTECTED]> wrote: > And it seems that I have to change prototype.js and scriptaculous files > too which I would like to avoid if possible. > > Is there chance to get this incorporated in both libs as standard > functionality? > There was a little debate on this

Re: [Rails-spinoffs] sortable tree?

2006-03-01 Thread Nicolas Terray
Hello, and welcome ! Please have a look at this : http://www.oriontransfer.co.nz/Sortable%20List%20v2.zip Does it feeds your needs ? On 3/1/06, Frank Schummertz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi *, > > I am new to this list, so please excuse me if

Re: [Rails-spinoffs] EventPublisher (contribution)

2006-03-01 Thread Nicolas Terray
Thank you a lot for explanations ! 8) On 2/28/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: > > I got a lot of great help yesterday on my calendar questions. Makes me want > to post another contribution :-) > > This one is called EventPublisher. This was packaged also in Marco Jaeger's > recent post wi

[Rails-spinoffs] Re: Strange behaviour with sortable

2006-02-27 Thread Nicolas
should I fill a bug report ?BTW, it's working fine with IEOn 2/25/06, Nicolas <[EMAIL PROTECTED]> wrote: Hi,I'm having strange problem with Sortable. I'm trying to do something like google homepage, netvibes and others with 3 sortable lists, just to prouve someone

[Rails-spinoffs] Re: Strange behaviour with sortable

2006-02-25 Thread Nicolas
to me but when I drag the upper left widget to another column, the widget under it disapear.Does anyone know why it's happening, and how do I prevent that ? Regards,Nicolas portal.zip.rename Description: Binary data ___ Rails-spinof

Re: [Rails-spinoffs] New to Ajax

2006-02-24 Thread Nicolas Terray
On 2/24/06, charl souma <[EMAIL PROTECTED]> wrote: > > Droppables.add(dropme, {accept: 'dragme' onDrop: function(element)}); > > > Hello and welcome ! Don't you forget a comma in your parameters ? ___ Rails-spinoffs mailing list Rails-spinoffs@lists.

Re: [Rails-spinoffs] Announcing new project...

2006-02-24 Thread Nicolas Terray
f conventions. I will preferer to have : ---8<- myPicture_small.jpg myPicture.jpg ---8<- Anyway thank you for this project, I will probably have a better look at this stuff when it will be stable. Nicolas On 2/24/06, Manuele <[EMAIL PR

Re: [Rails-spinoffs] reloading fragments of pages

2006-02-23 Thread Nicolas
You may try to use Ajax.Updater with the evalScripts option enabled.In the HTML code sent by the server, you'll have to include

Re: [Rails-spinoffs] 'this.initialize' is null or not an object

2006-02-22 Thread Nicolas Terray
With new Effect.Parallel instead of Effect.Parallel I have no errors in Fx 1.5 On 2/22/06, Joe Hudson <[EMAIL PROTECTED]> wrote: > > > Hi, working on the accordion widget and it's actually working nice (doesn't > seem to be jumpy) now but I am receiving a javascript error in IE 6. Does > anybody

Re: [Rails-spinoffs] Sortable Tree Addition [PATCH]

2006-02-18 Thread Nicolas Terray
this patch will hopefully be integrated with the main code, and > isn't a final version for use in production code. > > Sammi > Thank you for your work, I've appreciated the highlighted zones which let me to understand how your stuff work! Thanks, Nicolas

Re: [Rails-spinoffs] Sortable Tree Addition [PATCH]

2006-02-17 Thread Nicolas Terray
On 2/17/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: > Not my modifications... I was just replying to your comment. I have no > desire to get my modifications in any official release. I contribute my > improvements to this list... those that want to use them can, and that's > that. > Sorry, I think th

Re: [Rails-spinoffs] Sortable Tree Addition [PATCH]

2006-02-17 Thread Nicolas Terray
On 2/17/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: > If said library is not performing the tasks you need it to in an optimal > manner, modify and modify now. The alternative is what, live with a slow > application without the features you need? > Yes, I understand. But why does your modifications h

Re: [Rails-spinoffs] Sortable Tree Addition [PATCH]

2006-02-17 Thread Nicolas Terray
On 2/17/06, Sammi Williams <[EMAIL PROTECTED]> wrote: > Files modified were dragdrop.js and prototype.js. > Is it a real need ? I am not really happy with having to modify external library :( ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrai

Re: [Rails-spinoffs] cancelling droppable if draggable dropped on different droppable

2006-02-17 Thread Nicolas Terray
On 2/16/06, Rob Clayburn <[EMAIL PROTECTED]> wrote: > > >> > > > > Could you explain please ? I don't really understand this greedy option :/ > > _ > > > if a dropables greedy is set to true then any other dropable under it > will not know that a dropable has been dropped on it. > > For my case mak

Re: [Rails-spinoffs] Autocompleter question

2006-02-16 Thread Nicolas
Hi,You can play with which will be displayed, but not selected and which won't be displayed, but selected.You can do pretty much everything with that, so you won't need to moidfy autocompleter code. Reagrds,NicoOn 2/16/06, Joseph Potenza <[EMAIL PROTECTED]> wrote: Hey all,     When using t

Re: [Rails-spinoffs] cancelling droppable if draggable dropped on different droppable

2006-02-16 Thread Nicolas Terray
On 2/16/06, Rob Clayburn <[EMAIL PROTECTED]> wrote: > Rob Clayburn wrote: > > > > > > Or alternatively how can I ensure that a droppable is only activated > > if my dragable is dropped out side of my image manager window? > > > > Many thanks > > Rob > > > > > To answer my own question I made ea

Re: [Rails-spinoffs] Re: Retrieve a property defined in a css

2006-02-16 Thread Nicolas Terray
does not feed my needs, because I have no elements with this class. In fact I want to be able to customize the yellow fade (Effect.Highlight) with css. Therefore I want to do : new Effect.Highlight(element, {startcolor: value_of_a_property_in_a_css_class }); Thanks, Nicolas

[Rails-spinoffs] Re: Retrieve a property defined in a css

2006-02-16 Thread Nicolas Terray
On 2/16/06, Nicolas Terray <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a property, defined in an external stylesheet: > > .my_class { >background-color: #FF; > } > > > I want to retrieve the value of this background-color of the class my_class.

[Rails-spinoffs] Retrieve a property defined in a css

2006-02-16 Thread Nicolas Terray
Hi all, I have a property, defined in an external stylesheet: .my_class { background-color: #FF; } I want to retrieve the value of this background-color of the class my_class. How can I do that with prototype/scriptaculous ? Thanks in advance, Nicolas Terray

Re: [Rails-spinoffs] Ajax.InPlaceEditor onSuccess: ???

2006-01-30 Thread Nicolas
It's standard with anything ajax related.On 1/30/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote: Thanks for that tip Jon. I hadn't noticed that one. So ajaxOptions isstandard in the framework?btw, Nicolas's solution also worked.JamieOn Jan 30, 2006, at 2:57 PM, Jon Tirsen wrote:> I think you shou

Re: [Rails-spinoffs] Ajax.InPlaceEditor onSuccess: ???

2006-01-28 Thread Nicolas
I'm using : "if (!transport) return;" at the beginning of onComplete.It does the trick.Regards,NicoOn 1/26/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:I'm looking for onSuccess: in Ajax.InPlaceEditor, but it doesn'tappear to exist. onComplete isn't what I need because I only want mycallback

Re: [Rails-spinoffs] Behaviour.js and prototype Event.pointerX

2006-01-16 Thread Nicolas
you should try to use Event.observe(elt, "click", func)when func is a function that take "event" as first argumentif you don't want, should can try to do something like :var myrules = { 'body' : function(){ el.> alert(Event.pointerX (event || window.event)); } }};On 1/16/06, Alex Duffield <[E

Re: [Rails-spinoffs] Scriptaculous and Prototype based Rich Text Editor

2006-01-02 Thread Nicolas Terray
refox/1.0.7 Regards, Nicolas Terray On 12/22/05, Pelle Braendgaard <[EMAIL PROTECTED]> wrote: > Hi Guys, > I'm currently using the Dojo Rich text editor on my site > https://wideword.net but am not 100% happy with it as I'm a prototype > kind of guy. > > So I started w

Re: [Rails-spinoffs] Ajax.Request: onLoading executed after onComplete in IE

2005-12-30 Thread Nicolas
Hi,You should better use Responders.register, for example : Ajax.Responders.register({     onCreate: function() {         if(Ajax.activeRequestCount>0) {             Position.prepare();             var elt = $('ajax-wait');             elt.style.left = Position.deltaX + "px";             elt.

Re: [Rails-spinoffs] Custom tooltip component?

2005-12-28 Thread Nicolas
Hi,With overlib, you have a DELAY parameters to active a tooltip after a delay.ex : overlib('This popup will open in about a 1/4 second', DELAY, 250)Regards,Nico On 12/28/05, Amol Katdare <[EMAIL PROTECTED]> wrote: Thanks Michael and François.Tooltip.js is great, but it doesn't solve the "tricky" p

Re: [Rails-spinoffs] floating layer following the mouse

2005-12-24 Thread Nicolas
Hi,In short :Event.observe mousemouseget position with Event.pointerX and Event.pointerYposition yout element with element.style.top and element.style.leftRegards,Nico On 12/23/05, Tarek Ziadé <[EMAIL PROTECTED]> wrote: Hello, I have added a fade-in/fade-out floating layer to display infos on Ajax

Re: [Rails-spinoffs] Javascript Logging

2005-12-22 Thread Nicolas
You may try to log your string after the creation of the div :     Logging Example   
     logger.info('test');
     On 12/22/05, Maninder, Singh <[EMAIL PROTECTED]> wrote: Hi Justin,1. What all files do we need to include to get this logger to work?2. What enhancements are you planning?

Re: [Rails-spinoffs] Re: IE/CSS issue using Sortables....but only on the first drag

2005-12-21 Thread Nicolas
Lots of problem in IE can be fixed by switching to layout mode (see http://www.satzansatz.de/cssd/onhavinglayout.html or http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/haslayout.asp).And setting a inline width to an element make it switch to layout mode, so it may be that. On

Re: [Rails-spinoffs] Performance issues with Prototype

2005-12-20 Thread Nicolas Terray
3 little optimizations can improve performance! Krzysztof, I hope that your patch will be integrated soon because it is really usefull... 8) Thanks, Nicolas Terray ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] [ANN] Prototype Enumerable, Array and Hash Documentation

2005-12-15 Thread Nicolas Terray
On 12/15/05, Maninder, Singh <[EMAIL PROTECTED]> wrote: > That works Nicolos! Thanks. > > But, I was wondering that such support is already built in javascript. > > Why did we have to wrap it in $H for this? > I use $H() only when I want to iterate over keys or value. Example var options = {} opti

Re: [Rails-spinoffs] [ANN] Prototype Enumerable, Array and Hash Documentation

2005-12-15 Thread Nicolas Terray
On 12/15/05, Maninder, Singh <[EMAIL PROTECTED]> wrote: > Suppose I have a hash - > var h = $H({name: "john doe", email: "[EMAIL PROTECTED]", msg: "say hello to > me"}); > > h.keys(); //gives me name/email/msg > h.values() //gives me john doe/[EMAIL PROTECTED]/say hello... > > What if I want to kn

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] Uncomplete hiding on Firefox 1.5

2005-12-12 Thread Nicolas Terray
27;m pretty new to this stuff so I can't help further :/ Nicolas Terray ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

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

2005-12-09 Thread Nicolas Terray
--8< Does any script.aculo.us guru can say if this code is horrible or if it can be use in production ? Could it be improved ? Thanks in advance, Nicolas Terray ___ Rails-spinoffs mailing list Rails-spinof

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

2005-12-09 Thread Nicolas Terray
-mouseout-mouseover the first element and you will see that this solution is not acceptable... :( Nicolas Terray ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

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

2005-12-09 Thread Nicolas Terray
On 12/9/05, Thomas Fuchs <[EMAIL PROTECTED]> wrote: > > Am 08.12.2005 um 08:49 schrieb Nicolas Terray: > > > > If I 'mouseover' the first select box, the second will be > > highlighted. Great. > > If I 'mouseover' and rapidly 'mouseout-

[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

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.rubyonrai

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

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

2005-12-08 Thread Nicolas Terray
(element); ... --8<- I had never seen this syntaxe, I doesn't know where I have to search and google doesn't like $ in request :/ Thanks in advance for any explanations or urls, Nicolas Terray ___ Rails-

[Rails-spinoffs] Bug in Effect.Highlight ?

2005-12-08 Thread Nicolas Terray
ins yellow and will not anymore return to initial state. It is a bug ? a feature ? Is there a workaround ? I'm working on Firefox 1.0.7/Fedora Core 3 and it seems to be the same on IE6/Win2003 Thanks, Nicolas Terray ___ Rails-spinoffs mailing li

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

2005-12-07 Thread Nicolas
not out of the box.RegardsNicoOn 12/7/05, Francois Beausoleil < [EMAIL PROTECTED]> wrote:Hello Nicolas,2005/12/7, Nicolas < [EMAIL PROTECTED]>:> You can pass an onComplete function in options of your control.> By default, I think it does something like :>> new

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

2005-12-07 Thread Nicolas
You can pass an onComplete function in options of your control.By default, I think it does something like :new Effect.Highlight(element, {startcolor: this.options.highlightcolor});Regards,NicolasOn 12/7/05, Francois Beausoleil <[EMAIL PROTECTED]> wrote: Hi all !InPlaceEditor refreshes only the el