pop up is popping under

    Date: 10/31/06 (Javascript Community)    Keywords: html, java

    i have a page that is supposed to pop open a calendar in a small window. i call it with just

    onclick="show_calendar(val1,val2,val3)"

    this pops up a little window and everything is nice. however, in internet explorer, the calendar window pops up, then drops behind the parent window. i've verified this on several machines and with several people... it's not just user error/frantic clicking.

    i assume the problem lies here:


    var vWinCal = window.open("", "Calendar","width=200,height=250,status=no,resizable=yes,top=200,left=200");
    vWinCal.opener = self;
    var calc_doc = vWinCal.document;
    calc_doc.write (str_buffer);
    calc_doc.close();


    the entire messy function, which is a modified version of this

    http://javascriptkit.com/script/script2/timestamp.shtml

    is behind the cut



    Source: http://community.livejournal.com/javascript/116175.html

« Passing variables from one... || Mootools »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home