Well I hope I this isn't too nebulous of a problem. The problem I currently have is this:
I have a button in a form that opens up a javascript/css poup that has an input field and two ahref links for ok and cancel, both of which call the popup's toggle() method (same thing that is called from the button). The form that this button is in has fields that can be added or removed by the user.
Everything works great in firefox and netscape, but, as usual, ie6 is the sticky wicket. In ie6, if the popup is opened and then the cancel or ok link is clicked, the popup closes. That's works. Now, after closing the popup, if more form fields are added by the user, there is a ghost impression of where the popup used to be that basically blocks out that portion of the form fields. The popup itself isn't visible but a block of that size the color of the background of the form is (and, like I said, it cuts off portions of the input/select fields). The only way to get rid of this is by refreshing the page.
The interesting bit is that, if the popup is closed by pressing on the button that launches it, this issue does not appear. It only happens if the popup is closed by clicking on the cancel/ok links on the popup itself (bear in mind that these call the same toggle() method that the button launching the popup calls).
I've played with setting the z-index of the popup to 1000 when displayed and -1000 when hidden but that doesn't appear to accomplish anything.
I wish I could post the code but this is on an intranet site without internet access :-( Hopefully someone might have a clue based on my lengthy and long winded description!
Thanks!
I have a button in a form that opens up a javascript/css poup that has an input field and two ahref links for ok and cancel, both of which call the popup's toggle() method (same thing that is called from the button). The form that this button is in has fields that can be added or removed by the user.
Everything works great in firefox and netscape, but, as usual, ie6 is the sticky wicket. In ie6, if the popup is opened and then the cancel or ok link is clicked, the popup closes. That's works. Now, after closing the popup, if more form fields are added by the user, there is a ghost impression of where the popup used to be that basically blocks out that portion of the form fields. The popup itself isn't visible but a block of that size the color of the background of the form is (and, like I said, it cuts off portions of the input/select fields). The only way to get rid of this is by refreshing the page.
The interesting bit is that, if the popup is closed by pressing on the button that launches it, this issue does not appear. It only happens if the popup is closed by clicking on the cancel/ok links on the popup itself (bear in mind that these call the same toggle() method that the button launching the popup calls).
I've played with setting the z-index of the popup to 1000 when displayed and -1000 when hidden but that doesn't appear to accomplish anything.
I wish I could post the code but this is on an intranet site without internet access :-( Hopefully someone might have a clue based on my lengthy and long winded description!
Thanks!
Comment