|
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
|