|
Posted by mbstevens on 10/16/07 17:41
mbstevens wrote:
> Investigate the openRemote() function. Remote control windows are
> (unfortunately) quite common on the net.
>
This is not a built-in function.
Details...
.....
var remote = null;
window.name = "content";
function
openRemote(contentURL, windowName,x,y){
wh='height=' + y + 'width=' + x;
remote=window.open(zotURL,windowName,wh);
remote.focus();
}
.....
<<This was adapted from Teague's DHTML book.>>
The control window can use calls like:
....
<a href= "x.html" target="content"> xstuff </a>
....
openRemote is called with stuff like:
....
<a href="javascript::openRemote('remote.html','remote', 200,500)">Open Controls</a>
....
[Back to original message]
|