I have built a web app called ChemThink in C2 which resides on my website, http://www.simbucket.com.
1. I would like to place different instances of the ChemThink web app in frames in different locations on my website.
2. Each instance needs to be aware of its parent page so that it loads up the appropriate portion of the web app.
URL to the ChemThink web app: http://simbucket.com/chemthinkserver/chemthink/
URL to the simbucket.com parent pages: https://www.simbucket.com/welcome-to-simbucket/
Depending on which simulation a student clicks on the parent page, I want "ChemThink", the C2 app, to automatically bring the student to the right tutorial or question set upon login.
Rationale:
By the time ChemThink is finished, it will be around 8500 events, with hundreds of event sheets. I want to make sure that I don't have to maintain many different versions of the project.
How do I either do either of the following:
A. Pass a variable from the parent page to the ChemThink instance so that ChemThink knows which tutorial to load?
-or-
B. Give the ChemThink instance the ability to inspect its parent page so that ChemThink knows which tutorial to load?