Centering, modal windows, and StartPage forTruQA
Learning outcomes
Centering
How to display modal windows
How to read user inputs and submit them
…
Exercise – centering
w3_positioning_student.html
Work to do – SignIn and Join
w3_view_startpage_student.html
Considerations
Two web pages are used in TruQA – Start and Main.
They are generated using view_start.php and view_main.php, NOThtml.
Both of the two web pages (client side programs) always send twopairs of ‘page’ value and ‘command’ value, with other values toserver sideprograms. E.g., {(“page”, “StartPage”),(“command”, “SignIn”)}.
The value of ‘page’ can be ‘StartPage’ and ‘MainPage’.
The above two modal windows SHOULD be displayed at thehorizontal center, not like shown in the above. The titles in themodal windows also
PayPal Gateway not configured
PayPal Gateway not configured