jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes How can I put progress bar in my child window? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How can I put progress bar in my child window?" Watch "How can I put progress bar in my child window?" New topic
Author

How can I put progress bar in my child window?

Ashwani Yadav
Ranch Hand

Joined: May 23, 2002
Posts: 33
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

Joined: Apr 03, 2002
Posts: 95
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I put progress bar in my child window?
 
Similar Threads
how to add a scroll bar on alert box to display extremely long message
refresh parent window on child window close
urgent: Why my pop-up window wouldn't show up??
pass value to new window
pop up window