Results 1 to 7 of 7

Thread: Whats the point of _top and _Parent, i just use _blank and _Self for targets
      
   

  1. #1
    Vigato is offline Sergeant
    Join Date
    Jan 2008
    Posts
    21

    Default Whats the point of _top and _Parent, i just use _blank and _Self for targets

    I need to know what they do please.

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Whats the point of _top and _Parent, i just use _blank and _Self for targets

    _top and _parent are used in frames to control where a link will load. If you don't use frames dont worry about it

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    Vigato is offline Sergeant
    Join Date
    Jan 2008
    Posts
    21

    Default Re: Whats the point of _top and _Parent, i just use _blank and _Self for targets

    I would like to use iframes, so i need to know more please. Please be specific and articulate.

  4. #4
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Whats the point of _top and _Parent, i just use _blank and _Self for targets

    blank : the link opens in a new window.
    top: it open in the uppermost window
    self: it opens in the same window
    parent: it opens in the window that has generated the current window. Only useful for pop ups. making the link _parent will cause the link to open in the window that has generated the popup.

    This one was posted by Watdaflip.

  5. #5
    Vigato is offline Sergeant
    Join Date
    Jan 2008
    Posts
    21

    Default Re: Whats the point of _top and _Parent, i just use _blank and _Self for targets

    Thank you

  6. #6
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Whats the point of _top and _Parent, i just use _blank and _Self for targets

    Don't know what I was thinking when I posted that Chris...

    _parent is used from within a frame to have the link act upon the window/frame outside of it.

    For instance inside a iframe if you use _parent the entire page will go to the link.

    _top to the best of my knowledge isn't used with iframe (unless there are frames within the iframe, also I don't use iframes so I never learned much about them).

    At any rate, if you are going to use an iframe, to change the content from inside the target is going to be an unique identifier, whatever you give the "name" of the iframe is the target for the link outside of it.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  7. #7
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Whats the point of _top and _Parent, i just use _blank and _Self for targets

    Don't know what I was thinking when I posted that Chris...
    I don't know CJ! Your articulation Eh!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49