Dempa
asked on
How do i create and access a "remote control"?
I need to create a "remote control" browser, that I can access via ASP. For example, if I search a database, I want the result to be displayed on this "remote control" (floating over the main browser, preferably with Stay On Top feature enabled if possible), and when I click a link in the remote it should then affect something in the first (main) browser.
If there is anyone that knows how this is done, i'd be a very happy programmer :-)
If there is anyone that knows how this is done, i'd be a very happy programmer :-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dempa
You can set the remote window properties via the function code
remote=window.open("","rem otewin","a lwaysRaise d=yes","hi eght=300", "width=200 ","etc,etc ,etc")
onLoad tells browser to launch the remote during the load process
makeRemote( ) is the function to create the new window
remote=window.open( ) is the code that gives idenity to the new window
remote.location.href( )lets the browser know where to find the new window document
if(remote.opener) statement is to name the main window opener.This is done by defult with newer browsers but this statement will handle any older browsers.
function go(url) is setup to redirect href's to the main window
santacruz
You can set the remote window properties via the function code
remote=window.open("","rem
onLoad tells browser to launch the remote during the load process
makeRemote( ) is the function to create the new window
remote=window.open( ) is the code that gives idenity to the new window
remote.location.href( )lets the browser know where to find the new window document
if(remote.opener) statement is to name the main window opener.This is done by defult with newer browsers but this statement will handle any older browsers.
function go(url) is setup to redirect href's to the main window
santacruz
ASKER
Thanx alot!
//Dennis
//Dennis
ASKER
Also, how do I set the properties of the new window? I should probably mention that I have very little experience programming Javascript...
Can this be done in ASP in VBscript code instead? If so, does anyone know how?