Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
09-15-2009, 11:16 PM #1
- Join Date
- Sep 2009
- Thanked 0 Times in 0 Posts
Lightwindow minimize automatically if page is not loaded fully
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 #2
- Join Date
- Jun 2009
- Montreal, Canada
- Thanked 179 Times in 179 Posts
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.
Software and cathedrals are much the same - first we build them, then we pray.