Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I put progress bar in my child window?

 
Ashwani Yadav
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Chris Reeves
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic