Dynamically adjust iframes in JavaScript Posted August 25, 2014 I have a page with 2 two iframes (80% / 20%) I want a button (where?) to dynamicaly hide the right iframe and set te left to 100% How do i do that? Suggestions are very welcome! This is file <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="nl"><head><title>Titel</title> <style> .menu { float:left; width:80%; height:100%; } .mainContent { float:left; width:20%; height:100%; } .toolbar=no; .menubar=no; </style> </head><body> <iframe class="menu" src="http:/testpage.htm" frameborder="0"></iframe> <iframe class="mainContent" src="./helpinfo.htm" frameborder="0"></iframe> </body></html>
Dynamically adjust iframes
in JavaScript
Posted