Closed ksripathi closed 6 years ago
This issue contains following sub-tasks
1) configure nginx server to load the javascript after the body-loads
2) create two VMs one content.base4.vlabs.ac.in
to hold the content and other header.base4.vlabs.ac.in
to hold header page
3) setup javascript variable document.domain = base4.vlabs.ac.in
to allow cross communication between two different iframes coming from different origins
Raised issue at https://gitlab.com/vlead-systems/systems-operations/issues/246 to get domain names
On vlabs-landing-page,
header iframe
contains login, register and logout buttons andcontent iframe
holds the content of the labs, based on the content on thecontent iframe
header buttons should be manipulated as needed. This we can achieve by usingpostmessage
which is a method of an iframe object