467,161 Members | 999 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

Meta tags target parent?

The1corrupted
100+
Alright, I have a meta tag and I'm working with frames, so I want the meta tag to target the good ol' "_parent" put when I put this code in..
Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv='refresh' content='0; url=exampleurl.html' target='_parent'>
  2.  
It doesn't work like I want it to.
Apr 1 '07 #1
  • viewed: 19723
Share:
9 Replies
KevinADC
Expert 2GB
I think you need to explain in more detail exactly what you are trying to do.
Apr 1 '07 #2
Expert 1GB
I think you need to explain in more detail exactly what you are trying to do.
Kevin, whats with all these META tag posts lately?
Apr 1 '07 #3
drhowarddrfine
Expert 4TB
By itself, the meta tag doesn't do anything.
Apr 1 '07 #4
The1corrupted
100+
I think you need to explain in more detail exactly what you are trying to do.
I'm working with the evil frames and, well, I want to kill them with a Meta tag...
Apr 1 '07 #5
KevinADC
Expert 2GB
Kevin, whats with all these META tag posts lately?
Wish I knew....
Apr 1 '07 #6
The1corrupted
100+
Aaaanyway... I need a <meta> tag to target a parent, if possible because this is used for a log out function in PHP. When you log out, all frames should be gone and the only way I know how to do that is to have a link target the '_parent'. I tried it with a meta tag and it didn't work. Suggestions?
Apr 1 '07 #7
Expert 1GB
Aaaanyway... I need a <meta> tag to target a parent, if possible because this is used for a log out function in PHP. When you log out, all frames should be gone and the only way I know how to do that is to have a link target the '_parent'. I tried it with a meta tag and it didn't work. Suggestions?
Maybe this is more of a PHP question?
Apr 2 '07 #8
KevinADC
Expert 2GB
target="_parent" is the correct attribute and value to use to bust out of a framed document. Try like this:

Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv='refresh' content='0; url=exampleurl.html target=_parent'>
note I changed the quoting. If that does not work, the meta tag may not recognize anything after the URL.
Apr 2 '07 #9
The1corrupted
100+
target="_parent" is the correct attribute and value to use to bust out of a framed document. Try like this:

Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv='refresh' content='0; url=exampleurl.html target=_parent'>
note I changed the quoting. If that does not work, the meta tag may not recognize anything after the URL.
Gotcha, thanks.
Apr 3 '07 #10

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Cezary | last post: by
1 post views Thread by Darren Blackley | last post: by
19 posts views Thread by Christian Hvid | last post: by
24 posts views Thread by Day Bird Loft | last post: by
2 posts views Thread by localhost | last post: by
4 posts views Thread by clintonG | last post: by
16 posts views Thread by Edward | last post: by
2 posts views Thread by thetechturf.com | last post: by
4 posts views Thread by King Coffee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.