Sets or retrieves the URL of an image that the alphaimageloader filter loads.
dhtml语法
dhtml可能的值
sURL | String 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