I've been contemplating for the past week on how to address my issue using frameset.
Situation:
I have an html file for header, footer, menu, and content, each with its own background color. I implemented a frameset for enhanced design.
The header has a black background, the footer is also black, menu is gray, and content is plain white.
Everything functions flawlessly, but I noticed an issue with the menu. When a user clicks on the home page using Open Link in New Tab or Open Link in New Window, the design for the home page only displays as white.
Query:
Is there a method to ensure that when a user clicks a link using Open Link in New Tab or Open Link in New Window, the background colors of all four html files are also included?
Below is my frameset code:
<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 screenshot of my design:
When a user clicks Open Link in New Tab or Open Link in New Window, the result is
The desired outcome should be:
Any suggestions or recommended programs that can achieve this kind of design result are greatly appreciated. Thank you in advance.