[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
New plugin: US TV-Show Guide
05-19-2009, 01:03 PM
Post: #31
RE: New plugin: US TV-Show Guide
Currently the back"return button should toggle the popoup between visble/hidden - why would anything change if just changed to use the "info" button instead? Is the problem that i am not allowed to use the back/return button from a plugin? Anyway "enter" should also workUndecided
(05-19-2009 12:59 PM)michael1t Wrote:  Why not just program it to use the Info button ...
Then you could make it info on and info off ...
Michael T.

My setup: Popcorn Hour A-110 - Panasonic TH-37PX70 - Samsung BD-P2500 - Yamaha RX-V550
[Image: userbar93650.gif]
Visit this user's website Find all posts by this user
05-19-2009, 01:08 PM (This post was last modified: 05-19-2009 01:10 PM by excal.)
Post: #32
RE: New plugin: US TV-Show Guide
hmmm

I see what you're trying to do but for what ever reason its not working... are you sure you don't have tvid="back" anywhere else in the code?

If not give this a try... I use this method in my jukebox skin a lot.


Code:
<script type="text/javascript">
function popup()
{
  var temp = document.styleSheets[1].cssRules[0].style
  if ( temp.visibility == 'visible' )
   {
    document.styleSheets[1].cssRules[0].style.visibility="hidden";
            document.styleSheets[1].cssRules[1].style.visibility="hidden";
            document.styleSheets[1].cssRules[2].style.visibility="hidden";
            document.styleSheets[1].cssRules[3].style.visibility="hidden";    
            document.styleSheets[1].cssRules[4].style.visibility="hidden";
            document.styleSheets[1].cssRules[5].style.visibility="hidden";
            document.styleSheets[1].cssRules[6].style.visibility="hidden";
            document.styleSheets[1].cssRules[7].style.visibility="hidden";
            document.styleSheets[1].cssRules[8].style.visibility="hidden";
            document.styleSheets[1].cssRules[9].style.visibility="hidden";
            document.styleSheets[1].cssRules[10].style.visibility="hidden";
            document.styleSheets[1].cssRules[11].style.visibility="hidden";

  }
  else
   {
            document.styleSheets[1].cssRules[0].style.visibility="visible";
            document.styleSheets[1].cssRules[1].style.visibility="visible";
            document.styleSheets[1].cssRules[2].style.visibility="visible";
            document.styleSheets[1].cssRules[3].style.visibility="visible";    
            document.styleSheets[1].cssRules[4].style.visibility="visible";
            document.styleSheets[1].cssRules[5].style.visibility="visible";
            document.styleSheets[1].cssRules[6].style.visibility="visible";
            document.styleSheets[1].cssRules[7].style.visibility="visible";
            document.styleSheets[1].cssRules[8].style.visibility="visible";
            document.styleSheets[1].cssRules[9].style.visibility="visible";
            document.styleSheets[1].cssRules[10].style.visibility="visible";
            document.styleSheets[1].cssRules[11].style.visibility="visible";

    
}
  return false
}
</script>
Find all posts by this user
05-19-2009, 01:20 PM
Post: #33
RE: New plugin: US TV-Show Guide
Yes, i only use "back" once... Maybe i should just try to change the key, but still the "enter" should work. I will try changing the JS to what you wrote, when i get home later today.

Can you confirm whether the show-block is still highlighted after the page-reload which happens when you the first time press "enter" on a show-block? The show-block should still be highlighted eventhough the popup is shown above it - this is in order for the "enter" popuphide to work.

If everything else fails, i'll just make a page-reload when the popup should be hidden. I am sure that that approach will work, but it shouldn't be necessaryUndecided

If someone should be interested in bug-finding, here is the complete JS/html with a popup loadedBig Grin:
PHP Code:
<!-- US TV Show Guide v1.0 -->
<!-- 
AllanMC Copyright © 2009All Right Reserved -->
<
html>
<
title>US TV Show Guide</title>
<
head>
    <
meta http-equiv="Pragma" content="no-cache">
    <
meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <
meta SYABAS-FULLSCREEN>
    <
meta SYABAS-PLAYERMODE="msp">
    
<
script type="text/javascript">
    var 
popupon=0;
    function 
popup() {
        if (
popupon==0) {
            
document.styleSheets[1].cssRules[0].style.visibility="hidden";
            
document.styleSheets[1].cssRules[1].style.visibility="hidden";
            
document.styleSheets[1].cssRules[2].style.visibility="hidden";
            
document.styleSheets[1].cssRules[3].style.visibility="hidden";    
            
document.styleSheets[1].cssRules[4].style.visibility="hidden";
            
document.styleSheets[1].cssRules[5].style.visibility="hidden";
            
document.styleSheets[1].cssRules[6].style.visibility="hidden";
            
document.styleSheets[1].cssRules[7].style.visibility="hidden";
            
document.styleSheets[1].cssRules[8].style.visibility="hidden";
            
document.styleSheets[1].cssRules[9].style.visibility="hidden";
            
document.styleSheets[1].cssRules[10].style.visibility="hidden";
            
document.styleSheets[1].cssRules[11].style.visibility="hidden";
            
popupon 1;
        }
        else {
            
document.styleSheets[1].cssRules[0].style.visibility="visible";
            
document.styleSheets[1].cssRules[1].style.visibility="visible";
            
document.styleSheets[1].cssRules[2].style.visibility="visible";
            
document.styleSheets[1].cssRules[3].style.visibility="visible";    
            
document.styleSheets[1].cssRules[4].style.visibility="visible";
            
document.styleSheets[1].cssRules[5].style.visibility="visible";
            
document.styleSheets[1].cssRules[6].style.visibility="visible";
            
document.styleSheets[1].cssRules[7].style.visibility="visible";
            
document.styleSheets[1].cssRules[8].style.visibility="visible";
            
document.styleSheets[1].cssRules[9].style.visibility="visible";
            
document.styleSheets[1].cssRules[10].style.visibility="visible";
            
document.styleSheets[1].cssRules[11].style.visibility="visible";
            
popupon 0;
        }
    return 
false;
    }
    function 
hideHighlight(x){
        
document.styleSheets[0].cssRules[(x-1)].style.visibility="hidden";
    }
    function 
showHighlight(x){
        
document.styleSheets[0].cssRules[(x-1)].style.visibility="visible";
    }
</script>

<style>
    #block1_highlight{visibility:hidden;left:494;top:81;width:144;height:89;pos​ition:absolute;}
    #block2_highlight{visibility:hidden;left:600;top:81;width:144;height:89;pos​ition:absolute;}
    #block3_highlight{visibility:hidden;left:706;top:81;width:144;height:89;pos​ition:absolute;}
    #block4_highlight{visibility:hidden;left:812;top:81;width:250;height:89;pos​ition:absolute;}
    #block5_highlight{visibility:hidden;left:388;top:135;width:250;height:89;po​sition:absolute;}
    #block6_highlight{visibility:hidden;left:600;top:135;width:250;height:89;po​sition:absolute;}
    #block7_highlight{visibility:hidden;left:812;top:135;width:250;height:89;po​sition:absolute;}
    #block8_highlight{visibility:hidden;left:388;top:189;width:250;height:89;po​sition:absolute;}
    #block9_highlight{visibility:hidden;left:600;top:189;width:144;height:89;po​sition:absolute;}
    #block10_highlight{visibility:hidden;left:706;top:189;width:144;height:89;p​osition:absolute;}
    #block11_highlight{visibility:hidden;left:812;top:189;width:144;height:89;p​osition:absolute;}
    #block12_highlight{visibility:hidden;left:918;top:189;width:144;height:89;p​osition:absolute;}
    #block13_highlight{visibility:hidden;left:176;top:243;width:144;height:89;p​osition:absolute;}
    #block14_highlight{visibility:hidden;left:282;top:243;width:144;height:89;p​osition:absolute;}
    #block15_highlight{visibility:hidden;left:388;top:243;width:462;height:89;p​osition:absolute;}
    #block16_highlight{visibility:hidden;left:812;top:243;width:250;height:89;p​osition:absolute;}
    #block17_highlight{visibility:hidden;left:176;top:297;width:250;height:89;p​osition:absolute;}
    #block18_highlight{visibility:hidden;left:388;top:297;width:250;height:89;p​osition:absolute;}
    #block19_highlight{visibility:hidden;left:600;top:297;width:250;height:89;p​osition:absolute;}
    #block20_highlight{visibility:hidden;left:812;top:297;width:144;height:89;p​osition:absolute;}
    #block21_highlight{visibility:hidden;left:918;top:297;width:144;height:89;p​osition:absolute;}
    #block22_highlight{visibility:hidden;left:176;top:351;width:462;height:89;p​osition:absolute;}
    #block23_highlight{visibility:hidden;left:600;top:351;width:462;height:89;p​osition:absolute;}
    #block24_highlight{visibility:hidden;left:176;top:405;width:462;height:89;p​osition:absolute;}
    #block25_highlight{visibility:hidden;left:600;top:405;width:462;height:89;p​osition:absolute;}
    #block26_highlight{visibility:hidden;left:388;top:459;width:250;height:89;p​osition:absolute;}
    #block27_highlight{visibility:hidden;left:600;top:459;width:250;height:89;p​osition:absolute;}
    #block28_highlight{visibility:hidden;left:812;top:459;width:250;height:89;p​osition:absolute;}
    #block29_highlight{visibility:hidden;left:176;top:513;width:250;height:89;p​osition:absolute;}
    #block30_highlight{visibility:hidden;left:388;top:513;width:250;height:89;p​osition:absolute;}
    #block31_highlight{visibility:hidden;left:600;top:513;width:250;height:89;p​osition:absolute;}
    #block32_highlight{visibility:hidden;left:812;top:513;width:250;height:89;p​osition:absolute;}
    #block33_highlight{visibility:hidden;left:176;top:567;width:250;height:89;p​osition:absolute;}
    #block34_highlight{visibility:hidden;left:388;top:567;width:250;height:89;p​osition:absolute;}
    #block35_highlight{visibility:hidden;left:600;top:567;width:250;height:89;p​osition:absolute;}
    #block36_highlight{visibility:hidden;left:812;top:567;width:250;height:89;p​osition:absolute;}
    
</style>
<style>
    #popupbox{width:550px;height:500px;left:275px;top:78px;position:absolute;}
    #screenshot{width:480px;height:200px;position:absolute;top:100px;left:310px​;}
    #popuptext1{font-family:arial,helvetica;font-size:18px;color:white;height:18px;position:absolute;top:367px;left:310px;}
    #popuptext2{font-family:arial,helvetica;font-size:18px;color:white;height:20px;position:absolute;top:387px;left:310px;}
    #popuptext3{font-family:arial,helvetica;font-size:18px;color:white;height:20px;position:absolute;top:407px;left:310px;}
    #popuptext4{font-family:arial,helvetica;font-size:18px;color:white;height:20px;position:absolute;top:427px;left:310px;}
    #popuptext5{font-family:arial,helvetica;font-size:18px;color:white;height:20px;position:absolute;top:447px;left:310px;}
    #popuptext6{font-family:arial,helvetica;font-size:18px;color:white;height:20px;position:absolute;top:467px;left:310px;}
    #popuptext7{font-family:arial,helvetica;font-size:18px;color:white;height:20px;position:absolute;top:487px;left:310px;}
    #popuptitle{font-family:arial,helvetica;font-size:18px;color:white;position:absolute;top:310px;left:310px;}
    #episodeinfo{font-family:arial,helvetica;font-size:16px;color:#bbbbbb;position:absolute;top:335px;left:310px;}
    #episodetitle{font-family:arial,helvetica;font-size:16px;color:#bbbbbb;position:absolute;top:335px;left:465px;}
</style>
<style>
    #abc{left:69;top:103;width:120;position:absolute;}
    #cbs{left:69;top:157;width:120;position:absolute;}
    #cw{left:69;top:211;width:120;position:absolute;}
    #fam{left:69;top:265;width:120;position:absolute;}
    #fox{left:69;top:319;width:120;position:absolute;}
    #fx{left:69;top:373;width:120;position:absolute;}
    #hbo{left:69;top:427;width:120;position:absolute;}
    #nbc{left:69;top:481;width:120;position:absolute;}
    #scifi{left:69;top:535;width:120;position:absolute;}
    #usa{left:69;top:589;width:120;position:absolute;}
    
    #continuousfx{position:absolute;top:388;left:1040;width:9px;height:15px;}
    
    #blockinfo1{left:202;}
    #blockinfo2{left:308;}
    #blockinfo3{left:414;}
    #blockinfo4{left:520;}
    #blockinfo5{left:626;}
    #blockinfo6{left:732;}
    #blockinfo7{left:838;}
    #blockinfo8{left:944;}
    
body {
    background-repeat: no-repeat;
    background-position: -90px -32px;margin:0;
}
#status {
    height:537px;
    border-right:1px solid red;
    position:absolute;
    top:100px;
    left:238px;
}
</style> 
<style>
    :focus{-moz-outline-style: none;}
    img {border-style: none;}
</style>
<script type="text/javascript" src="http://nmt.mcdvd.dk/tv/pc.js"></script>
    
<link rel="stylesheet" type="text/css" href="style_hd.css">
</head>
<body background="http://nmt.mcdvd.dk/tv/images/background-new.jpg" marginwidth="0" marginheight="0" border="0" focustext="#0000CC" bgcolor="#000000" onloadset="block16" focuscolor="#66CCFF">

<table align="left" valign="top" width="1100" height="656" border="0" padding="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2" height="97" align="left" valign="top">

    <table border="0" padding="0" cellpadding="0" cellspacing="0">
    <tr><td>
    <img src="http://nmt.mcdvd.dk/tv/images/tv.png" width="75" height="75">
    </td><td align="left" valign="middle">
    <span class="logotext">US TV Show<br>Guide</span>
    </td></tr>
    </table>
</td>

</tr>
<tr>
    <td width="192" align="left" valign="bottom">&nbsp;</td>
    <td align="left" valign="top">
        <table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr><td width="312">&nbsp;</td><td width="6" class="spacer">&nbsp;</td>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    Party Food Ideas!
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    Who Wants to Be a Mi...
    </td><td width="6" class="spacer">&nbsp;</td>

    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    Who Wants to Be a Mi...
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    The View
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr><td width="206">&nbsp;</td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    The Bonnie Hunt Show
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">

    Guiding Light
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    The Price Is Right
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr><td width="206">&nbsp;</td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    The Steve Wilkos Show
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    Tyler Perry's House ...
    </td><td width="6" class="spacer">&nbsp;</td>

    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    Tyler Perry's House ...
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    The Cosby Show
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    The Cosby Show
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">

    Sabrina, the Teenage...
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    Sabrina, the Teenage...
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="418" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg4.png">
    700 Club Special Programming
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Gilmore Girls
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr>

    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Judge Mathis
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    The Morning Show& Juliet
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    The People's Court
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">

    Judge Hatchett
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="100" class="block smallblock" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg1.png">
    Judge David Young
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr>
    <td width="418" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg4.png">
    Date Movie
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="418" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg4.png">
    Little Black Book
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr>

    <td width="418" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg4.png">
    Divine Secrets of the Ya-Ya Sisterhood
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="418" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg4.png">
    Meet the Parents
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr><td width="206">&nbsp;</td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Live
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">

    Today
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Today
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Tru Calling
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Tru Calling
    </td><td width="6" class="spacer">&nbsp;</td>

    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Tru Calling
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Tru Calling
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="3"><tr><td><table border="0" padding="0" cellpadding="0" cellspacing="0"><tr>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Law & Order: Criminal Intent
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">

    Law & Order: Criminal Intent
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Law & Order: Criminal Intent
    </td><td width="6" class="spacer">&nbsp;</td>
    <td width="206" class="block" align="center" valign="middle"  background="http://nmt.mcdvd.dk/tv/images/bg2.png">
    Law & Order: Criminal Intent
    </td><td width="6" class="spacer">&nbsp;</td></tr></table></td></tr></table></td></tr></table>    </td>

</tr>
</table>


    <a href="?day=2009-05-19&block=2&select=0&show=6779" id="block1" name="block1" onkeydownset="block5" onkeyupset="" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(1);" width="7" onfocus="showHighlight(1);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=1&show=110" id="block2" name="block2" onkeydownset="block6" onkeyupset="">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(2);" width="7" onfocus="showHighlight(2);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=2&show=110" id="block3" name="block3" onkeydownset="block6" onkeyupset="">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(3);" width="7" onfocus="showHighlight(3);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=3&show=111" id="block4" name="block4" onkeydownset="block7" onkeyupset="" onkeyrightset="next">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(4);" width="7" onfocus="showHighlight(4);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=4&show=129" id="block5" name="block5" onkeydownset="block8" onkeyupset="block1" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(5);" width="7" onfocus="showHighlight(5);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=5&show=130" id="block6" name="block6" onkeydownset="block9" onkeyupset="block3">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(6);" width="7" onfocus="showHighlight(6);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=6&show=131" id="block7" name="block7" onkeydownset="block11" onkeyupset="block4" onkeyrightset="next">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(7);" width="7" onfocus="showHighlight(7);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=7&show=182" id="block8" name="block8" onkeydownset="block15" onkeyupset="block5" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(8);" width="7" onfocus="showHighlight(8);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=8&episode=861" id="block9" name="block9" onkeydownset="block15" onkeyupset="block6">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(9);" width="7" onfocus="showHighlight(9);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=9&episode=862" id="block10" name="block10" onkeydownset="block15" onkeyupset="block6">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(10);" width="7" onfocus="showHighlight(10);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=10&episode=863" id="block11" name="block11" onkeydownset="block16" onkeyupset="block7">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(11);" width="7" onfocus="showHighlight(11);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=11&episode=8425" id="block12" name="block12" onkeydownset="block16" onkeyupset="block7" onkeyrightset="next">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(12);" width="7" onfocus="showHighlight(12);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=12&episode=623" id="block13" name="block13" onkeydownset="block17" onkeyupset="" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(13);" width="7" onfocus="showHighlight(13);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=13&episode=624" id="block14" name="block14" onkeydownset="block17" onkeyupset="">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(14);" width="7" onfocus="showHighlight(14);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=14&show=17933" id="block15" name="block15" onkeydownset="block18" onkeyupset="block10">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(15);" width="7" onfocus="showHighlight(15);" border="0">
    </a>
    <a href="#block16" onclick="return popup();" id="block16" name="block16" onkeydownset="block20" onkeyupset="block12" onkeyrightset="next">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(16);" width="7" onfocus="showHighlight(16);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=16&show=92" id="block17" name="block17" onkeydownset="block22" onkeyupset="block14" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(17);" width="7" onfocus="showHighlight(17);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=17&show=93" id="block18" name="block18" onkeydownset="block22" onkeyupset="block15">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(18);" width="7" onfocus="showHighlight(18);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=18&show=94" id="block19" name="block19" onkeydownset="block23" onkeyupset="block15">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(19);" width="7" onfocus="showHighlight(19);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=19&show=95" id="block20" name="block20" onkeydownset="block23" onkeyupset="block16">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(20);" width="7" onfocus="showHighlight(20);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=20&show=96" id="block21" name="block21" onkeydownset="block23" onkeyupset="block16" onkeyrightset="next">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(21);" width="7" onfocus="showHighlight(21);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=21&show=17911" id="block22" name="block22" onkeydownset="block24" onkeyupset="block18" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(22);" width="7" onfocus="showHighlight(22);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=22&show=17828" id="block23" name="block23" onkeydownset="block25" onkeyupset="block21" onkeyrightset="next">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(23);" width="7" onfocus="showHighlight(23);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=23&show=18026" id="block24" name="block24" onkeydownset="block26" onkeyupset="block22" onkeyleftset="prev">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(24);" width="7" onfocus="showHighlight(24);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=24&show=18027" id="block25" name="block25" onkeydownset="block27" onkeyupset="block23" onkeyrightset="next">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(25);" width="7" onfocus="showHighlight(25);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=25&show=155" id="block26" name="block26" onkeydownset="block30" onkeyupset="block24" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(26);" width="7" onfocus="showHighlight(26);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=26&show=156" id="block27" name="block27" onkeydownset="block31" onkeyupset="block25">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(27);" width="7" onfocus="showHighlight(27);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=27&show=156" id="block28" name="block28" onkeydownset="block32" onkeyupset="block25" onkeyrightset="next">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(28);" width="7" onfocus="showHighlight(28);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=28&episode=924" id="block29" name="block29" onkeydownset="block33" onkeyupset="block24" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(29);" width="7" onfocus="showHighlight(29);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=29&episode=925" id="block30" name="block30" onkeydownset="block34" onkeyupset="block26">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(30);" width="7" onfocus="showHighlight(30);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=30&episode=926" id="block31" name="block31" onkeydownset="block35" onkeyupset="block27">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(31);" width="7" onfocus="showHighlight(31);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=31&episode=927" id="block32" name="block32" onkeydownset="block36" onkeyupset="block28" onkeyrightset="next">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(32);" width="7" onfocus="showHighlight(32);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=32&episode=885" id="block33" name="block33" onkeydownset="" onkeyupset="block29" onkeyleftset="prev">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(33);" width="7" onfocus="showHighlight(33);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=33&episode=886" id="block34" name="block34" onkeydownset="" onkeyupset="block30">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(34);" width="7" onfocus="showHighlight(34);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=34&episode=887" id="block35" name="block35" onkeydownset="" onkeyupset="block31">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(35);" width="7" onfocus="showHighlight(35);" border="0">
    </a>
    <a href="?day=2009-05-19&block=2&select=35&episode=889" id="block36" name="block36" onkeydownset="" onkeyupset="block32" onkeyrightset="next">

    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(36);" width="7" onfocus="showHighlight(36);" border="0">
    </a>
<a href="http://www.mspportal.com/community" id="home" name="home" onkeyupset="prev" onkeyrightset="prev" onkeyleftset="home" onkeydownset="home">
    <img src="http://nmt.mcdvd.dk/tv/images/msp_off.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/msp_on.png" width="47" height="50" border="0">
</a>

<a href="?day=2009-05-19&block=1" id="prev" name="prev" tvid="pgup" onkeyupset="block1" onkeyrightset="block1" onkeyleftset="home" onkeydownset="home">
<img src="http://nmt.mcdvd.dk/tv/images/hc_prev1.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/hc_prev_on1.png" height="67" width="37" border="0">
</a>

<a href="?day=2009-05-19&block=3" id="next" name="next" tvid="pgdn" onkeyupset="block4" onkeyleftset="block4" onkeyleftset="next" onkeydownset="next">
<img src="http://nmt.mcdvd.dk/tv/images/hc_next1.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/hc_next_on1.png" height="67" width="37" border="0">
</a>

<div id="day" class="info">
Tuesday, May 19, 2009</div>

<div id="info1" class="info">
All times EST:
</div>

<div id="info2" class="info">
Tue 8:12 am</div>

<div id="source1" class="info">
Source:
</div>

<div id="source2" class="info">

<b>TV.com</b>
</div>

<img src="http://www.google-analytics.com/__utm.gif?utmwv=1&utmn=1174996507&utmsr=-&utmsc=-&utmul=-&utmje=0&utmfl=-&utmdt=-&utmhn=mcdvd.dk&utmr=http://nmt.mcdvd.dk/tv/?day=2009-05-19&block=2&utmp=/nmt/index.php&utmac=UA-348364-6&utmcc=__utma%3D69387174.1688092183.1242735132.1242735132.1242735132.2%3B%2B_​_utmb%3D69387174%3B%2B__utmc%3D69387174%3B%2B__utmz%3D69387174.1242735132.2.2.ut​mccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D69387174.-%3B" style="visibility: hidden;">

<div id="status"></div>

<img src="http://nmt.mcdvd.dk/tv/images/cw.png" id="cw" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/nbc.png" id="nbc" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/cbs.png" id="cbs" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/abc.png" id="abc" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/fox.png" id="fox" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/usa.png" id="usa" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/hbo.png" id="hbo" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/scifi.png" id="scifi" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/fx.png" id="fx" width="120" height="45"><img src="http://nmt.mcdvd.dk/tv/images/fam.png" id="fam" width="120" height="45">

        <img src="http://nmt.mcdvd.dk/tv/images/continuous.png" id="continuousfx">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block1_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block2_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block3_highlight">

    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block4_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block5_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block6_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block7_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block8_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block9_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block10_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block11_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block12_highlight">

    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block13_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block14_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl4.png" id="block15_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block16_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block17_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block18_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block19_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block20_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block21_highlight">

    <img src="http://nmt.mcdvd.dk/tv/images/hl4.png" id="block22_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl4.png" id="block23_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl4.png" id="block24_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl4.png" id="block25_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block26_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block27_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block28_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block29_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block30_highlight">

    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block31_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block32_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block33_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block34_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block35_highlight">
    <img src="http://nmt.mcdvd.dk/tv/images/hl2.png" id="block36_highlight">

<div class="blockinfo" id="blockinfo1">8:00am</div>
    <div class="blockinfo" id="blockinfo2">8:30am</div>

    <div class="blockinfo" id="blockinfo3">9:00am</div>
    <div class="blockinfo" id="blockinfo4">9:30am</div>
    <div class="blockinfo" id="blockinfo5">10:00am</div>
    <div class="blockinfo" id="blockinfo6">10:30am</div>
    <div class="blockinfo" id="blockinfo7">11:00am</div>
    <div class="blockinfo" id="blockinfo8">11:30am</div>

    <a href="?day=2009-05-19&block=2&select=15&add=217&color=1" tvid="red"></a><a href="?day=2009-05-19&block=2&select=15&add=217&color=2" tvid="green"></a><a href="?day=2009-05-19&block=2&select=15&add=217&color=3" tvid="yellow"></a><a href="?day=2009-05-19&block=2&select=15&add=217&color=4" tvid="blue"></a>
<img id="popupbox" src="http://nmt.mcdvd.dk/tv/images/box.png" width="550" height="500">
<img id="screenshot" src="http://image.com.com/tv/images/content_headers/program_new/44.jpg">
<div id="popuptitle">
Gilmore Girls</div>
    <div id="episodeinfo">
    Season 6, Episode 9:
    </div>
    <div id="episodetitle">
    <b>The Prodigal Daughter Returns</b>

    </div>
    <div id="popuptext1">Luke becomes jealous when Lorelai receives a phone call</div>
    <div id="popuptext2">from Christopher. Luke makes a big deal about being</div>
    <div id="popuptext3">honest with each other, but when he discovers that he</div>
    <div id="popuptext4">has a daughter he never knew about, he is unsure of how</div>
    <div id="popuptext5">to tell Lorelai. After Rory moves into Lane's</div>

    <div id="popuptext6">apartment, re-enrolls in Yale, and scores herself a</div>
    <div id="popuptext7">job, Rory and Lorelai take the first...</div>

    <a href="#block16" tvid="back" onclick="return popup();" name="hidepopup"></a>
</body>
</html> 

My setup: Popcorn Hour A-110 - Panasonic TH-37PX70 - Samsung BD-P2500 - Yamaha RX-V550
[Image: userbar93650.gif]
Visit this user's website Find all posts by this user
05-19-2009, 01:27 PM
Post: #34
RE: New plugin: US TV-Show Guide
no, its no longer highlighted after the page reload....
Find all posts by this user
05-19-2009, 05:47 PM
Post: #35
RE: New plugin: US TV-Show Guide
(05-19-2009 01:27 PM)excal Wrote:  no, its no longer highlighted after the page reload....
Hmm that's strange, it should simply be set in focus (and therefore highlighted) by my use of onloadset in the body-tag. Does this also mean that for the initial loading of the app, block #1 is not highlighted before you start navigating around in the schedule?

I just changed the javascript to what you suggested, and during this i found that i did not explitcitly say "visibility:visible;" for the popup elements. Maybe that's a problem? I tried adding that also now, and crossing my fingers, for some kind of improvementBig Grin

My setup: Popcorn Hour A-110 - Panasonic TH-37PX70 - Samsung BD-P2500 - Yamaha RX-V550
[Image: userbar93650.gif]
Visit this user's website Find all posts by this user
05-19-2009, 05:50 PM
Post: #36
RE: New plugin: US TV-Show Guide
The first box is highlighted when the page loads.

I'm not sure where the focus is after the reload for the pop-up though. I'll try to look into it further tonight.
Find all posts by this user
05-20-2009, 01:25 PM
Post: #37
RE: New plugin: US TV-Show Guide
(05-19-2009 05:50 PM)excal Wrote:  The first box is highlighted when the page loads.

I'm not sure where the focus is after the reload for the pop-up though. I'll try to look into it further tonight.

Phew, glad to hear that the first block atleast is highlighted after the first page load Smile

So did you see if there were any improvements on the popup, and whether the block is still highlighted after a popup has been opened?

My setup: Popcorn Hour A-110 - Panasonic TH-37PX70 - Samsung BD-P2500 - Yamaha RX-V550
[Image: userbar93650.gif]
Visit this user's website Find all posts by this user
05-20-2009, 01:35 PM
Post: #38
RE: New plugin: US TV-Show Guide
the popup now hides itself when you press the back button....

Tho it takes two presses so i think we wanna reverse the if statement.

so try changing it from

if ( temp.visibility == 'visible' )

to

if ( temp.visibility == 'hidden' )


also there is nothing visibly in focus after the pop-up box disappears.
Find all posts by this user
05-20-2009, 01:57 PM
Post: #39
RE: New plugin: US TV-Show Guide
That sounds like kindof good news :-)

I found the press-2-times bug, and fixed that (i hope). Regarding the highlight missing when the popup has been hidden, i tried to let the onclick event return true (instead of false), so that hopefully the href "#blockXX" will result in the correct block being highlighted...

My setup: Popcorn Hour A-110 - Panasonic TH-37PX70 - Samsung BD-P2500 - Yamaha RX-V550
[Image: userbar93650.gif]
Visit this user's website Find all posts by this user
05-21-2009, 09:31 PM
Post: #40
RE: New plugin: US TV-Show Guide
I'll try to check it out tonight.
Find all posts by this user
05-22-2009, 03:23 AM
Post: #41
RE: New plugin: US TV-Show Guide
Alright the pop-up looks good. And thats disappearing after hitting the return button once.

However the box/show still doesn't get focus after the pop-up disappears.

I'm trying to remember how i did this in my yamj skin. I'll have to take a look and get back to you.

Its starting to look real good though.
Find all posts by this user
05-22-2009, 08:30 AM (This post was last modified: 05-22-2009 08:31 AM by allanmc.)
Post: #42
RE: New plugin: US TV-Show Guide
GreatBig Grin

Just to update, this is how the relevant things look now:
PHP Code:
<html>
...
<
script type="text/javascript">
    function 
popup() {
        if (
document.styleSheets[1].cssRules[0].style.visibility=='hidden') {
            
document.styleSheets[1].cssRules[0].style.visibility="visible";
            
document.styleSheets[1].cssRules[1].style.visibility="visible";
            
document.styleSheets[1].cssRules[2].style.visibility="visible";
            
document.styleSheets[1].cssRules[3].style.visibility="visible";    
            
document.styleSheets[1].cssRules[4].style.visibility="visible";
            
document.styleSheets[1].cssRules[5].style.visibility="visible";
            
document.styleSheets[1].cssRules[6].style.visibility="visible";
            
document.styleSheets[1].cssRules[7].style.visibility="visible";
            
document.styleSheets[1].cssRules[8].style.visibility="visible";
            
document.styleSheets[1].cssRules[9].style.visibility="visible";
            
document.styleSheets[1].cssRules[10].style.visibility="visible";
            
document.styleSheets[1].cssRules[11].style.visibility="visible";
        }
        else {
            
document.styleSheets[1].cssRules[0].style.visibility="hidden";
            
document.styleSheets[1].cssRules[1].style.visibility="hidden";
            
document.styleSheets[1].cssRules[2].style.visibility="hidden";
            
document.styleSheets[1].cssRules[3].style.visibility="hidden";    
            
document.styleSheets[1].cssRules[4].style.visibility="hidden";
            
document.styleSheets[1].cssRules[5].style.visibility="hidden";
            
document.styleSheets[1].cssRules[6].style.visibility="hidden";
            
document.styleSheets[1].cssRules[7].style.visibility="hidden";
            
document.styleSheets[1].cssRules[8].style.visibility="hidden";
            
document.styleSheets[1].cssRules[9].style.visibility="hidden";
            
document.styleSheets[1].cssRules[10].style.visibility="hidden";
            
document.styleSheets[1].cssRules[11].style.visibility="hidden";
        }
        return 
true;
    }
    function 
hideHighlight(x){
        
document.styleSheets[0].cssRules[(x-1)].style.visibility="hidden";
    }
    function 
showHighlight(x){
        
document.styleSheets[0].cssRules[(x-1)].style.visibility="visible";
    }

</script>
<style>
...
    #block9_highlight{visibility:hidden;left:176;top:189;width:144;height:89;po​sition:absolute;}
...
</style>
...
<body marginwidth="0" marginheight="0" border="0" focustext="#0000CC" bgcolor="#000000" onloadset="block9" focuscolor="#66CCFF">
...
    <a href="#block9" onclick="return popup();" id="block9" name="block9" onkeydownset="block13" onkeyupset="block1" onkeyleftset="prev">
    <img src="http://nmt.mcdvd.dk/tv/images/trans.png" onfocussrc="http://nmt.mcdvd.dk/tv/images/trans.png" height="7" onblur="hideHighlight(9);" width="7" onfocus="showHighlight(9);" border="0">
    </a>
...
    <img src="http://nmt.mcdvd.dk/tv/images/hl1.png" id="block9_highlight">
...
    <a href="#block9" tvid="back" onclick="return popup();" name="hidepopup" id="hidepopup"></a>
</body>
</html> 

My setup: Popcorn Hour A-110 - Panasonic TH-37PX70 - Samsung BD-P2500 - Yamaha RX-V550
[Image: userbar93650.gif]
Visit this user's website Find all posts by this user
05-22-2009, 09:34 AM
Post: #43
RE: New plugin: US TV-Show Guide
Yep had a play yesterday AM and thought it was working fine now. 99.9% of the way there now.

A400: SSD+SD Card(Apps), HDMI A300: USB(Apps), HDMI C200: USB(Apps), BD SH-B083L(SB01), HDMI
CAT6 Wired Network: TV TX-P42G20, HP ProCurve 1400-8G, Netgear GS-608/605, Synology CS407
Find all posts by this user
05-23-2009, 12:14 AM
Post: #44
RE: New plugin: US TV-Show Guide
Sounds great chris, now i have a whole month to finetune for the june contestBig Grin

excal, i tried to replace the "return false;" in popup() to just "return;", like you told someone to do in this post:
http://www.networkedmediatank.com/showth...#pid148068
I thought that problem seemed somewhat similar to mineSmile

This last small bug is getting really annoyingDodgy

My setup: Popcorn Hour A-110 - Panasonic TH-37PX70 - Samsung BD-P2500 - Yamaha RX-V550
[Image: userbar93650.gif]
Visit this user's website Find all posts by this user
05-23-2009, 12:18 AM
Post: #45
RE: New plugin: US TV-Show Guide
I did get a small bug tonight when I had a look.

Didnt take a photo im afraid but for some reason one of the stations had a show that exceeded the line to the right of the listings. The shows normally truncate so that they are all in a line on the right giving enough room for the forwards arrow. For some reason one carried on,, it was below the arrow. It just didn't look right. I'll see if I can duplicate and get a shot on my phone.

A400: SSD+SD Card(Apps), HDMI A300: USB(Apps), HDMI C200: USB(Apps), BD SH-B083L(SB01), HDMI
CAT6 Wired Network: TV TX-P42G20, HP ProCurve 1400-8G, Netgear GS-608/605, Synology CS407
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  IMDb Plugin genius995 32 14,149 04-22-2010 02:38 PM
Last Post: excal
  Arabic/Lebanese Plugin Mystro 0 1,838 12-09-2009 12:14 AM
Last Post: Mystro
Shield MSP Plugin Competition - October 2009 WINNER Last time chris57 15 6,312 11-16-2009 01:57 PM
Last Post: chris57
  New plugin: ABC Australia shane 22 10,003 11-02-2009 05:03 AM
Last Post: cevad
Shield MSP Plugin Competition - August 2009 Winner chris57 4 3,387 09-22-2009 03:26 PM
Last Post: sTyLeS
  MSP Plugin Competition Finishes chris57 6 3,604 09-21-2009 12:14 AM
Last Post: chris57
  Plugin for italians? mabiuso 16 7,742 09-09-2009 01:48 PM
Last Post: roddy
  Edit a plugin treqie 0 1,575 08-22-2009 07:23 PM
Last Post: treqie
  How do I login in MSP Internet Radio plugin? izverg 2 4,711 08-18-2009 05:20 PM
Last Post: cisco1955
  Mysoju.com , can a plugin be made? yazyazoo 1 3,193 07-31-2009 08:54 AM
Last Post: chris57

Forum Jump: