SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1881 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

theForm.optList.options[i].selected) {
result += ???\n ??? + document.theForm.optList.options[i].value
}
}
return result
}
Adding images to your objects
Custom objects don??™t have to be just text, of course. You can include images in your object, just as you
would in a regular Web page??”with one catch: Dreamweaver has to be able to find your image files. If you
are not distributing a custom object, you can use images from any folder on your system. On the other
hand, if the objects are going out to other users, you have to either include the image files with the object or
use existing graphics stored in known locations.
What existing graphics are on every Dreamweaver system in specific locations? The GIF files for each
object, of course. The button for the custom Character Entities object (shown in Figure 1-6) is used in the
dialog box for the object itself. Because the two files always have to be in the same folder, you can include
the image file on the same level. The size of the GIF files is fairly small (18 pixels by 18 pixels), so you can
simply double the size of the image and have Dreamweaver rescale it.
BC 21
Creating and Using Objects
The opposite approach for using one image for both the Insert bar and the dialog box is to
make a larger image, say 32 x 32.


Pages:
1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893