Jump to content
Skippy1957

Dynamically adjust iframes

Recommended Posts

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>

Share this post


Link to post
Share on other sites

Server side or client?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...