...

View Full Version : remote control



donnacooke
03-07-2004, 01:56 AM
is there any way to keep the remote control always on top?:)

missing-score
03-07-2004, 02:08 AM
hi, welcome to the forums...


what exactly do you mean by "remote control"?

donnacooke
03-07-2004, 04:07 AM
this is the code i got from webabstract with my pages.
i would like for the remote to always be on top even when someone clicks on a link on the webpage. Is it possible?
Thank you for your reply.

<html>
<head>
<title>Where would you like to go?</title>
<script>
<!--
function remote2(url){
window.opener.location=url
}
//-->
</script>
</head>

<body bgcolor="ffffff">
<div align="left">

<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFF00">
<tr>
<td width="100%"><p align="center"><strong><big><font face="Arial">Remote Control</font></big></strong></td>
</tr>
</table>
</div>

<p align="left"><font face="Arial" size="2"><a
href="javascript:remote2('http://home.att.net/~cooke.donna/DonnasHomepage.html')"><strong>DonnasHomepage</strong></a></font></p>

<p align="left"><font face="Arial"><a href="javascript:remote2('http://home.att.net/~cooke.donna/JerrysHomepage.html')"><strong><small>Jerry's Homepage</small></strong></a></font></p>

<p align="left"><a href="javascript:remote2('http://home.att.net/~cooke.donna/LorisHomepage.html')"><font face="Arial"
size="2"><strong>Lori's Homepage</strong></font></a></p>

<p align="left"><a href="javascript:remote2('http://home.att.net/~cooke.donna/MyFavoritePlacesToGo.html')"><small><font
face="Arial"><strong>Neat Places</strong></font></small></a></p>

<p align="left"><font face="Arial" size="2"><a
href="javascript:remote2('http://home.att.net/~cooke.donna/GodsPage.html')"><strong>What God Can't Do</strong></a></font></p>

<p align="left"><a href="javascript:remote2('http://home.att.net/~cooke.donna/SearchEngines.html')"><font face="Arial" size="2"><strong>Search Engines</strong></font></a></p>

<p align="left"><a
href="javascript:remote2('http://home.att.net/~cooke.donna/KidsPage.html')"><font
face="Arial" size="2"><strong>My Family</strong></font></a></p>

<p align="left"><a
href="javascript:remote2('http://home.att.net/~cooke.donna/NewPages.html')"><font
face="Arial" size="2"><strong>New Pages</strong></font></a></p>


</body>
</html>

Antoniohawk
03-07-2004, 07:05 AM
This script has a definite possibility of pissing the hell out of the client, but here it is anyways. Changes to your file made in red.

It's late, so don't take the following rant personally. Anytime I give code to someone, it is usually not my own, I'll be honest. I am not the best programmer around, though probably not the worst. What I do know is that whenever I need to find an answer, I use google. I try my best to help people and by looking it up on google, I learn just as much as you do. From now on I will be keeping a running total of the help I have provided from the search results of my good ol' buddy google. So, the point of all of this is that if I can spend 5 minutes looking for the answer, so could you. I'm definitely not complaining, ok maybe a little, but I am learning also. Good luck in your programming ventures and happy googling.



<html>
<head>
<title>Where would you like to go?</title>
<script>
<!--
function remote2(url){
window.opener.location=url
}

var OnTop = true;
function ChangeOnTop()
{
if (OnTop) OnTop = false;
else if (!OnTop)
{
OnTop = true;
self.focus();
}
}

function FocusMe()
{
if (OnTop) setTimeout("self.focus()",250);

}

//-->
</script>
</head>

<body bgcolor="ffffff" onBlur="FocusMe()">
<div align="left">

<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFF00">
<tr>
<td width="100%"><p align="center"><strong><big><font face="Arial">Remote Control</font></big></strong></td>
</tr>
</table>
</div>

<p align="left"><font face="Arial" size="2"><a
href="javascript:remote2('http://home.att.net/~cooke.donna/DonnasHomepage.html')"><strong>DonnasHomepage</strong></a></font></p>

<p align="left"><font face="Arial"><a href="javascript:remote2('http://home.att.net/~cooke.donna/JerrysHomepage.html')"><strong><small>Jerry's Homepage</small></strong></a></font></p>

<p align="left"><a href="javascript:remote2('http://home.att.net/~cooke.donna/LorisHomepage.html')"><font face="Arial"
size="2"><strong>Lori's Homepage</strong></font></a></p>

<p align="left"><a href="javascript:remote2('http://home.att.net/~cooke.donna/MyFavoritePlacesToGo.html')"><small><font
face="Arial"><strong>Neat Places</strong></font></small></a></p>

<p align="left"><font face="Arial" size="2"><a
href="javascript:remote2('http://home.att.net/~cooke.donna/GodsPage.html')"><strong>What God Can't Do</strong></a></font></p>

<p align="left"><a href="javascript:remote2('http://home.att.net/~cooke.donna/SearchEngines.html')"><font face="Arial" size="2"><strong>Search Engines</strong></font></a></p>

<p align="left"><a
href="javascript:remote2('http://home.att.net/~cooke.donna/KidsPage.html')"><font
face="Arial" size="2"><strong>My Family</strong></font></a></p>

<p align="left"><a
href="javascript:remote2('http://home.att.net/~cooke.donna/NewPages.html')"><font
face="Arial" size="2"><strong>New Pages</strong></font></a></p>


</body>
</html>

donnacooke
03-07-2004, 08:50 AM
Sorry Antoniohawk,
it didn't work, the pages would not show up at all, but i do appreciate your help.
thank you

Antoniohawk
03-07-2004, 08:52 PM
Try the code now, something didn't get changed to red text.

donnacooke
03-07-2004, 10:50 PM
Antoniohawk,
sorry - still doesn't work, if you like you can go here to see what it does:

http://home.att.net/~cooke.donna/

Thanks for your reply

Antoniohawk
03-07-2004, 11:39 PM
Try this:

donnacooke
03-07-2004, 11:48 PM
:thumbsup:
Wow! Thank you so much! It works great. You are the greatest!
Donna



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum