August 1999
Intermediate to advanced
1488 pages
72h 53m
English
image.lowsrc
The lowsrc property of the Image object specifies the URL of an alternate image to use on low-resolution displays. This property can only be set by the LOWSRC attribute of the <img> tag.
Listing 7.307 displays the URL of the low-resolution image.
<html> <head> <title>Example of lowsrc property</title> </head> <img name="circle" src="circle.gif" lowsrc="circle_low.gif"> <br> <script language="JavaScript"> <!-- Hide //Display the low resolution image document.write("The URL of the low resolution image is "); document.write("<i><b>",document.circle.lowsrc,"</b></i>"); //Hide End ---> </script> ... |
Read now
Unlock full access