You are here: Re: challenge - can this be done? « HTML « IT news, forums, messages
Re: challenge - can this be done?

Posted by jojo on 10/14/06 11:52

alxasa@gmail.com wrote:
> Try navigating to HOTMAIL from the resulting page.... eventually it
> pops out of frames mode. Is there any different approach to this that
> will not do that? Alxasa

It's not very kind to view webpages of other people in a frame in your
site. What would you say if I would display a beautiful site of yours in
a frame of my site so it looks like it was mine? No, you really
shouldn't do that. Many people try to prevent that within their code.
You can for example add this script to your site to make sure that it
isn't displayed in a foreign frame (of course it only works if JS isn't
switched off):
<script type="text/javascript">
if (window!=top.window) location.href="LINK TO YOUR SITE";
</script>
Or you could add a base-tag to your website to break the frameset if a
link is clicked:
<base href="LINK TO YOUR SITE" target="_top">
So you see it's quite simple to brevent a site from beeing displayed in
a frameset. And that's quite good.

jojo

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация