HBCMS更多的中文手册参考:

src Attribute | src参数属性

DHTML文档教程

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

dhtml语法

html
{ filter:progid:dximagetransform.microsoft.alphaimageloader(
    src = surl ... ) ... }
scripting
object.filters.item(
    "dximagetransform.microsoft.alphaimageloader").src [ = surl ]

dhtml可能的值

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.

DHTML代码范例

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