Accessing Joust Properties and Methods
The imgStoreObject Object
Methods
- theMenu.imgStore.add(theName, theSrc, w, h)
- Adds an image to the imgStore with the supplied name. If an image with that name already exists, it will be replaced.
- theMenu.imgStore.getSrc(theName)
- Returns the filename of the image theName. Returns an empty string if the image is not found.
- theMenu.imgStore.getTag(theName, iconID)
- Returns a complete <IMG> tag for the image theName. The NAME property of the <IMG> is set to iconID. Returns an empty string if the image is not found.