jQuery Dialog - flash of unwanted content
Hi,
I am using jQuery Dialog to pop up a few forms - register, login, advanced search. These forms reside in a header that is reused in every page of the site, so the forms are always available. All of the dialog divs have options set with autoOpen:false.
My problem is this: in some browsers (I have seen it in IE7 and IE8; others have reported it occurring with Safari, though I have not seen it there), the dialogs appear when the page is loaded - not as popups, but within the page interface - then disappear.
This seems to happen the first time any specific URL is loaded, even though the dialogs are part of every page. I assume that on subsequent loads, something in the cache is telling the browser not to show those divs.
Certainly, this doesn't happen when I access the Dialog demos on IE, so I figure there's an interaction somewhere in my code that's causing it.
Has anyone seen this sort of behavior with Dialog, or have any suggestions?
Thanks in advance,
Tom