HTML DOM lowsrc Property
Complete Image Object Reference
Definition and Usage
The lowsrc property sets or returns a URL to a low-resolution version of an
image.
Syntax
Example
The following example creates a link to the low-resolution version of the image:
<html>
<body>
<img id="compman" src="compman.gif"
lowsrc="compman_lowres.gif" alt="Computerman" />
<br />
<script type="text/javascript">
var x=document.getElementById("compman");
document.write('<a href="' + x.lowsrc + '">Low resolution</a>');
</script>
</body>
</html>
|
Try-It-Yourself Demos
Create
a link to the low-resolution version of an image
Complete Image Object Reference
|