Associate
Ok, before we begin I know all about the Iframe arguments, wether to use or not etc but I have no choice in this project.
scenerio: I will keep it simplistic to avoid confusion.
for instance I have "page1.html" with a menu.
I have "page2.html" with an iframe within a div.
problem:
Easy enough to load external pages into the iframe from separate pages via menu on the page or another page using seperate .html pages, but means producing lots of replica pages with just the iframe displaying different content.
Now I would like to use just "page2.html" exclusively and load different content into the page using the menu on "page1.html".
MOST IMPORTANTLY the content in the iframe is loading from an external domain. This is why I had problems in jquery etc due to security issues.
I m sure there is some javascript out there to do just this, googling proved futile as a lot of the info is 5 years out of date.
any help appreciated.
scenerio: I will keep it simplistic to avoid confusion.
for instance I have "page1.html" with a menu.
I have "page2.html" with an iframe within a div.
problem:
Easy enough to load external pages into the iframe from separate pages via menu on the page or another page using seperate .html pages, but means producing lots of replica pages with just the iframe displaying different content.
Now I would like to use just "page2.html" exclusively and load different content into the page using the menu on "page1.html".
MOST IMPORTANTLY the content in the iframe is loading from an external domain. This is why I had problems in jquery etc due to security issues.
I m sure there is some javascript out there to do just this, googling proved futile as a lot of the info is 5 years out of date.
any help appreciated.