View Full Version : Lightwindow minimize automatically if page is not loaded fully
09-15-2009, 11:16 PM
I am using lightwindow.js for poping up a window by clicking some button. The issue is if the web page is not fully loaded, the lightwindow will come in small size, but if I click the button after the whole page is loaded, its working fine. My webpage got some advertisement which pulls from the adserver, so sometimes full page loading is some times slow. any help is appreciated
09-15-2009, 11:18 PM
Make sure that you are loading data from the server using ajax call.
If not then when you call another, the latter will wait for you data call to be finished before it is completed.
In fact to get a normal behavior you should run the processes in parallel (that's what ajax do) otherwise your processes will be in a queue and the second will wait until the first finishes execution.
Hope this was clear for you.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.