2 iframes in 2 columns in same row -...
Hi All,
My situation is:
a single row, consisting of 2 columns containing an iframe each both enclosed in the HTML elements as per the below code :
column 1 - <iframe name="frame1" id="frame1" style="width: 100%; height: 500px;></iframe>
column 2 - <iframe name="frame2" id="frame2" style="width: 100%; height: 500px;></iframe>
frame 1 contains a menu (required)
frame 2 shows results of links from frame 1
The issue I am having is:
I can get frame1 to show a file.html from another menu, so frame1 is recognised, but
when I try and open a file from the menu link from frame1 in frame2 it will not show anything.
To test the html element and column so that I know there is no hidden error that I may have created, I replaced the frame2 html code and replaced it with a php include statement, it opens files in the 2nd column with no problems, so i know there is no problem with the 2nd column other then the iframe function does not work.
Can 2 iframes work together each in its own column in a single row or is there a vital bit of code that I cannot put my finger on to make this work.
I hope I have explained this so it is understandable
TIA
Warwick
My situation is:
a single row, consisting of 2 columns containing an iframe each both enclosed in the HTML elements as per the below code :
column 1 - <iframe name="frame1" id="frame1" style="width: 100%; height: 500px;></iframe>
column 2 - <iframe name="frame2" id="frame2" style="width: 100%; height: 500px;></iframe>
frame 1 contains a menu (required)
frame 2 shows results of links from frame 1
The issue I am having is:
I can get frame1 to show a file.html from another menu, so frame1 is recognised, but
when I try and open a file from the menu link from frame1 in frame2 it will not show anything.
To test the html element and column so that I know there is no hidden error that I may have created, I replaced the frame2 html code and replaced it with a php include statement, it opens files in the 2nd column with no problems, so i know there is no problem with the 2nd column other then the iframe function does not work.
Can 2 iframes work together each in its own column in a single row or is there a vital bit of code that I cannot put my finger on to make this work.
I hope I have explained this so it is understandable
TIA
Warwick
Is the content in both iframes on the same domain? Can you share a link for us to see the issue?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
First check your iframe code for errors.
<iframe name="frame1" id="frame1" style="width: 100%; height: 500px;></iframe>
<iframe name="frame2" id="frame2" style="width: 100%; height: 500px;></iframe>
Some of these errors may also be the issue.
https://validator.w3.org/nu/?doc=http%3 … meline.php
I would get these resolved first.
<iframe name="frame1" id="frame1" style="width: 100%; height: 500px;></iframe>
<iframe name="frame2" id="frame2" style="width: 100%; height: 500px;></iframe>
Some of these errors may also be the issue.
https://validator.w3.org/nu/?doc=http%3 … meline.php
I would get these resolved first.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Thanks Eric...problem fixed...there was a simple error, a " was missing.
Thanks again for your help
Cheers
Thanks again for your help
Cheers
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.