In My New Window I want to display some progress bar or showing some messages like "Generating..." before generating PDF and HTML document. I am opening a new window as follows: var ScreenWidth=window.screen.width; var ScreenHeight=window.screen.height; var movefromedge=0; placementx=(ScreenWidth/2)-((800)/2); placementy=(ScreenHeight/2)-((500+50)/2);
WinPop=window.open(URL,"","width=800,height=500,toolbar=0,location=0,directories=0,status=1,scrollbars=1,menubar=1,resizable=1,left="+placementx+",top="+placementy+",screenX="+placementx+",screenY="+placementy+","); How can I achieve this?
I'm not clear on exaclty what you are looking for... If you are opening a window, you can place text in that window that says, "Generating...". It seems you're already doing that, so... The trick here would be closing this window after the generation is complete (without using frames - and if you use frames, why open another window?). I believe it would be time better spent to tweak the code that is generating the html/pdf/whatever to be faster.