언어 설정

Menu
Sites
Language
when new page open the before opening new page there is a blank window displays

Hi,

I have developed an application in which when a new page open then blank window displays.
Why this blank window is display and how can i resolve this.

 

 

please help me

thanks and regards

Mohit kumar

Responses

9 댓글
Palitsyna

Hello,

can you share more details, please? Your code, for example. And can you tell us, is the content of your page displayed after blanck screen or not?

mohit kumar

Hi Palitsyna,

$("#q9s1").click(function() {
    
    if ($("#q9s1").css("background-image") === bg9s1) {
        
        if(q9===0)
            {
            $("#q9s1").css("background-image", "url('images/cmst1.png')");
           
            $("#mainnd").css("background-image", "url('css/images/back5.gif')");
            setTimeout("window.open('Qten.html')", 3000);
            q9=1;
            }  
                  
    } else {
        $("#q9s1").css("background-image", "url('images/bkv2.png')");
        bg9s1 = $("#q9s1").css('background-image');
        q9=0;     
        }
});

I have set timer to open new page.Blank white page is displying before opening of "Qten.html".There is no any blank page.

please help me

thanks and regards

Mohit Kumar

 

mohit kumar

Hi,

Content of  page displayed after blanck screen.First blank screen display then content display.

 

 

thanks and regards

Mohit Kumar

Palitsyna

Hello,

I've tried this code(some simple version) and it works.

$("#selectButton").click(function() {
    $("#page").css("background-image", "url('images/2.jpg')");
    setTimeout("window.open('NewFile.html')", 3000);
});

But anyway, I recommend you not to use a string as a SetTimeout parameter. Use function instead of it, like this:

setTimeout(function() {
    window.open('NewFile.html');
}, 3000);

A blank screen is displaedfor less than one second when one page changes to another, its standard behaviour.

mohit kumar

Hi,

This is same as previous one.Is there any solution.I have developed an application but how to resolve the app to open blank screen.

 

 

please help me

Thanks and regards

Mohit Kumar

Seoghyun Kang

Hello,

 

If your files only existing on the local, you can develop it using one page.

I think it is good way for your situation.

 

You just need to use the following styles.

display:none & display:block

 

Please refer it.

 

Palitsyna

Hello,

just FYI, here you can find more information about display property. Also there you  can find some examples and try to modify some properties in given examples in 'sandbox' to see how it works:

http://www.w3schools.com/cssref/pr_class_display.asp

 

ashish kumar

thank's for reply

 

But all the Answer are not work any another solutation.....

Marco Buettner

You cannot remove the first blank page during the opener process ;)