Opened 16 years ago
Closed 16 years ago
#274 closed bug (invalid)
load() of html is not shown properly after hide/show
Reported by: | 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
Note: See
TracTickets for help on using
tickets.
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.