CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/DQM/TrackerCommon/src/HTMLLink.cc

Go to the documentation of this file.
00001 #include "DQM/TrackerCommon/interface/HTMLLink.h"
00002 
00003 
00004 void HTMLLink::printHTML(xgi::Output *out)
00005 {
00006   std::string position = "position:absolute; left:" + get_pix_left() + "; top:" + get_pix_top();
00007   *out << cgicc::div().set("style", position.c_str()) << std::endl;
00008 
00009   *out << cgicc::a().set("href", link_url.c_str()) << text.c_str() << cgicc::a() << std::endl;
00010 
00011   *out << cgicc::div() << std::endl;
00012 }