ok so i've got a little further .... the following code allows u to redirect a user back to a frameset if the page is loaded outside of its original frameset.
now i need to add an else statement to detect there screen size ... how do i do thisPHP Code:<script>
if (window.name!='Main'
&& !((self.innerHeight == 0) && (self.innerWidth == 0)))
top.location.replace('frame1024.htm?Home.aspx~main');
</script>
many thanks
optimus




Reply With Quote