I have iframe in my page. I need to show `<div>` in my parent page, but i cannot see until I hide my frame. Is it possible to force the frame to be in background. I don't want to open popup window instead of `<div>`.

parent.php

```
<script>
    $(document).ready(function() {
        $(".Class1").click(function() {
            var str = "<div>Some content</div>";
            $(".main_frame").hide();
            $(str).appendTo('body');
        });
    });
</script>

<a class='Class1' href='#'>text</a>
<div class='frame_div'>
    <iframe class='main_frame' name='main_frame' src='child.php'></iframe>
</div>

```