SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: JS and frames

  1. #1
    SitePoint Zealot XzAzX's Avatar
    Join Date
    Apr 2002
    Location
    Holland
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JS and frames

    k, I have 4 frames.
    Now I want that every page cant be loaded unless the other frames are set (or filled)
    like, when I Shift+Click a link, it normally opens in a new window.
    Then I want in the new window to see that there are no other frames, so it says, "You Mother! Don't try to cheat!" or something
    This is especially for PHP in my game, cause things can be done with the URL, and Frames disable that .. so .. plz hlp!
    _o_ OOP _o_

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if ( top == self )
    alert( "no frames present" )

    That help?
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    SitePoint Zealot XzAzX's Avatar
    Join Date
    Apr 2002
    Location
    Holland
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    perfect! thanks!
    _o_ OOP _o_


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
  •