×
Menu
Index

Drop Shadow Dialog

Drop Shadow Dialog
 
Use javascript to add drop shadow to table, text or image elements. (It is better to use CSS3 Text Shadow and Box Shadow to do this unless you need to support browsers that do not support CSS3).
 
 
The following are the sceenshots of the effects by using an image, a text element with the word "Drop Shadow" and an empty text element with an orange background.
 
       
 
The results after applying the drop shadow effect: -
 
 
 
Please note that generating drop shadow by javascript may slow down the rendering of your page especially if there are many of them. If javascript is disabled on the browser, the effect will not be shown. Normally, only apply one javascript effect to an element as they are not designed to work together with another javascript effects.
1

Left Offset

1. Left Offset
set the horizontal position of the drop shadow.
2

Top Offset

2. Top Offset
Set the vertical position of the drop shadow.
3

Blur

3. Blur
Set the level of blurring of the drop shadow.
4

Opactiy

4. Opactiy
Set the opacity of the drop shadow.
5

Swap

5. Swap
Select whether the drop shadow should shown on top of the element that it is applied to.
6

Shadow Color

6. Shadow Color
Set the color of the drop shadow. This only applicable to element that has a background color.
7

Add... button

7. Add... button
Add a style to the list for applying drop shadow.
8

Remove button

8. Remove button
Remove the selected style from the list.
9

List of styles

9. List of styles
Show a list of styles added for applying drop shadow.
10

OK button

10. OK button
Click OK to save the settings.
11

Cancel button

11. Cancel button
Cancel saving the settings.