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 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    It wont work in Netscape!

    ok here is the problem in detail!

    my webpage is located like this

    htdocs/
    logs/
    system/
    default.htm

    and my webpage is under the htdocs/forum/portal_content.asp

    now as u see above there is a default.htm file this file contains this: ( read on after code at the bottom )

    <head>
    <meta http-equiv="refresh"
    content="0; url=http://www.xtreme-muscle.com/forum/portal_content.asp">
    <meta http-equiv="refresh" content="1&quot;;">
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
    <title>Please Wait Redirecting....</title>
    </head>

    <body>

    <p>&nbsp;</p>
    </body>
    </html>
    -------------------------------------------------
    when people go to my webpage they type in www.something.com right? then the default.htm kicks in and redirects them to the portal_content.asp file since the portal_content isnt name default so it wont start up when you type in www.something.com

    but the redirect code above doesnt work with netscape! all it does is keep on refresing! works fine with IE 5x any suggestions?

    cant i just take the portal content file and rename it to default.asp and put it in the place of the htm file? but then it wont stay updated cuz it updates automaticly.

    thanks

  • #2
    Regular Coder
    Join Date
    Oct 2002
    Posts
    380
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Frontpage strikes again. You only need one refresh tag. Try using the following page:
    Code:
    <html>
    <head>
    <meta http-equiv="refresh" content="0; url=http://www.xtreme-muscle.com/forum/portal_content.asp">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Please Wait Redirecting....</title>
    </head>
    <body>
    <p><a href="http://www.xtreme-muscle.com/forum/portal_content.asp">Redirecting.  If the page does not change, please click here.</a></p>
    </body>
    </html>

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks i tried that but then it adds the front page thing again! i dont know why

  • #4
    Regular Coder
    Join Date
    Oct 2002
    Posts
    380
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Then I have no idea. That works perfectly in Moz/NS6 (I can save the page on my machine and it does exactly as it should).

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    185
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Looks like you're missing a double quote mark:

    url=["]http://www.xtreme-muscle.com/forum/portal_content.asp"

  • #6
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by Kiwi
    Frontpage strikes again
    this is why i use notepad

  • #7
    Regular Coder
    Join Date
    Oct 2002
    Posts
    380
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by BrainJar
    Looks like you're missing a double quote mark:

    url=["]http://www.xtreme-muscle.com/forum/portal_content.asp"
    Nope. The content part of the meta is content="0;url=http://.....". Whatever the problem is, that's not it. As I said, this page (copy that code, save it as html and open it in NS) works perfectly for me.

  • #8
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by cg9com


    this is why i use notepad
    Please, for your own sanity, at least go download TextPad
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”


  •  

    Posting Permissions

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