6 std::string open_command =
"makeContentViewerRequest()";
7 std::string view_or_unview_command =
"updateContentViewerNoRequest()";
10 *out << cgicc::div().set(
"style", position.c_str()) << std::endl;
11 *out << cgicc::form().set(
"name",
"ContentViewerForm").set(
"id",
"ContentViewerForm") << std::endl;
19 *out << cgicc::form() << std::endl;
20 *out << cgicc::div() << std::endl;
25 *out << cgicc::tr() << std::endl
26 << cgicc::td() << std::endl
27 << name <<
":" << std::endl
28 << cgicc::td() << std::endl;
30 *out << cgicc::td() << std::endl;
35 *out <<
cgicc::select().set(
"name", name).set(
"id", name).set(
"onchange", onchange) << std::endl;
36 *out << cgicc::option().set(
"value",
"").set(
"selected") << cgicc::option() << std::endl;
37 *out << cgicc::option().set(
"value",
"top") <<
"top" << cgicc::option() << std::endl;
40 else if (name !=
"Open")
42 *out <<
cgicc::select().set(
"name", name).set(
"id", name).set(
"onchange", onchange) << std::endl;
43 *out << cgicc::option().set(
"value",
"").set(
"selected") << cgicc::option() << std::endl;
47 *out << cgicc::td() << std::endl;
49 *out << cgicc::tr() << std::endl;
std::string get_pix_left()
void printSelectHTML(xgi::Output *out, std::string name, std::string onchange)
static int position[TOTALCHAMBERS][3]
void printHTML(xgi::Output *out)
std::string get_pix_top()