View Full Version : Quicktips

4 Jun 2007, 7:59 PM
i have a script that if you are not logged in fills document.body with a login dialog. upon login it will set document.body.innerHTML = ''; then build a border layout, and vice versa upon logging out.

however it seems that after this quicktips start giving errors el.parentNode has no properties which i dont exactly understand, possibly it is trying to call this on an element that no longer exists? is this a bug, by design, or am i just an ***** and missed a step along the way.

5 Jun 2007, 1:24 AM
You are initializing QuickTips which adds elements to the page. Then you are wiping out those elements. That is what those error messages mean.

5 Jun 2007, 4:24 AM
Then what would be the best way to clear the body, calling destroy on the dialog somewhat works, except i dont believe it removes its shadow, and i dont see anyway of destroying the border layout.