Dual monitor issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kssnatha
    New Member
    • Mar 2008
    • 2

    Dual monitor issue

    Hi,
    I have a issue when i open a popup in dual monitors.

    I opened a popup from my page using windows.open() method. During popup loading i used both moveTo and resizeTo methods. Its working fine with single monitor. But when working with two monitors only one half (vertical) of the popup is displayed. Its a complete popup with close,minimize buttons.

    Its in IE 6.

    Your help is appreciated.

    Regards,
    Siva
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    hi ...

    please post the call with all the parameters you use for the window.open() ...

    kind regards

    Comment

    • kssnatha
      New Member
      • Mar 2008
      • 2

      #3
      Originally posted by gits
      hi ...

      please post the call with all the parameters you use for the window.open() ...

      kind regards

      objNewWin = window.open('pa ges/lead/mspSearch.jsp', "winData","heig ht=50px,width=2 50px,status=no, toolbar=no,menu bar=no,position =no,scrollbars= yes");

      This will open a small popup.

      On submitting the popup, another page is loaded by resizing the the same popup.

      function showTitle()
      {
      window.resizeTo (725,678);
      document.title= "Informatio n";
      }
      }

      This function is called on page loading. Its a struts application

      Comment

      • rnd me
        Recognized Expert Contributor
        • Jun 2007
        • 427

        #4
        put
        Code:
        objNewWin.screenX = parseInt(screen.width/2) + 312
        after your window.open call

        Comment

        Working...