Shadows

To specify the shadow width and shadow color for your pop-up messages, use the global variables jPopUpShadow and jPopUpShadowColor, respectively. For example, if you'd like 4-pixel-wide gray shadows for all pop-up messages on your page, put the following code in the HEAD section of the page:

<script language="JavaScript"><!--
jPopUpShadow=4
jPopUpShadowColor="gray"
//--></script>
Try these settings on the Demo page!

NOTES:

  1. If you use Windows-style message boxes (jPopUpStyle=2), the shadow settings will be ignored!
  2. The default values are these:
    jPopUpShadow=8
    jPopUpShadowColor="#AAAAAA"

Copyright © 2000, Alexei Kourbatov