You are here: Re: Window control « HTML « IT news, forums, messages
Re: Window control

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>
....

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация