Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel

badly toggling subelements

 

 

Bricolage devel RSS feed   Index | Next | Previous | View Threaded


lannings at who

Mar 16, 2009, 6:03 AM

Post #1 of 2 (717 views)
Permalink
badly toggling subelements

Some subelements in trunk aren't toggling correctly.
When I click them, the page jumps to the top;
the subelement does toggle open/closed.
My colleague who is probably using IE
reported that some subelements are not opening at all.

I made one fix just now (revision 8508)
but it still isn't working.
I noticed that there are embedded <fieldset> elements:


<fieldset>
<legend class="name">
<a href="#" style="" id="element_9187569_showhide"
onclick="Container.toggle(9187569, this); return false;" title="Toggle 'Two
column layout'">▼</a>
<span title="Drag to reorder">Two column layout</span>
</legend>
<ul style="overflow: visible;" id="element_9187569" class="elements"><li
id="subelement_con9187570" class="container clearboth">
<div id="element_9187570_content" class="content">
<fieldset> <---- again before closing
<legend class="name">
<a href="#" style="" id="elem ......


Is that allowed?


lannings at who

Mar 16, 2009, 7:57 AM

Post #2 of 2 (638 views)
Permalink
Re: badly toggling subelements [In reply to]

On Mon, 16 Mar 2009, Scott Lanning wrote:
> Some subelements in trunk aren't toggling correctly.
> When I click them, the page jumps to the top;
> the subelement does toggle open/closed.
> My colleague who is probably using IE
> reported that some subelements are not opening at all.
>
> I made one fix just now (revision 8508)
> but it still isn't working.
> I noticed that there are embedded <fieldset> elements:
>
>
> <fieldset>
> <legend class="name">
> <a href="#" style="" id="element_9187569_showhide"
> onclick="Container.toggle(9187569, this); return false;" title="Toggle 'Two
> column layout'">▼</a>
> <span title="Drag to reorder">Two column layout</span>
> </legend>
> <ul style="overflow: visible;" id="element_9187569" class="elements"><li
> id="subelement_con9187570" class="container clearboth">
> <div id="element_9187570_content" class="content">
> <fieldset> <---- again before closing
> <legend class="name">
> <a href="#" style="" id="elem ......
>
>
> Is that allowed?

It turns out that <fieldset> can indeed be a child of <fieldset>.
The problem is fixed in r8509.

Bricolage devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.