I'm developing a chat in php, it's working perfectly, however, I'm having trouble getting the iframe to the main site where the client will have access, in the code it opens the iframe, but if I set a height (height) fixed or 100% for example, I can not click on links or images that are below this iframe.
The code is this:
<iframe id="iframe1" style="z-index:999999; background:none; right:0; width:400px; bottom:0; margin: 0; position:fixed; padding: 0;" height="" border="0" scrolling="no" frameborder='0' src='link'></iframe>
eg it uses about 60px without the click, but when clicked it opens about 500px, how can I make it open a proportional height to closed or open?