Borders

To set or change the border width and border color for your pop-up messages, use the global variables jPopUpBorder and jPopUpBorderColor, respectively. For example, to set 2-pixel-wide brown borders for all pop-up messages on your page, put the following code in the HEAD section of the page:

<script language="JavaScript"><!--
jPopUpBorder=2
jPopUpBorderColor="brown"
//--></script>
Try these settings on the Demo page!

NOTES:

  1. If you use Windows-style message boxes (jPopUpStyle=2), the border settings will be ignored!
  2. The default values are these:
    jPopUpBorder=1
    jPopUpBorderColor="black"

Copyright © 2000, Alexei Kourbatov