• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • Last Modified:

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

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
Lennart Ericson
Asked:
Lennart Ericson
1 Solution
 
GaryCommented:
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
 
Sar1973Commented:
The commands to change the HTML contents (such as innerHTML) can only be activated with JS scripts.
0
 
Lennart EricsonAmateurAuthor Commented:
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now