56 users online (0 members and 56 guests)  


  Results 1 to 4 of 4

Related

  1. Automatic Mail (subscribing)    Forum: Website Scripts Forum
    Replies: 5
  2. Automatic Links    Forum: HTML Forum
    Replies: 1
  3. automatic download pdf    Forum: HTML Forum
    Replies: 4
  4. Replies: 8
  1. #1
    purplemonkey's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2004
    Posts
    10

    Automatic linking

    hey i was wondering how to make it so that when you go onto a page that page automaticly links you to another page.

    E.G
    http://www.neopets.com/refer.phtml?username=purplemonkeysno1

    Thanks!!

  2. #2
    dlongnecker's Avatar
    Tired Student...(Z_z)

    Status
    Offline
    Join Date
    Aug 2004
    Location
    Wichita, KS
    Posts
    86

    Lightbulb Couple different ways...

    I can't see the site you're referencing (blocked by our firewall), but there are a few ways to redirect users:

    If you're using META tags, you can just do:

    Code:
    <meta http-equiv="refresh" content="SEC;URL=URL">
    Usage: Where SEC is how long in seconds until you change, and URL is where you want to send the users.


    Second, there is a way in ASP 3.0 you can do this:

    Code:
    response.redirect "pagename.asp"
    Third, you can fall back on good 'ol JavaScript:

    Code:
    <SCRIPT LANGUAGE="JavaScript">
    window.location="http://www.yourdomainorpage.com/";
    // -->
    </script>
    Hope this helps!

    -David

  3. #3
    purplemonkey's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2004
    Posts
    10
    yeh that is exactly what i wanted thanks!!!

  4. #4
    Aysedasi's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    1

    Re: Automatic linking

    I know this is an old thread but it told me exactly what I needed to know so it seemed only fair to say thanks!



Tags for this Thread