...

View Full Version : popup window placement



vampy
08-04-2002, 12:00 PM
Hello!
I want to popup a window on the bottom right side of the screen.
Do you know how to do that by using JavaScript? If yes try to write a code for it. Thanks!
Note that my code looks like below:

//Popup Window Script

function openpopup()
{
var popurl="popuppSMS.html"
winpops=window.open(popurl,"","width=360,height=240,")
}

Mr J
08-04-2002, 12:40 PM
You need to include LEFT and TOP attributes

function openpopup()
{
var popurl="popuppSMS.html"
winpops=window.open(popurl,"","width=360,height=240,LEFT=0,TOP=300")
}

Adjust to suit your page

vampy
08-04-2002, 12:55 PM
Thanks Mr J for your hints. It is working properly.

vampy
08-04-2002, 02:30 PM
Thanks Mr J for your hints. It is working properly.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum