How do i(javascript)?

uchiha asuku aliyu

Jōnin Strategist 🧠
Regular
Joined
Feb 23, 2012
Messages
1,284
Reaction score
62
i was working on my school project and i wanted use something that i noticed on (Facebook site via Desktop) where one can actually create a holder that one can load an entire web page within it just like frames but not frames, in such a way that when one clicks a link within the page will load in the container in the main web page without leaving the main page environment just like facebook does... thank you
 

Marin

Anbu Operative 🎭
Veteran
Joined
Dec 9, 2015
Messages
4,796
Reaction score
503
Just use iframes and use getElementBy(ID?) to hide/show it when you want to.
 

uchiha asuku aliyu

Jōnin Strategist 🧠
Regular
Joined
Feb 23, 2012
Messages
1,284
Reaction score
62
Just use iframes and use getElementBy(ID?) to hide/show it when you want to.

okay that should do too but i want a stagnant holder that will remain in the same place like frames but not frames since you cant embed frames between body tags
 

Marin

Anbu Operative 🎭
Veteran
Joined
Dec 9, 2015
Messages
4,796
Reaction score
503
okay that should do too but i want a stagnant holder that will remain in the same place like frames but not frames since you cant embed frames between body tags

If you want to make a window to another page within your own page then there is no other way to do it but through iframes.
 
Top