JavaScript Reference/Javascript Properties/lowsrc — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:21, 26 мая 2010
"lowsrc" Example
<html>
<body>
<script language="JavaScript">
document.all.myLsrc.lowsrc = "yourimage.jpg";
</script>
<img id="myLsrc" src="yourlowresimage.jpg" width="99" height="76">
</body>
</html>
"lowsrc" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<img> <input> |
| |<input type="image"> |
+----------------+--------------------------------------------------------------+
"lowsrc" Syntax and Note
Note:
Read and write property.
Specifies the URL of a lower-resolution image, or
some other quick-loading placeholder.
Syntax:
document.getElementById("elementID").lowsrc = value
document.all.elementID.lowsrc = value // IE only