Paul,

here: http://mootools.net/shell/89ALC/1/

Gafa

On Aug 20, 5:27 am, Paul <[email protected]> wrote:
> What you're saying is that for Firefox I should include the fieldsets
> in divs and use these as elements; I tried this by adding this line of
> code:
> if (Browser.Engine.gecko) element = (new
> Element('div')).wraps(element);
>
> This did wrap the fieldset with a div but somehow doesn't assign the
> div as the new element, it also sets the height of the div to 0px
> (see:http://mootools.net/shell/7sjxM/). I also tried assigning the
> wrapper as a new variable and using that as element but this had the
> same result (http://mootools.net/shell/ycNaE/).
>
> On 19 aug, 21:07, Gafa <[email protected]> wrote:
>
>
>
> > Paul,
>
> > See here:http://mootools.net/shell/ZEvRp/
>
> > fieldset in FF 3.6+ is buggy, see my comments in example above.
>
> > Also, without the entire picture your code really make little logical
> > sense to me, I included a hacked version for you 
> > here:http://mootools.net/shell/DUYSt/
>
> > Gafa
>
> > On Aug 18, 2:12 pm, Paul <[email protected]> wrote:
>
> > > I wrote a script make a form collapsible by inserting headers before
> > > each fieldset with the content from its legend, hiding the legend
> > > element and then applying Fx.Accordion to the form using the headers
> > > as toggler and fieldset as collapsible element. The script can be
> > > found here:http://mootools.net/shell/ng7Fr/1/.
>
> > > It works fine in Google Chrome and IE but in Firefox when I try to
> > > open another fieldset the current visible fieldset closes (it
> > > collapses but its contents stay visible until its fully closed) but
> > > the other fieldset won't open.
>
> > > I noticed with Firebug that the fieldset that should open doesn't
> > > change its height at all.
>
> > > Can someone tell me what's going on?
>
> > > Regards,
> > > Paul.- Hide quoted text -
>
> - Show quoted text -

Reply via email to