popup window
I am working on a popup window while I am testing AW controls. The following javascript works fine:
var win;
function pop(){
win=window.open('','');
win.moveBy(100,100);
}
However, if I use a separate function to operate "win.moveBy(100,100);", I got error.
var win;
function pop(){
win=window.open('','');
}
function move(){
win.moveBy(100,100);
}
What am I wrong?
Thanks,
var win;
function pop(){
win=window.open('','');
win.moveBy(100,100);
}
However, if I use a separate function to operate "win.moveBy(100,100);", I got error.
var win;
function pop(){
win=window.open('','');
}
function move(){
win.moveBy(100,100);
}
What am I wrong?
Thanks,
mrhsh
June 16,