IE browser freezes when opening popup from sidebar

I have a sidebar application and the sidebar acts as a parent window. This parent window will open a chat popup by clicking the link. The problem is that when we try to close the IM popup and reopen the IM popup, there is a long time delay for the IM popup to open again (IN ie6 the page cannot be loaded). These problems are only visible in the IE browser. IT works fine in Firefox. Actually Why did this only happen for the IE browser? Is this related to any permission issue?

The code is here,

a class = "IM" href = "#" title = "IM" onclick = 'openWindow (" http: //localhost/myproject/web/run.php " "MyWindow", "Width = 250, height = 250, state = 1 ") '> I.M.

function openWindow(url,name,status)

      

{

try

{

    var WindowsNames = url.split('=');
            //Creating the contact object
    contact = rosterObj.roster[WindowsNames[1].toLowerCase()]['contact'];
            // Check whether the window connection object 'contact.chatW' exists and if there is already chat window opened 'contact.chatW.closed'
    if(contact.chatW && !contact.chatW.closed)
    {
        //Cheking for appending the chat message
        if(contact.chatW.name == name)
        {

        }
        //if the window is not opened, open the IM pop up window
        else
        {
            contact.chatW = window.open(url,name,status);
        }
    }
    //IF both the connection object and IM window is opened, will open a new pop up window
    else
    {
        contact.chatW = window.open(url,name,status);
    }
}
catch(e)
{
}

      

}

Thank you Raju

+2
internet-explorer permissions popup parent-child sidebar


source to share


No one has answered this question yet

Check out similar questions:

281
Stop Visual Studio when starting a new browser window when starting debug?
20
Handling browser popups with Selenium
7
File download initialization that works well even in IE?
five
how to make window.open popup Modal?
3
Permission Denied trying to close window.open in IE
2
Installing the pusher in the browser window with the sidebar open
0
Left sidebar disabled by browser window
0
How do I open the survey window when the page is closed?
0
Firefox open.window Javascript does not support bookmark sidebar in new window and Ctrl-B is disabled
-five
How to create a website or popup that will hang in the browser



All Articles
Loading...
X
Show
Funny
Dev
Pics