Solved

How should I do it to change only iframe part if I choose from a menu?

Posted on 2014-04-28
3
270 Views
Last Modified: 2014-05-04
I want to overcome a problem with JavaScript not working in MS Internet Explorer 11 by changing a menu to a pure html + css3 script.
In working with the code I ran into problem. When choosing a page in the menu I get that page up and showing.
With the JavaScript menu it changed only the iframe part of the page.
Is there a method to get that effect with pure html + css3?
0
Comment
Question by:lericson
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40028543
CSS3/HTML can not do that - you have to stick with javascript if you are wanting the change the source of an iframe.

But saying that using frames for your page content is so 1990's - think about changing your design.
0
 
LVL 9

Expert Comment

by:Sar1973
ID: 40028967
The commands to change the HTML contents (such as innerHTML) can only be activated with JS scripts.
0
 

Author Closing Comment

by:lericson
ID: 40040238
Thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question