I don't get that error anymore with IE 6 using new Parallel but I get a
different error and the animations looks significantly less smooth.  Does
anyone have any idea why I would get the error:
Line: 1009
Char: 5
Error: Could not get the overflow property.  Invalid argument.
Code: 0

Thanks.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Nicolas Terray
> Sent: Wednesday, February 22, 2006 12:53 PM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: Re: [Rails-spinoffs] 'this.initialize' is null or not an object
> 
> 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 have any ideas why it is happening?  Thanks
> >
> > <script language="javascript">
> >
> >
> > sbr_stretch(el) {
> >
> >         thisBodyId = el.parentNode.id + "_body";
> >
> >         thisBody = $(thisBodyId);
> >
> >         if (!Element.visible(thisBody)) {
> >
> >                 panels =
> > el.parentNode.parentNode.getElementsByTagName('div');
> >
> >                 var elup;
> >
> >             for (i = 0; i < panels.length; i++) {
> >
> >                 if (panels[i].className == 'panel_body') {
> >
> >                     if (panels[i] != thisBody) {
> >
> >                         if (Element.visible(panels[i])) {
> >
> >                                 elup = panels[i];
> >
> >                             }
> >
> >                     }
> >
> >                 }
> >
> >             }
> >
> >             if (elup) {
> >
> >                         // the next command is where the javascript
> errors
> > (but it still works)
> >
> >                     Effect.Parallel (
> >
> >                                 [
> >
> >                         new Effect.SlideUp(elup, {duration: .2}),
> >
> >                         new Effect.SlideDown(thisBody, {duration: .2})
> >
> >                         ]
> >
> >                     );
> >
> >             }
> >
> >             else {
> >
> >                 Effect.SlideDown(thisBody, {duration: .2});
> >
> >             }
> >
> >         }
> >
> > }
> >
> > </script>
> >
> > <div class="stretchBar" id="myStretchBar">
> >
> >     <div id="panel1">
> >
> >         <div class="title"
> > onClick="sbr_stretch(this)">Panel 1</div>
> >
> >             <div id="panel1_body" class="panel_body" style="display:
> none">
> >
> >                 <div>
> >
> >                     <div>stuff in panel 1</div>
> >
> >                 </div>
> >
> >             </div>
> >
> >         </div>
> >
> >         <div id="panel2">
> >
> >             <div class="title"
> > onClick="sbr_stretch(this)">Panel 2</div>
> >
> >                 <div id="panel2_body" class="panel_body" style="display:
> > none">
> >
> >                    <div>
> >
> >                        <div>stuff in panel 2</div>
> >
> >                    </div>
> >
> >              </div>
> >
> >       </div>
> >
> > </div>
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
> >
> >
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> 



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to