Re-Direct?

This is a discussion on Re-Direct? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I had it before, but I have forgotten the HTML for it. I'm trying to set my index.htm page as ...

  1. #1
    Registered User Fool's Avatar
    Join Date
    Aug 2001
    Posts
    335

    Re-Direct?

    I had it before, but I have forgotten the HTML for it. I'm trying to set my index.htm page as a re-direct to my forums. Does anyone know the HTML for that?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Try this...
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script>
    <!-- START HIDE

    function jmp(){
    document.location.href="http://www.cprogramming.com"
    }
    // STOP HIDE -->
    </script>
    </head>
    <body onload="setTimeout('jmp()',2500)">
    </body>
    </html>
    This gives a 2.5 second wait, but you can alter it

  3. #3
    Registered User WayTooHigh's Avatar
    Join Date
    Aug 2001
    Posts
    101
    or this...
    Code:
    <html>
    
    <head>
    <META HTTP-EQUIV="refresh" CONTENT="1; url=http://www.cprogramming.com">
    </head>
    
    <body></body>
    
    </html>
    change the value of "CONTENT" to "5" to wait 5 seconds... change it 9 to wait 9 seconds and so on...
    Last edited by WayTooHigh; 10-04-2001 at 03:21 PM.
    Sometimes, the farthest point from the center is the center itself.

    Your life is your canvas, it's only as beautiful as you paint it.

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    LOL this shows the difference between someone who knows thier code and someone like me who just uses DreamWeaver

  5. #5
    Registered User WayTooHigh's Avatar
    Join Date
    Aug 2001
    Posts
    101
    Originally posted by Fordy
    LOL this shows the difference between someone who knows thier code and someone like me who just uses DreamWeaver
    what do you mean? i've never used DreamWeaver before.
    Sometimes, the farthest point from the center is the center itself.

    Your life is your canvas, it's only as beautiful as you paint it.

  6. #6
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    he's talking about himself...maybe you are way too high right now.

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    >>what do you mean? i've never used DreamWeaver before.

    Yeah.. I wasn’t having a go at you. On the contrary, I was putting myself down

  8. #8
    Registered User WayTooHigh's Avatar
    Join Date
    Aug 2001
    Posts
    101
    Originally posted by Fordy
    >>what do you mean? i've never used DreamWeaver before.

    Yeah.. I wasn’t having a go at you. On the contrary, I was putting myself down
    oh sorry.
    Last edited by WayTooHigh; 02-01-2002 at 01:24 PM.
    Sometimes, the farthest point from the center is the center itself.

    Your life is your canvas, it's only as beautiful as you paint it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Direct Input shutting down improperly
    By Deo in forum Game Programming
    Replies: 3
    Last Post: 06-14-2005, 07:54 AM
  2. Direct x 8 include files
    By Zoalord in forum Game Programming
    Replies: 2
    Last Post: 03-17-2004, 04:07 PM
  3. Direct X
    By MicroFiend in forum C++ Programming
    Replies: 2
    Last Post: 03-21-2003, 02:34 PM
  4. Direct Music Illegal Static Member Call error
    By FwyWice in forum Game Programming
    Replies: 4
    Last Post: 11-30-2002, 05:14 PM
  5. Direct Music Trouble
    By FwyWice in forum Game Programming
    Replies: 5
    Last Post: 11-29-2002, 04:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21