Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#781 closed bug (fixed)

1.1b : $(this).siblings().toggle(); changes all inline siblings (after first sibling) to block level elements

Reported by: jonathanfreeman@… Owned by:
Priority: major Milestone: 1.1a
Component: core Version: 1.1a
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by joern)

Before click:

<a class="toggle expand" href="#">Marketing Messages</a>
<a class="shrink" href="#">-</a>
<a class="stretch" href="#">+</a>
<a class="explode" href="#">=</a>
<em>hi</em>

After click

<a class="toggle expand" href="#">Marketing Messages</a>
<a class="shrink" href="#" style="display: inline;">-</a>
<a class="stretch" href="#" style="display: block; opacity: 0.9999;">+</a>
<a class="explode" style="display: block; opacity: 0.9999;" href="#">=</a>
<em style="display: block; opacity: 0.9999;">hi</em>

Change History (5)

comment:1 Changed 16 years ago by joern

Description: modified (diff)

comment:2 Changed 16 years ago by joern

Until fixed, try to toggle the (block level) parent as a workaround.

comment:3 Changed 16 years ago by jonathanfree

I wish I could, but I use this situation when I toggle fieldset contents on a form. :-( I keep the 1st href as the controller, then toggle the siblings and its parent's fieldset form fields.

<legend> <a class="toggle expand" href="#">Marketing Messages</a> <a class="shrink" href="#">-</a> <a class="stretch" href="#">+</a> <a class="explode" href="#">=</a> </legend>

comment:4 Changed 16 years ago by jonathanfree

jQ 1.1.1 has resolved this bug. This should be moved to FIXED. Nice work :)

comment:5 Changed 16 years ago by joern

Resolution: fixed
Status: newclosed

Fixed.

Note: See TracTickets for help on using tickets.