hide div from html frames
how to hide some text of other site in frames
i have created a frame where i am calling other website, in that frame i want some of the thing should not appear like footer and some images of the called website. how i can do this in frame.
frame created as
now from the website somewebsite.com i dont want its footer to appear which is having code as :
mail
jindalarpan
Junior Poster in Training
91 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
Not entirely sure if this will work, but maybe you can check the referer and hide the div's if it is somewebsite.com
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
i came to know that using java scripting i can hide that in some form .
is that true ? if so how that can be done ?
jindalarpan
Junior Poster in Training
91 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
Try document.referer to see what values it contains.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
Hi
i am totally new to HTML so dont know how to use it ?
Try document.referer to see what values it contains.
jindalarpan
Junior Poster in Training
91 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
It's javascript. If you know nothing about that, maybe start with the tutorial at w3schools. That way you will at least know the basics.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
write your own content and avoid trying to steal content that somebody else has written
the copyright notice resides in the footer ?
pictures of the owner of what you are stealling?
or contact the site owner and ask them permission and/or a copy of the page to put on your server
to everybody else, put one of these in your menu include
<script type='text/javascript'>
if (window != top) { top.location.replace(self.location.href); }
</script>
break out of thieves' framesets,
almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376
Damn. Cannot believe I've misread this several times. I thought he wanted the opposite... Thanks almostbob.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
Damn. Cannot believe I've misread this several times. I thought he wanted the opposite... Thanks almostbob.
Well i have changed the idea and added a CNAME for that website for this
jindalarpan
Junior Poster in Training
91 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0