Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

am i part of a frames page?

Status
Not open for further replies.

seanbo

Programmer
Jun 6, 2003
407
GB
some of the frames pages from my site are being indexed on google. when a page, that is meant to be within a frame, is viewed alone, i would like to force a redirect. for example, i would need to ask something like 'am i the top level?', or 'does such and such frame exist?'. how can i do this?

____________________________________________________
If you like a post, show you care by giving it a <censored>.
 
if(self==top){
alert('Not in a frameset!')
}

Adam
while(ignorance){perpetuate(violence,fear,hatred);life=life-1};
 
ta

____________________________________________________
If you like a post, show you care by giving it a <censored>.
 
where would you have to put this code?

parallon

&quot;I used to think that the more that you knew, the farther you would go, then I realized that the more that you know, the more they use you.&quot;

-Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top