Eliminate the Modal popup flicker

One problem with Ajax modal popup is that when the page first loads up whatever is on the popup panel will flicker on the screen.
The slower your pc or connection is the more pronounced the flicker.

After doing some research, I found the answer on this blog (it has an example).  It turns out to be really simple.  Just add style=”display:none” on your pop panel.

Poof, no more flicker.

Advertisements