Results 1 to 3 of 3

Thread: Top Left Corner Timer

  1. #1
    Join Date
    Mar 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Top Left Corner Timer

    Greetings.

    I got the script of top left corner timer and put it on the main page of my site 2thrive.co.uk with a bit of modification to put the timer on the top middle page. The timer works perfectly when I open the back up page on my computer. But the one loaded on the server doesn't show the timer. The timer is on the date counter. On the site it doesn't appear but leaves an empty space on the top of date counter. I appreciate any help.

    Regards and best wishes to every one.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I see the timer:

    8:57:38 AM
    in FF, Opera and IE. Perhaps you forgot to refresh the live page. In any case, fix these:

    Error: Unknown property 'middle'. Declaration dropped.
    Source File: http://2thrive.co.uk/
    Line: 0

    Error: SymRealWinOpen is not defined
    Source File: http://2thrive.co.uk/
    Line: 297
    That 'Line 0' for the first one means that it is in a script somewhere. It should probably be changed to 'center' or not used at all. The second is a call of some sort to SymRealWinOpen. Since that doesn't exist, just remove the whole code:

    Code:
    <script language="JavaScript">
    <!--
    var SymRealOnLoad;
    var SymRealOnUnload;
    
    function SymOnUnload()
    {
      window.open = SymWinOpen;
      if(SymRealOnUnload != null)
         SymRealOnUnload();
    }
    
    function SymOnLoad()
    {
      if(SymRealOnLoad != null)
         SymRealOnLoad();
      window.open = SymRealWinOpen;
      SymRealOnUnload = window.onunload;
      window.onunload = SymOnUnload;
    }
    
    SymRealOnLoad = window.onload;
    window.onload = SymOnLoad;
    
    //-->
    </script>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Many thanks for your kind reply.

    I will revise every thing. It is interesting, why the timer doesn't show on my computer!!!

    Quote Originally Posted by jscheuer1 View Post
    I see the timer:



    in FF, Opera and IE. Perhaps you forgot to refresh the live page. In any case, fix these:



    That 'Line 0' for the first one means that it is in a script somewhere. It should probably be changed to 'center' or not used at all. The second is a call of some sort to SymRealWinOpen. Since that doesn't exist, just remove the whole code:

    Code:
    <script language="JavaScript">
    <!--
    var SymRealOnLoad;
    var SymRealOnUnload;
    
    function SymOnUnload()
    {
      window.open = SymWinOpen;
      if(SymRealOnUnload != null)
         SymRealOnUnload();
    }
    
    function SymOnLoad()
    {
      if(SymRealOnLoad != null)
         SymRealOnLoad();
      window.open = SymRealWinOpen;
      SymRealOnUnload = window.onunload;
      window.onunload = SymOnUnload;
    }
    
    SymRealOnLoad = window.onload;
    window.onload = SymOnLoad;
    
    //-->
    </script>
    Last edited by Londoner; 03-30-2007 at 01:56 PM.

Bookmarks

Posting Permissions

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