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!

Page is fully loaded but IE Progress Bar Never Completes

Status
Not open for further replies.

mattdrinks

Technical User
Oct 2, 2002
43
GB
I have the following code in the onlick event of a button:
Code:
	//Create a unique family id
	var strFamilyName = window.document.forms[0].CPMainFamilyName.value;
	var dteNow = new Date();
	var strNumber = new String(dteNow.getTime());
	var strFamilyID = new String(strFamilyName.substr(0,5) + strNumber);
	window.document.forms[0].CPMainFamilyID.value = strFamilyID;
	
	//Submit the form
	window.document.forms[0].submit();
	
	//Show the document just saved in the top (header) frame
	var strLocation = new String(parent.window.location);
	var str1 = new String(top.window.location.protocol + "//" + parent.window.location.host + "/");
	var str2 = new String(strLocation.substring(str1.length, (strLocation.indexOf("nsf")+3)));
	var str3 = new String("/webAllFamilies/");
	var str5 = new String("?OpenDocument");
	strLocation = str1 + str2 + str3 + strFamilyID + str5;
[highlight]	parent.fraHeader.document.location = strLocation; [/highlight]

When the page is loaded in IE the page loads correctly but the progress bar at the bottom of the screen never completes. If I take out the Highlighted line then the progress bar completes as normal.

Everything seems to work Ok in FF and NS.

This does not stop the functionallity of the page but it does confuse the user, does anyone have any ideas as to why this is happening and how I go about could fixing it.

Thanks for any help,

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top