View Full Version : Make page open in frames only
Feckie
12-21-2007, 07:02 PM
Is it possible to have a page open only in a given frameset.
So that it cannot be open on it's own, but will revert to the given frameset.
jscheuer1
12-21-2007, 07:07 PM
No, but almost. You can use a javascript to do that, but if the user has javascript disabled, it won't do anything. Most folks d have javascript enabled:
<script type="text/javascript">
if(top.location==location)
top.location.replace('frameset.htm');
</script>
Put that in the head of the page and make frameset.htm point to the frameset page.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.