O
OJ
Hi,
This works to maximize the window, but wants to load yahoo locally :
C:\WINDOWS\Desktop\www.yahoo.com
<html>
<script type="text/javaScript">
<!--
function test() {
qwe = window.open("www.yahoo.com","");
qwe.moveTo(0,0);
qwe.resizeTo(screen.availWidth,screen.availHeight);
}
// -->
</script>
<a href = "javascript:void(0)" onClick="test()">test</a>
Adding http:// before the www.yahoo.com opens to yahoo, but IE 5.5
gives an error "access is denied" upon hitting the qwe.moveTo line.
What's the deal-e-o here? Anyone have a clue what I've screwed up?
oj
This works to maximize the window, but wants to load yahoo locally :
C:\WINDOWS\Desktop\www.yahoo.com
<html>
<script type="text/javaScript">
<!--
function test() {
qwe = window.open("www.yahoo.com","");
qwe.moveTo(0,0);
qwe.resizeTo(screen.availWidth,screen.availHeight);
}
// -->
</script>
<a href = "javascript:void(0)" onClick="test()">test</a>
Adding http:// before the www.yahoo.com opens to yahoo, but IE 5.5
gives an error "access is denied" upon hitting the qwe.moveTo line.
What's the deal-e-o here? Anyone have a clue what I've screwed up?
oj