Skip to main content

Bug Tracker

Side navigation

#781 closed bug (fixed)

Opened January 11, 2007 03:10PM UTC

Closed January 23, 2007 05:38PM UTC

Last modified June 19, 2007 07:00AM UTC

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

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

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>
Attachments (0)
Change History (5)

Changed January 11, 2007 07:36PM UTC by joern comment:1

description: 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>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>\ }}}

Changed January 14, 2007 10:39PM UTC by joern comment:2

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

Changed January 15, 2007 02:22PM UTC by jonathanfree comment:3

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>

Changed January 22, 2007 02:57PM UTC by jonathanfree comment:4

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

Changed January 23, 2007 05:38PM UTC by joern comment:5

resolution: → fixed
status: newclosed

Fixed.