[Proto-Scripty] Re: replace body onload= with event.observe? ... can't figure it out

2010-06-10 Thread T.J. Crowder
Hi, On Jun 9, 4:33 pm, Jarkko Laine jarks...@gmail.com wrote: On 9.6.2010, at 17.08, fernan wrote: [snip[ The following worked fine for me (both Safari and FF):    script type=text/javascript language=JavaScript      document.observe('dom:loaded', function() { $('div1').toggle() });    

[Proto-Scripty] Setting the focus on an input after an effect to show the input.

2010-06-10 Thread Richard Quadling
Hi. I have a page where divs are displayed using a nice simple parallel Fade/Appear effect. I also fade in the divs on the initial page load. In some of the divs, there are input tags. I want to be able to set focus to the tag. Trying to do so generates an error. My fade in code is new

[Proto-Scripty] Setting the focus on an input after an effect to show the input.

2010-06-10 Thread Richard Quadling
Hi. I have a page where divs are displayed using a nice simple parallel Fade/Appear effect. I also fade in the divs on the initial page load. In some of the divs, there are input tags. I want to be able to set focus to the tag. Trying to do so generates an error. My fade in code is new

[Proto-Scripty] Loaded XML + AJAX question

2010-06-10 Thread Cait
Hi all, I've got a question. I'm not sure if it's a prototype-specific problem I'm having, but I figured I'd start here. I'm using prototype + script.aculo.us in addition to livepipe.net's Control.Window extension. I've got some code that loads an XML file (works). It then generates thumbnails

[Proto-Scripty] Re: Ajax.request with enctype:multipart/form-data

2010-06-10 Thread Gregory Nicholas
I had an AJAX file upload solution built out, where you use javascript to create a hidden iframe element, then you set the form to post to that hidden frame. It worked, however if you go through the trouble of that i would recommend you opt for a flash based file uploader. Much more robust and can

[Proto-Scripty] Re: Setting the focus on an input after an effect to show the input.

2010-06-10 Thread Gregory Nicholas
it should be as follows: new Effect.Parallel([ new Effect.Appear('banner', {duration : 1.00, delay : 0.50}), new Effect.Appear('vsContainer', {duration : 2.00, delay : 0.50}) ], { sync: true, afterFinish: function() {