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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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

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;

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.
It is sorta covered in the JavaRanch Style Guide.
subject: How can I put progress bar in my child window?
Similar Threads
urgent: Why my pop-up window wouldn't show up??
pass value to new window
pop up window
refresh parent window on child window close
how to add a scroll bar on alert box to display extremely long message