October 8, 2001 - Creating Popup Windows
October 8, 2001|
Creating Popup Windows
Tips: October 2001
Yehuda Shiran, Ph.D.
innerHTML. You can use its style object to specify the
fontFamily. Try this popup window. Find it somewhere in the upper left corner of your desktop. Click anywhere to get rid of the popup window. Here is how we define it:
And here is how we call it in the above "Try" link:
You prepare the object off line, as shown above, and then display it with the
oPopup.show(100, 200, 100, 20);
show()method. This method has four parameters:
The coordinates are relative to the top left corner of your desktop.
show(x-location, y-location, width, height);
This tip is relevant to Internet Explorer 5.5 and above.