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
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
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
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/
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
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:/
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
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
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
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
_
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 :)
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
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,
>
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,
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
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
this.array.each((function(element){
alert(element);
alert(this.variable);
}).bind(this));
Hope this helps,
Nicolas
___
Rails-spinoffs mailing list
Rails-spinoffs
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
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
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:
> >
> >
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
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
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
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
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
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
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..
>
>
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
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',
>
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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.
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
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
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?
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
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
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
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
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
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
--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
-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
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-
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
> > 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
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
(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-
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
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
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
74 matches
Mail list logo