home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip_2003-11_cd2.bin / ruzne / painter / PAINTE~2.cab / _EE3E0537424B47DDB78EB8AA7094364B < prev    next >
Text File  |  2003-01-06  |  2KB  |  45 lines

  1. function  WWHelpPopup_PopupTranslate(ParamText)
  2. {
  3.   return ParamText;
  4. }
  5.  
  6. function  WWHelpPopup_PopupFormat(ParamText)
  7. {
  8.   var  FormattedText = "";
  9.   var  BorderColor   = "#999999";
  10.   var  ImageDir      = WWHelpTopFrame.WWHelpFrameSet.mBaseURL + "wwhelp/common/images";
  11.  
  12.  
  13.   FormattedText += "<table width=\"" + this.mWidth + "\" border=0 cellspacing=0 cellpadding=0 width=\"100%\" bgcolor=\"#FFFFCC\">";
  14.   FormattedText += " <tr>";
  15.   FormattedText += "  <td colspan=5 bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc1w2h.gif\" width=1 height=2></td>";
  16.   FormattedText += " </tr>";
  17.  
  18.   FormattedText += " <tr>";
  19.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  20.   FormattedText += "  <td colspan=3><img src=\"" + ImageDir + "/spc1w7h.gif\" width=1 height=7></td>";
  21.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  22.   FormattedText += " </tr>";
  23.  
  24.   FormattedText += " <tr>";
  25.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  26.   FormattedText += "  <td><img src=\"" + ImageDir + "/spc5w1h.gif\" width=5 height=1></td>";
  27.   FormattedText += "  <td width=\"100%\" id=\"" + this.mTextID + "\">" + ParamText + "</td>";
  28.   FormattedText += "  <td><img src=\"" + ImageDir + "/spc5w1h.gif\" width=5 height=1></td>";
  29.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  30.   FormattedText += " </tr>";
  31.  
  32.   FormattedText += " <tr>";
  33.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  34.   FormattedText += "  <td colspan=3><img src=\"" + ImageDir + "/spc1w7h.gif\" width=1 height=7></td>";
  35.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  36.   FormattedText += " </tr>";
  37.  
  38.   FormattedText += " <tr>";
  39.   FormattedText += "  <td colspan=5 bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc1w2h.gif\" width=1 height=2></td>";
  40.   FormattedText += " </tr>";
  41.   FormattedText += "</table>";
  42.  
  43.   return FormattedText;
  44. }
  45.