Re: [Rails-spinoffs] Re: onComplete: handleSuccess - What gets passed?

2006-08-05 Thread Alex Duffield
Wonderful!!  Now I owe you a beer to! Thanks :-) __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 5-Aug-06, at 10:43 AM, Eric Anderson wrote:Alex Duffield wrote: Eric, thanks for the

Re: [Rails-spinoffs] Re: onComplete: handleSuccess - What gets passed?

2006-08-05 Thread Alex Duffield
cheers! I owe you a beer. __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 5-Aug-06, at 9:37 AM, Michael Peters wrote:Alex Duffield wrote: That looks like it will work.. or I could just

Re: [Rails-spinoffs] Re: onComplete: handleSuccess - What gets passed?

2006-08-05 Thread Alex Duffield
That looks like it will work.. or I could just pass the prams on to my complete function.. NO?onComplete: function(response) {    yourOnComplete(response,prams);} __ Alex Duffield . Principal . InControl Solutions . http

Re: [Rails-spinoffs] Re: onComplete: handleSuccess - What gets passed?

2006-08-05 Thread Alex Duffield
Eric, thanks for the answer. I was hoping to be able to get the options (parameters in particular)  that where used in the origian request. Oh well. Ill find another solution.  __ Alex Duffield . Principal . InControl Solutions

[Rails-spinoffs] setting a select box (in IE)

2006-08-05 Thread Alex Duffield
Highlight($('b_country'));This works great on everything on Firefox, but fails on the select box in IE. What is the correct way to set a value of a Select on IE?? Thanks. ______ Alex Duffield . Principal . InControl Solut

[Rails-spinoffs] onComplete: handleSuccess - What gets passed?

2006-08-04 Thread Alex Duffield
est" object that might be useful? perhaps the original parameters, the URL etc. Is there a quick way to inspect it? ( I tried originalRequest.inspect() with no luck.. ) Thanks!! __ Alex Duffield . Principa

Re: [Rails-spinoffs] Re: Documenting Prototype...

2006-07-20 Thread Alex Duffield
Fair enough. __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 20-Jul-06, at 2:50 PM, Peter Michaux wrote:On 7/20/06, Alex Duffield <[EMAIL PROTECTED]> wrote: This is a list for tho

Re: [Rails-spinoffs] Re: Documenting Prototype...

2006-07-20 Thread Alex Duffield
ution is simple. Communication between the developers and the community.Just my 2 bits. Alex Duffield On 20-Jul-06, at 9:38 AM, Ryan Gahl wrote:If you are interested in improving prototype, that's one thing, but then offer constructive ways to do so rather than just repeating yourself over and

Re: [Rails-spinoffs] Effect.SlideDown/Up() and HTML issues

2006-07-16 Thread Alex Duffield
t); if(Element.visible(element)) { new Effect.SlideUp(element, { duration: 0.25 }); var oImg = document.getElementById(element.id+'-img'); oImg.src = ''+element.id+'_normal.gif'; }} _____

Re: [Rails-spinoffs] scriptaculous question

2006-06-21 Thread Alex Duffield
and PASSWORD have been provided.Just my 2 bits. :-) __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 21-Jun-06, at 11:54 AM, Dallas Cahker wrote:Hello everybody.I'm wondering if the

Re: [Rails-spinoffs] Detecting Body Onload

2006-06-16 Thread Alex Duffield
Ha, seems that Thomas just blogged on this yesterday... http://mir.aculo.us/articles/2006/06/15/solving-the-onload-woe __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 16-Jun-06, at 1:27

[Rails-spinoffs] Element.scrollTo

2006-06-16 Thread Alex Duffield
Is it posable to use  Element.scrollTo('id_target_object') to scroll to a spot in a DIV tag with overflow set to scroll??? I am unable to get this to work at all in my tests. __ Alex Duffield . Principal . InControl

Re: [Rails-spinoffs] Detecting Body Onload

2006-06-16 Thread Alex Duffield
check out http://bennolan.com/behaviour/ __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 16-Jun-06, at 1:10 PM, Sam wrote: I have a piece of code that "waits" for body onlo

Re: [Rails-spinoffs] onCreate not getting triggered.

2006-06-16 Thread Alex Duffield
s than a second and is all but useless. Has any one come up with a good solution to only show the loader if the request is taking more than X seconds or something?? Thanks. __ Alex Duffield . Principal . InControl Solutions . htt

Re: [Rails-spinoffs] Menu using Scriptaculous Effects = OnMouseOver bug

2006-06-16 Thread Alex Duffield
you need to use the effect queue so your blind up and blind down are not stepping on each other. More on queues here:http://blog.railsdevelopment.com/pages/effect/queue/ __ Alex Duffield . Principal . InControl Solutions . http

Re: [Rails-spinoffs] onCreate not getting triggered.

2006-06-16 Thread Alex Duffield
#x27;maincontent'); },And we are now working. :)  __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 16-Jun-06, at 10:32 AM, Alex Duffield wrote:I am trying to get a loader to display

[Rails-spinoffs] onCreate not getting triggered.

2006-06-16 Thread Alex Duffield
;request Done");  new Effect.Fade($(loader), {duration: 0.5});   new Effect.BlindDown($(target));}Can any one see what I am doing wrong? __ Alex Duffield . Principal . InControl Solutions . http://www.incontrol

Re: [Rails-spinoffs] Loading CSS for AJAX apps.

2006-06-15 Thread Alex Duffield
be of any help in dynamicly loading CSS or JS via an AJAX call.the "load" function just does a version check and get the path for loading the rest of the files.  ______ Alex Duffield . Principal . InCont

Re: [Rails-spinoffs] Loading CSS for AJAX apps.

2006-06-15 Thread Alex Duffield
Ya, this seems to work in Safari, but a similar function for loading the JS fails in Safari.  __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 15-Jun-06, at 2:45 PM, Sam wrote: function

Re: [Rails-spinoffs] Loading CSS for AJAX apps.

2006-06-15 Thread Alex Duffield
el = 'stylesheet'; csslink.type = 'text/css'; csslink.id = 'loadCSS'; head.appendChild(csslink)}It seams to work well on Firefox, writes it to the head and doesnt end up with old and duplicate links... Can any one see any flaws to this??? Cheers. ___

Re: [Rails-spinoffs] Loading CSS for AJAX apps.

2006-06-15 Thread Alex Duffield
lt;/SPAN>}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>if (fileref!=""){</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>document.getElementsByTagNa

[Rails-spinoffs] Loading CSS for AJAX apps.

2006-06-15 Thread Alex Duffield
in via the AJAX call? Thanks. __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrail

Re: [Rails-spinoffs] rich text editors

2006-06-05 Thread Alex Duffield
his regard? __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 5-Jun-06, at 11:51 AM, Gregory Hill wrote: It says it does XHTML, which is a nice change of pace.  It means I might finally be able to

Re: [Rails-spinoffs] rich text editors

2006-06-05 Thread Alex Duffield
Great list thanks. Ya, I dont use any of the backend stuff in FCKeditor, in favor of my own image/media manager, so I find it a "little" bloated TinyMCE looks like the best lightweight option out there. Cheers. __ Ale

[Rails-spinoffs] rich text editors

2006-06-05 Thread Alex Duffield
!  __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

[Rails-spinoffs] event:selectors VS Behavior

2006-03-22 Thread Alex Duffield
This looks quite nice at first glance.. http://encytemedia.com/event-selectors/I would love to hear some of your comments pro or con on how this compares to Behavior. __ Alex Duffield . Principal . InControl Solutions . http

Re: [Rails-spinoffs] Yahoo! User Interface Libraries

2006-03-16 Thread Alex Duffield
Are their any compatibility issues with using the Yahoo libraries and prototype/Sriptaculous together???  __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 14-Feb-06, at 8:29 AM

Re: [Rails-spinoffs] Question about $F()

2006-03-02 Thread Alex Duffield
#x27;name').value = "Alex" ______ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 2-Mar-06, at 8:22 AM, Maninder, Singh wrote:Hi Guys,Maybe this is a stupid question, but I am confused at the moment.The $F() function is a handy shortcut t

Re: [Rails-spinoffs] Calendar widget

2006-03-01 Thread Alex Duffield
Ryan, please send that code my way if you dont mind... I am also looking for a good calendar WidgetThanks. __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 27-Feb-06, at 1:48 PM, Ryan

Re: [Rails-spinoffs] Ajax.Updater and loading new javascriptfunctions.

2006-02-17 Thread Alex Duffield
haviour.apply(); ______ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 17-Feb-06, at 12:57 PM, Alex Duffield wrote:Cool. You wouldn't happen to know a solution to trying to register new Behaviou

Re: [Rails-spinoffs] Ajax.Updater and loading new javascript functions.

2006-02-17 Thread Alex Duffield
:) thanks. the typo was just in my email.. I was using evalScripts in my code.:) __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 17-Feb-06, at 2:08 PM, Todd Ross wrote:On 2/17/06, Alex

Re: [Rails-spinoffs] Ajax.Updater and loading new javascriptfunctions.

2006-02-17 Thread Alex Duffield
refer not to have to stick a bunch of onClicks all over my HTML..  ______ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 17-Feb-06, at 12:39 PM, Ryan Gahl wrote: Yep, I have all my _javasc

Re: [Rails-spinoffs] Ajax.Updater and loading new javascript functions.

2006-02-17 Thread Alex Duffield
node;document.body.insertBefore(jsScript, node); From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Alex Duffield Sent: Friday, February 17, 2006 2:01 PM To: rails-spinoffs@lists.rubyonrails.org Subject: [Rails-spinoffs] Ajax.Updater and loading new _javascript_ functions.  I working

[Rails-spinoffs] window.onresize event using Behaviour.js ?

2006-02-17 Thread Alex Duffield
Does any one know how to register a window.onresize event using Behaviour.jsI tryed var myrules = { 'window' : function(el){ el.> alert("Window Resized") } },}Behaviour.register(myrules); but no love.Thanks. _

[Rails-spinoffs] Ajax.Updater and loading new javascript functions.

2006-02-17 Thread Alex Duffield
in the main app, but even worse, if the element the rule is applied to does not exist in the app in its initial state, the rule doesn't take. Any how, I am sure there is a simple solution to this so your help is appreciated!  ___

[Rails-spinoffs] Problem with auto scrolling in sortables

2006-02-15 Thread Alex Duffield
p it below that #15 div .Here is my sortable incase that helps explain what I am seeing.  Sortable.create('gallerybox',{tag:'div',handle:'galleryitem',constraint:false, scroll:'gallerybox'});Thanks __

Re: [Rails-spinoffs] resizing multiple images using getElementsByClassName

2006-01-31 Thread Alex Duffield
re he is getting WAY better performance than the method I am doing... Any how, if any one can offer some advice on optimizing this I would be for ever in your debt! Cheers. ______ Alex Duffield . Principal . InCont

[Rails-spinoffs] Slider values from .25 - 1

2006-01-31 Thread Alex Duffield
atter what I set the "Minimum" to , I still get 0 -1 as my range I would be most grateful to any one who could point me to what it is I am missing!Cheers. __ Alex Duffield . Principal . InControl Solutions . htt

[Rails-spinoffs] resizing multiple images using getElementsByClassName

2006-01-30 Thread Alex Duffield
ea what will happen in IE!!! Thanks!!!  __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rub

Re: [Rails-spinoffs] Slideshow beta

2006-01-26 Thread Alex Duffield
That is great. Quite nice, Is there a method to fade to a given image or div?? I would want to have thumbnails as well and give the user the ability to fade to that image, as well as the next prev options.  __ Alex Duffield

Re: [Rails-spinoffs] scriptaculous accordion feature - Jump?

2006-01-23 Thread Alex Duffield
{duration:0.3, beforeUpdate:function(){ $(elup).style.height = parentH - Element.getHeight(eldown)+"px";},afterFinish:function(){ $(elup).style.height = 0+"px"; $(elup).style.display = "none";} }); __

Re: [Rails-spinoffs] scriptaculous accordion feature - Jump?

2006-01-20 Thread Alex Duffield
hough!!  __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 20-Jan-06, at 4:40 PM, Jim Davis wrote:Trying the accordion feature as offered at: http://wiki.script.aculo.us/scriptaculous/show/accordion+feature The objecti

Re: [Rails-spinoffs] Effect.moveTo??

2006-01-20 Thread Alex Duffield
Perfect, thank you kindly sir! __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 20-Jan-06, at 8:01 AM, Cam McVey wrote:Alex,You need to use the new effect "Move". There

[Rails-spinoffs] FireFox JavaScript Console

2006-01-20 Thread Alex Duffield
. __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails

[Rails-spinoffs] Effect.moveTo??

2006-01-20 Thread Alex Duffield
he math to find out how far to move it, but is there already a built in function in script.aculo.us or prototype to do this? Cheers  __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsol

[Rails-spinoffs] Fade/appear + PNG Alpha backgrounds + IE = HELP!

2006-01-19 Thread Alex Duffield
nt is all the way faded on the text POPS on over the hole it created.So, the question here is: Is it at all posable to use fade/appear in conjunction with a PNG background on IE,  and if so, whats the workaround?Thanks. _____

Re: [Rails-spinoffs] Dragable without the fade

2006-01-17 Thread Alex Duffield
s is hugely flexible!!! ______ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 17-Jan-06, at 9:16 PM, Alex Duffield wrote:How do I disable the fade or ghosting effect on my dragable?? I want it 100% op

[Rails-spinoffs] Dragable without the fade

2006-01-17 Thread Alex Duffield
How do I disable the fade or ghosting effect on my dragable?? I want it 100% opacity on drag.Thanks. __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com

[Rails-spinoffs] effect.fade and Microsoft.AlphaImageLoader

2006-01-16 Thread Alex Duffield
??? __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

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

2006-01-16 Thread Alex Duffield
...  __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com  On 16-Jan-06, at 10:45 AM, Nicolas wrote: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

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

2006-01-16 Thread Alex Duffield
is there a way to take advantage of prototypes Event.pointerX when using Behaviour to manage my events?somthing like.. var myrules = { 'body' : function(el){ el.> alert(Event.pointerX(e)); } }};thanks ______