Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9

Thread: remote control

  1. #1
    New Coder
    Join Date
    Mar 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question remote control

    is there any way to keep the remote control always on top?

  • #2
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi, welcome to the forums...


    what exactly do you mean by "remote control"?

  • #3
    New Coder
    Join Date
    Mar 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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>

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    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.

    Code:
    <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>
    Last edited by Antoniohawk; 03-07-2004 at 08:51 PM.

  • #5
    New Coder
    Join Date
    Mar 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry Antoniohawk,
    it didn't work, the pages would not show up at all, but i do appreciate your help.
    thank you

  • #6
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Try the code now, something didn't get changed to red text.

  • #7
    New Coder
    Join Date
    Mar 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #8
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Try this:

  • #9
    New Coder
    Join Date
    Mar 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wow! Thank you so much! It works great. You are the greatest!
    Donna


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •