The image name and alternate text remain
unchanged when you assign the new file, but the dimensions automatically change to match those of the
actual image.
Inserting Rollover Images
Rollovers are among the most popular of all Web page effects. A rollover (also known as a mouseover) occurs
when the user??™s pointer passes over an image and the image changes in some way. It may appear to glow or
change color and/or shape. When the pointer moves away from the graphic, the image returns to its original
form. The rollover indicates interactivity, and attempts to engage the user with a little bit of flair.
Rollovers are usually accomplished with a combination of HTML and JavaScript. Dreamweaver was among
the first Web-authoring tools to automate the production of rollovers through its Swap Image and Swap
Image Restore behaviors. Later versions of Dreamweaver make rollovers even easier with the Rollover Image
object. With the Rollover Image object, you just pick two images to make a rollover.
If you use Fireworks as your image-editing tool, refer to Chapter 24 to learn another method
for creating rollover images. CROSS-REF CROSS-REF
331
Inserting Images 9
Technically speaking, a rollover is accomplished by manipulating an
![]()
tag??™s src attribute.
Pages:
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679