Solved

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

Posted on 2014-04-28
3
273 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Find out what you should include to make the best professional email signature for your organization.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
Suggested Courses

623 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