Weird Bug - (fixed)
(The script is programmed in FF2, and I have no expectations for it to work in other browsers.)
In a script I am making, which so far creates desktop-like windows in the page has an odd bug I can't figure out. When I minimize a window through its minimize button and then move the minimized state, the gui object picks up the background it is over (in a rectangle the height of what the unminimized window is minus scrollbars) and carries it over to where I move the minimized titlebar.
Here's a link to the page:
To produce the bug, you can click the minimize button on the window labled "3", and then drag it across the other windows.
For the script source codes:
Last edited by Trinithis; 08-11-2007 at 07:17 AM.
Nevermind. I just fixed the bug. I realized that the area of the rectangle bug was the size and in the same position as the text area in the window minus scrollbars as if the height was dependent on its original height, and its width dependent on the minimized width.
So upon minimize, I set the text area (.body) style to display: none, removing the bug. A few additions to the code sets the display back to what it was when needed has been added too.
(Web code not updated, if you want to still see the bug.)
It wasn't just on window 3, it was on all of them.
I know. I just said window 3 for demonstration purposes.