What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

iframe Menu Hangup

JSergeant81

New member
Joined
Mar 26, 2019
Messages
1
Reaction score
0
HTML Coins
0
Hello there guys/gals!

I'm working on my first html project in a while and have gotten hung up on a bit of code I was hoping some of you smart folks could shine some light on the error of my ways! :)

What I am trying to achieve is have my Menu across the top of the screen in a table. When you mouse over the text it highlights the text and changes the iframe to that menu item's html file.

I've gotten the highlight and clear to work, but with my code, it only changes the location.href to the first one you mouse over. After that, it no longer changes the iframe location on any of the other menus.

Any pointers?

I haven't programmed html since the netscape navigator days so be gentle!

Here's what I've gotten so far...

HTML:
<table style="width: 95%" align="center">
    <tr>
        <td class="auto-style5" onmouseout="this.style.backgroundColor='transparent'" onmouseover="this.style.backgroundColor='#99CCFF', document.getElementById('iframe1').contentWindow.document.location.href='Home.html';">
        Home</td>
        <td class="auto-style5" onmouseout="this.style.backgroundColor='transparent'" onmouseover="this.style.backgroundColor='#99CCFF', document.getElementById('iframe1').contentWindow.document.location.href='About.html';">
        About Us</td>
        <td class="auto-style5" onmouseout="this.style.backgroundColor='transparent'" onmouseover="this.style.backgroundColor='#99CCFF', document.getElementById('iframe1').contentWindow.document.location.href='ContactUs.html';">
        Contact Us</td>
    </tr>
</table>
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back