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 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2006
    Posts
    42
    Thanks
    3
    Thanked 0 Times in 0 Posts

    page refreshing issue

    Hi

    here's a few lines of code I've got in a page that has a php database query in it and I want it to arrive at the anchor link I have called "bottom each time"

    Code:
    <script language="javascript">
    
    function loadPage()
      {    
    	location.href = "http://www.mysite.com/help/chat/chat_window.php?theID=<?php echo $id; ?>";    
      }
    
    </script>
    
    
    </head>
    
    <body bgcolor="#CCCCCC" onLoad="setTimeout('loadPage()',20000)">
    The page has enough data to produce scrollbars.

    Is there something I'm doing wrong?

  • #2
    Senior Coder
    Join Date
    Apr 2005
    Posts
    1,051
    Thanks
    0
    Thanked 0 Times in 0 Posts
    try document.scrollY
    public string ConjunctionJunction(string words, string phrases, string clauses)
    {
    return (String)(words + phrases + clauses);
    }
    <--- Was I Helpfull? Let me know ---<


  •  

    Posting Permissions

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