How to force user to not click until javascript has loaded (lightbox) -


I have a large JS lightbox gallery and in a hurry, users can click thumb before loading on the page, The result of opening the actual image without this "cool" JS popup effect.

Do users have good ways to "force" the user to finish loading before clicking?

Thank you very much

The best way to get it is transparent or slightly brown Filling the color box will fit the entire page with a very high-order value so it sits above all other elements.

The move with this is that you want to put it in the original HTML so that it is any other processing and the user has a chance to react. After that, just remove it by JS, once all other loading pages have been done.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -