@Paulie_D I’m simply replacing a div depending on the navigation bar that is clicked. I’m not replacing iframes. You can see the text inside the ribbon change when a navigation tab is clicked. Thats basically what i want to do but with divs instead. And it will happen on onclick=”myFunction()”
@Jarolin After looking at your site, I noticed that you are using a separate JS function to update the ribbon for every button in the navigation bar. This is highly inefficient and it can be done with one function/event in JS. I whipped up a pen for you: http://codepen.io/srig99/pen/GkJBc. Tell us if you need more help!