Bug Tracker

Opened 15 years ago

Closed 15 years ago

#274 closed bug (invalid)

load() of html is not shown properly after hide/show

Reported by: [email protected] Owned by:
Priority: minor Milestone:
Component: ajax Version:
Keywords: Cc:
Blocked by: Blocking:

Description

Example of the problen can be found here

http://ozymandias.dk/js/jq2b.html

1) Press load to se normal behaviour.

2) do a page refresh.

Press toggle twice and then load to see odd behaviour.

The loaded html is displayed on top of the "Last modified†.." line

Change History (1)

comment:1 Changed 15 years ago by john

Resolution: invalid
Status: newclosed

This can be fixed by adding the following line in the callback of your slideDown/slideUp calls:

$(this).height("auto");

This will make the height of the element revert to its original height, as opposed to a static one.

Note: See TracTickets for help on using tickets.