home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 August / 08_02.iso / software / cb5 / files / Bryce5TrialVersion.exe / data1.cab / HelpFiles / wwhelp / common / config / popup.js < prev    next >
Encoding:
JavaScript  |  2001-07-16  |  4.6 KB  |  69 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 = parent.WWHelpFrameSet.mBaseURL + "wwhelp/common/images";
  11.  
  12.  
  13.   FormattedText += "<table width=\"" + this.mWidth + "\" border=0 cellspacing=0 cellpadding=0 width=\"100%\" bgcolor=\"#FFFFFF\">";
  14.   FormattedText += " <tr>";
  15.   FormattedText += "  <td colspan=7 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 background=\"" + ImageDir + "/bgleft.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  21.   FormattedText += "  <td colspan=3><img src=\"" + ImageDir + "/spc1w7h.gif\" width=1 height=7></td>";
  22.   FormattedText += "  <td background=\"" + ImageDir + "/bgright.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  23.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  24.   FormattedText += " </tr>";
  25.  
  26.   FormattedText += " <tr>";
  27.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  28.   FormattedText += "  <td background=\"" + ImageDir + "/bgleft.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  29.   FormattedText += "  <td><img src=\"" + ImageDir + "/spc5w1h.gif\" width=5 height=1></td>";
  30.   FormattedText += "  <td align=\"center\"><img src=\"" + ImageDir + "/wwhlogo.gif\" width=115 height=19></td>";
  31.   FormattedText += "  <td><img src=\"" + ImageDir + "/spc5w1h.gif\" width=5 height=1></td>";
  32.   FormattedText += "  <td background=\"" + ImageDir + "/bgright.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  33.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  34.   FormattedText += " </tr>";
  35.  
  36.   FormattedText += " <tr>";
  37.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  38.   FormattedText += "  <td background=\"" + ImageDir + "/bgleft.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  39.   FormattedText += "  <td colspan=3><img src=\"" + ImageDir + "/spc1w7h.gif\" width=1 height=7></td>";
  40.   FormattedText += "  <td background=\"" + ImageDir + "/bgright.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  41.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  42.   FormattedText += " </tr>";
  43.  
  44.   FormattedText += " <tr>";
  45.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  46.   FormattedText += "  <td background=\"" + ImageDir + "/bgleft.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  47.   FormattedText += "  <td><img src=\"" + ImageDir + "/spc5w1h.gif\" width=5 height=1></td>";
  48.   FormattedText += "  <td width=\"100%\" id=\"WWHelpPopupText\">" + ParamText + "</td>";
  49.   FormattedText += "  <td><img src=\"" + ImageDir + "/spc5w1h.gif\" width=5 height=1></td>";
  50.   FormattedText += "  <td background=\"" + ImageDir + "/bgright.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  51.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  52.   FormattedText += " </tr>";
  53.  
  54.   FormattedText += " <tr>";
  55.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  56.   FormattedText += "  <td background=\"" + ImageDir + "/bgleft.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  57.   FormattedText += "  <td colspan=3><img src=\"" + ImageDir + "/spc1w7h.gif\" width=1 height=7></td>";
  58.   FormattedText += "  <td background=\"" + ImageDir + "/bgright.gif\"><img src=\"" + ImageDir + "/spc18w1h.gif\" width=18 height=1></td>";
  59.   FormattedText += "  <td bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc2w1h.gif\" width=2 height=1></td>";
  60.   FormattedText += " </tr>";
  61.  
  62.   FormattedText += " <tr>";
  63.   FormattedText += "  <td colspan=7 bgcolor=\"" + BorderColor + "\"><img src=\"" + ImageDir + "/spc1w2h.gif\" width=1 height=2></td>";
  64.   FormattedText += " </tr>";
  65.   FormattedText += "</table>";
  66.  
  67.   return FormattedText;
  68. }
  69.