Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I put Progress bar for my new window(child)?

Status
Not open for further replies.

ashpassword

Programmer
Jun 19, 2002
19
IN
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?
 
You could put a <div> over the top with any code you want in it. A proper progress bar is quite hard though. You'd have to have a routine linked to by every object using onload. If your content is flash of course, there is a built in progress bar facility.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top