SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2009
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE is not displaying the image and the message at all.

    Hi,
    I have a fucntion that runs after page loads which is supposed to show an image with “Loading Data in Progress. Please wait” message while it is pulling data.
    It is working in Firefox but IE is not displaying the image and the message at all. Can someone please help me with this.

    My image HTML is:
    Code:
    <div style="display:none;width:100&#37;;height:100%;top:0;left:0;position:absolute;background:#FFFFFF;z-Index:200;opacity:0.8;filter:alpha(opacity=80);text-align:center" id="LoadInProgress">
    		<table height="100%" width="100%" cellspacing="0" cellpadding="0">
    			<tr>
    				<td valign="middle" align="center">
    					<img src='/files/402035/91042/loading51.gif' id="Lip">
    					<br>
    					<div style='font-size:20pt;font-weight:bold;color:#697F39'>Loading Data in Progress.</div>
    					<br>
    					<b style='font-size:16pt;color:#697F39'>Please Wait.</b>
    				</td>
    			</tr>
    		</table>
    	</div>
    My Javascript is :
    Code:
    function Init()
    {
    	try 
    	{	
    		var LoadInProgress = document.getElementById("LoadInProgress");
    		document.getElementById("LoadInProgress").style.display = "block";
    		gSaveButton = document.getElementById('SaveButton');
    		gSaveButton.style.display = 'none';
    		rsCurrentLoggedInUserInfo = new ssRecordSet(null);		
    		rsCurrentLoggedInUserInfo = session_getuser(false,'','firstname,lastname');		
    		DecalareVaraiables(); 
    		FillAllClaimantName();
    		FillInsuranceCompany();
    		FillIntakeReceivedBy(rsCurrentLoggedInUserInfo.getfieldbyname(1, 'tblusers.companyid'));
    		FillRepresentingFirm();		
    		if (LoadInProgress != null) 
            		LoadInProgress.style.display = "none";  	
    	}
    	catch (err) 
    	{
    		alert(err.name + ": " + err.message); 
    	}
    Thanks

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    I suspect that it may be tricky for us to separately simulate your web page environment, what with things like ssRecordSet appearing to be .NET sort of things.

    Do you have a test page that we can look at, in order to help diagnose your problem.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2009
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by pmw57 View Post
    I suspect that it may be tricky for us to separately simulate your web page environment, what with things like ssRecordSet appearing to be .NET sort of things.

    Do you have a test page that we can look at, in order to help diagnose your problem.
    Hi, I am using JSP with Javascript. Please see attached working image of the page in Firefox.
    Attached Images Attached Images

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by asifakhtar View Post
    Hi, I am using JSP with Javascript. Please see attached working image of the page in Firefox.
    Without access to a test page, where I can investigate and experiment with things from within the browser, I won't be able to help much with this type of problem.

    I'll have to leave this for someone else.

    Good luck.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •