HTML Frameset: Frameset Open in new tab/window
I was thinking this since last week how to solve my problem using the
frameset.
Scenario:
I have a html file for header, footer, menu, and content with there own
background color. I used the frameset for better design.
Background color of my header is black, for footer is also black, menu is
gray and content just plain white.
Everything works perfectly but I saw a problem in menu, when the user
click the home page using the Open Link in New Tab or Open Link in New
Window the design for home page is just only white.
Question:
Is there a way that when the user click the link using Open Link in New
Tab or Open Link in New Window the background color of the four html file
will also included?
Here's my code for frameset:
<frameset rows="120,*,30" border ="0">
<frame name ="top" src="header.php">
</frame>
<frameset cols="200,*" border ="0">
<frame src="menu_viewer.php" name="menu">
<frame src="index.php" name="main" scrolling="yes">
</frame>
</frameset>
<frame name="bottom" src="footer.php">
</frameset>
Here's a printscreen of my design:
And when the user click Open Link in New Tab or Open Link in New Window
the result is
The correct result should be:
Any suggestions or recommend program as long as the result of the design
is like that is also welcome. Advance thank you.
No comments:
Post a Comment