Submit Your Article Forum Rules

Results 1 to 3 of 3

Thread: Refresh Once! and I'm Done

  1. #1

    Refresh Once! and I'm Done

    I'm doing this on a website for a client "<meta http-equiv=refresh content=3600>" which shows that the website will refresh every hour.

    The problem is, the browser doesn't parse the CSS consistently on IE 6. It's only after the person refreshes the website that the website is then viewed correctly.

    I want the meta tag command to refresh one second after the website comes up, and then never again. Could someone show me?

    I've tried "<meta http-equiv=refresh content=1, 3600>" where, in my thinking, it would refresh once, and then wouldn't refresh for another hour or so.

    Let me know. Thx

    -Clif

    by the way, the website is www.iseoyou.com/debtzero/index.html
    Clif Thompson

  2. #2
    WebProWorld MVP DaveSawers's Avatar
    Join Date
    Dec 2006
    Location
    Lunenburg, Nova Scotia, Canada
    Posts
    763

    Re: Refresh Once! and I'm Done

    Quite why you think anyone would hang around on a site for an hour before it refreshes is beyond my understanding.

    If the CSS doesn't work properly without a refresh, then there's probably a coding error somewhere that needs sorting out.
    Dynamic Software Development
    www.activeminds.ca

  3. #3
    Senior Member
    Join Date
    Aug 2006
    Posts
    406

    Re: Refresh Once! and I'm Done

    That's funny TheBrownRecluse...people in the 80s where wondering what computers would be good for...there's always a reason but anyways DS, I've tried writing something for you below but when I tried it on my server it fricken went nuts and refreshed in a loop indefinitely...

    This could be a starter for you...combined with your meta refresh tag the only thing is with this it would reload the page and the meta tag would refresh the page again thus refreshing it twice an our within seconds...I'm thinking PHP might help you...

    <script>
    <!--

    setTimeout("SetPgColor()", 60000);
    window.location.replace("http://www.yoursite.com")

    // -->
    </script>

    There is something I found for you here that may help you on your way....javascript page refresh [Archive] - CodingForums.com

Similar Threads

  1. 508 Refresh Report
    By Webnauts in forum Accessibility and Usability Forum
    Replies: 0
    Last Post: 04-08-2008, 02:06 PM
  2. Meta refresh
    By dakster in forum Google Discussion Forum
    Replies: 0
    Last Post: 05-31-2006, 06:25 AM
  3. Meta refresh for refresh content
    By rupalis in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 09-05-2005, 03:42 AM
  4. MSN Refresh?
    By CraigAllen in forum MSN Search Discussion Forum
    Replies: 2
    Last Post: 11-08-2004, 03:22 PM
  5. Refresh Question
    By iamrussell in forum Web Programming Discussion Forum
    Replies: 5
    Last Post: 09-30-2004, 04:07 PM

Posting Permissions

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