0

Changable <iframe> inside index.html depending of activated link in navigation bar

hello there. 12years ago I've done some websites development, but I was absent since. I would like to return, so there are lots of stuff to remember. I used to have webpage file index.html ir index.php containing main body of website(header, footer, navigation bar) and there in the middle was space for content. it could have change depending of what link I press in navigation bar, why main layout stays the same. what's the best way to achieve this?

30th Jul 2017, 7:32 PM
Tadas Janca
Tadas Janca - avatar
1 ответ
+ 2
you could change the <iframe> link by using either <p onclick="changeIframe" id="ID">Change Iframe On Click</p> And then declare a JS function to manipulate the DOM where the <Iframe> link is
11th Aug 2017, 8:01 PM
BwD//Felix Janetzki
BwD//Felix Janetzki - avatar