redirect??

Discussion in 'Programming' started by candle21428, Nov 22, 2006.

  1. #1
    I am not sure what that is so I don't know where it should be posted.

    I find the following link very interesting:

    http://www.gaiaonline.com/gaia/redirect.php?r=http://www.google.com

    There is a bar/header on top of the page. I am wondering how they can do that and what programming laguage they use.

    Any idea?

    Also, if a link like that is connecting to my site, is there anyway I can change it to a normal link?

    Thx
     
    candle21428, Nov 22, 2006 IP
  2. Vonna.com

    Vonna.com Peon

    Messages:
    98
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi There!

    It's linked with a normal frame like this:

    The site coded it using php , but you can make it with normal html ( look above ).

    If you want to remove the header when it is pointing to your site, then add this javascript to your site and it will make sure that the frame is removed:


    Hope it help's you :)

    best regards Preben Eriksen,
     
    Vonna.com, Nov 22, 2006 IP
    Bondat likes this.
  3. Bondat

    Bondat Peon

    Messages:
    2,397
    Likes Received:
    217
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, its a simple frame integration. Good post Vonna.com
     
    Bondat, Nov 22, 2006 IP
  4. www.legwarmersbliss.com

    www.legwarmersbliss.com Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if you right click on the banner and click on the properties, on the address you will notice the extension .PHP. It is the language they are using..
    More info from their web site perhaps....
    http://www.gaiaonline.com/
     
    www.legwarmersbliss.com, Nov 22, 2006 IP
  5. thedark

    thedark Well-Known Member

    Messages:
    1,346
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    168
    Digital Goods:
    1
    #5
    you can do it in many ways, javascript, php, or only in html.
    There are 2 iframes. The site from your example using php to know what website to open in the second frame.
     
    thedark, Nov 22, 2006 IP
  6. candle21428

    candle21428 Well-Known Member

    Messages:
    311
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    140
    #6
    Thank you so much!!!!

    I have 2 more questions regarding the frame:

    1) Is it possible to track the activity on the lower frame (in this case the activity on google.com)?? (it seems very impossible..)

    2) From what I understand, the upper frame is still a "part of my web site", does it mean I can "track the activity" when they click on any link or button on the upper frame? (e.g. get their ip and time when they click on the return link on the upper frame or track their activity with Google analytics)?

    Thanks for the info. You guys are being so helpful.
     
    candle21428, Nov 22, 2006 IP