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.

PHP Code:
<script>
            if (
window.name!='Main'
            
&& !((self.innerHeight == 0) && (self.innerWidth == 0)))
            
top.location.replace('frame1024.htm?Home.aspx~main');
        </
script
now i need to add an else statement to detect there screen size ... how do i do this


many thanks
optimus