This is a bit hard to explain: I have a simple PHP file that outputs another PHP file with an include:
<?php include("file.php"); ?>
What I wanted to do is to have only part of it shown in the first page. So I used overflow to create a window with scrollbars:
<div style="height: 130px; width: 800px; border: 1px solid #CCCCCC; overflow: auto;">
<?php include("file.php"); ?>
</div>
Everything works great. But now I want to add another functionality: When you click inside this overflowed area and press Ctrl+A, only the part in the overflowed area should be selected (not the whole page).
I tried using HTML frames, which gave me the function I wanted but the overflowed PHP file doesn't get parsed. Is there a way to accomplish this and still have the PHP file be parsed?