popup window not working
Posted: Wed Jun 16, 2004 1:57 am
Hi, I'm just now learning javascript (after finding out that it's useful in saving bandwidth) and I was just testing this function to make a popup window but it doesnt seem to be working, and i have this other line of code [ window.status="some text"; ] that will only work when the function is not active.
heres the function by the way:
and i use <a href="javascript: popup()"></a> to call it. thanks for any help ahead of time.
heres the function by the way:
Code: Select all
function popup()
{
testwindow=window.open
("url", "name","status=1, toolbar=1,
width=300, height=200");
testwindow.moveto(100,100);
}