how would i do this in html..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gin
    Confirmed User
    • Sep 2003
    • 672

    #1

    how would i do this in html..

    if top.location <> 'http://www.mydomain.com/' then
    location.replace("url you want")
    exit from doing what's below this..
    end if
  • VideoVoyeur
    So Fucking Banned
    • Jun 2003
    • 2181

    #2
    You can't those J A V A script calls .

    I know what your trying to do, and no, html cannot do it.

    Comment

    • gin
      Confirmed User
      • Sep 2003
      • 672

      #3
      Originally posted by VideoVoyeur
      You can't those J A V A script calls .

      I know what your trying to do, and no, html cannot do it.
      ya i mean java then.. my bad

      Comment

      • berg.the.red
        Confirmed User
        • Feb 2003
        • 596

        #4
        PHP Code:
        if (top != self) top.location=self.document.location; 
        
        o.k. --it's not actually PHP, it's j a v a-you-know-what ...
        Need a Dedicated Box with BALLS ?
        How about a Dedicated Server starting at just $49 per month.

        Comment

        Working...