How to reload page

Discussion in 'HTML & Website Design' started by gartar, Apr 10, 2008.

  1. #1
    Hello,

    I want to create html file that will reload a page.

    I created this code, and save it as html:

    <html>
    <head>
    <meta http-equiv=”refresh” content=2;url="http://www.mysite.com”>
    </head>

    <body>
    <iframe src=”http://www.mysite.com” width=”50%”>
    </iframe>
    </body>
    </html>

    but when I load the page I see:

    Firefox can't find the file at /C:/Documents and Settings/com.COM-A55274F9C7A/My Documents/”http://www.mysite.com”

    Can you please help me?
     
    gartar, Apr 10, 2008 IP
  2. swcAndrew

    swcAndrew Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think you have your quotes mixed up. The first quote should be in front of 2, like:

    <meta http-equiv="refresh" content="2;url=http://www.mysite.com”>

    That should be the fix
     
    swcAndrew, Apr 10, 2008 IP
  3. gartar

    gartar Peon

    Messages:
    220
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    gartar, Apr 10, 2008 IP
  4. Kirkbride

    Kirkbride Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you viewing the page locally? If so, maybe try posting it to a server and viewing it from there. That might have something to do with it.

    Another thing to try is just using the file name for the URL value. So instead of url=http://www.mysite.com you'd put url=index.html.

    And if you're just trying to reload the page, I believe you can even leave the url part out, like this

    meta http-equiv="refresh" content="2"
     
    Kirkbride, Apr 10, 2008 IP
  5. lastMinutes

    lastMinutes Peon

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    - I agree. :)
     
    lastMinutes, Apr 10, 2008 IP