Solved

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

Posted on 2014-04-28
3
261 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
date format angularjs2 16 36
HTML button disabled 11 36
Bootstrap 3 and Angular 2 12 23
Different Delete Messages 7 10
This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now