I have a jQuery dialog box on my website. I give a div on the page the “dialog” id it’s contents become the contents of the dialog box. However, when the page is loading, this div appears at the top of the page and looks bad. Does anyone know how to deal with this?
Share
Just hide your div via your CSS file:
This will not affect its actual display when the dialog is opened.
I tested to be sure, and this method worked with jQuery UI 1.7.2