1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Checking if the frame is being viewed within the site...

Discussion in 'HTML & Website Design' started by bobisawsome7, Aug 3, 2006.

  1. #1
    I am working on a new website for web devlopers and graphic designers who use Fireworks. I am planning to have the website use frames (easier for me to make and maintain)...

    How can I have a framed page check that it is being viewed on the website and not by itself, and redirect to the website if it is?

    Please help :) willing to pay a few bucks to the guy who helps me out with this.

    -Anmar
     
    bobisawsome7, Aug 3, 2006 IP
  2. vtechno42

    vtechno42 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What's the backend of the frame in? Just HTML? PM me the details, I can help.
     
    vtechno42, Aug 3, 2006 IP
  3. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Just use JavaScript to compare "top.location" to what the frameset page should be.
     
    Gordaen, Aug 3, 2006 IP
  4. bobisawsome7

    bobisawsome7 Notable Member

    Messages:
    1,466
    Likes Received:
    104
    Best Answers:
    0
    Trophy Points:
    200
    #4
    It is HTML.

    Gordaen, I know nothing about Javascript :(
     
    bobisawsome7, Aug 3, 2006 IP