src Attribute | src Property

Internet Development Index

Sets or retrieves the URL of an image that the AlphaImageLoader filter loads.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
    src = sURL ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.AlphaImageLoader").src [ = sURL ]

Possible Values

sURLString that specifies or receives the URL to load.

The property is read/write. The property has no default value.

Remarks

The loaded image becomes the display boundary for the object. You can resize or clip the image by setting the sizingMethod property of the filter.

The AlphaImageLoader filter will be ignored if no src value is set.

Example

This example loads an image from the URL into a DIV element.

<!-- This DIV is the target container for the filter.  -->
<DIV ID="oDiv" STYLE="position:relative;  width:200px; color:gold;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='../common/earglobe.gif');" >
The World
</DIV>

Applies To

AlphaImageLoader