Results 1 to 2 of 2

Thread: urgent help-redirect function

  1. #1
    Join Date
    Mar 2007
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy urgent help-redirect function

    hi..
    i need urgent help in redirection function.
    i have a page(say page1.php) where i have 2 textboxes original url and redirect url.
    when i click save the user is first directed to a page(say redirect.php), displaying for 10 seconds the a message before being redirected to the redirected url.
    i am trying but unable to do it..
    Pls help its urgent.
    thanks in advance..
    Suk

  2. #2
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    Not sure if this is what you are looking for, but this is a redirect script that I found from here. I tried it out and it works fine for me.

    Code:
    <HTML>
    <HEAD>
      <TITLE>Redireccionado</TITLE> 
      <SCRIPT LANGUAGE="JavaScript">
      function redireccionar() {
        setTimeout("location.href='http://www.dynamicdrive.com'", 5000);
      }
      </SCRIPT>
    </HEAD>
    <BODY onLoad="redireccionar()">
    <P>Bla, bla, bla,...
    </BODY>
    </HTML>
    I really should learn JavaScript...

Bookmarks

Posting Permissions

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