Professional Documents
Culture Documents
Rollovers
MTComputers\Scook\WebPageDesignImages folder
b. For the rollover image, choose symbol_over.jpg
c. Click OK
4. You may notice the “#” symbol in the link box of the property inspector.
Dreamweaver MX inserted this symbol in order to create a link even
though you didn’t specify one. It doesn’t link to anything, it is just a
placeholder so you can still click and see the rollover.
5. In the property inspector, click the browse for file (small folder) icon to
the right of the link field and brose to select the brush.html located in
MTComputers \ Scook \ WebPageDesignImages \ HTML File.
6. Press F12 to preview the rollover.
7. Click the symbol and voila, brush.html will appear. Important: You may
see red “x” symbols where some of the pictures are. That is okay, you do
not have the images that go with those files.
2. If you get grey boxes where the symbols are, reset the path to the images
file – you can find them in MTComputers/Scook/Images file.
a. The one in the middle is symbol_over.
b. The top left is logo.
c. The one to the right of logo is tip.
3. Notice in the index.html the empty table below the symbol_rollover. This
is where you are going to put the rollovers for each button.
a. Click inside Cell A (the first one on the left) and click Insert>Image
Object>Rollover Image.
b. For the original image click browse to select shears.gif located in
the MTComputers\Scook\WebPageDesignImages folder
c. For the rollover image, choose shears_ani.gif
d. Click OK
e. Important: You will notice that the table columns have changed
size. Don’t worry about that, it will be fixed shortly.
4. Place your cursor to the right of the shears.gif that you just inserter. Press
tab to go to the next cell.
a. Follow steps 3b through 3d above, however you will use the pot.gif
and pot_ani.gif images for this cell.
b. Finally, repeat the steps above for care.gif and care_ani.gif for the
third cell in the table.
5. SAVE YOUR FILE.
6. Press F12 to preview your file in a browser.
b. The reason for this is that you are going to put this image in every
location that the pointer will appear. You are doing this because
rollovers require two images, the original and the rollover. In this case,
the original looks like nothing because it is a transparent GIF, which
lets the background show through.
c. Repeat 2a above for Cells J, K, L and M.
4. SAVE YOUR FILE!
Web Page Design
Rollovers
5. After you have completed steps 3a through 3c above, click inside Cell I.
a. In the property inspector, give it the name blank1.
b. You will name Cells J, K, L, and M, blank2, blank3, blank4 and
blank5, respectively.
c.
9. Now you will be setting the rollovers. See the screen shot below
for assistance in finding the correct area of the behaviors panel.
a. Click art. jpg to select it.
1. Open the behaviors panel by clicking on Window>Behaviors.
Your behaviors panel will be on the right side of your screen
with the rest of the panels where your files are showing.
2. Click the plus sign (+) above the events column and select swap
image from the pop-up menu.
3. In the swap image dialog box that opens, make sure the blank1
image name is highlighted.
4. Click browse and select point_symbol.gif locate in the images
folder.
5. Click open.
6. In the swap image dialog box, click ok.
Web Page Design
Rollovers
f. With this image still selected, in your Property Inspector, enter the
name art.
6. Click inside Cell D and choose Insert>Image.
g. Select blank1.gif from the images folder, then click open.
h. With this image still selected, in your Property Inspector, enter the
name blank1.
7. Click inside Cell E and choose Insert>Image.
i. Select swapper.gif from the images folder, then click open.
j. With this image still selected, in your Property Inspector, enter the
name swapper.
8. Click inside Cell F and choose Insert>Image.
k. Select blank2.gif from the images folder, then click open.
l. With this image still selected, in your Property Inspector, enter the
name blank2.
9. SAVE YOUR FILE
10. Select the image in CELL A (row 2, column 1).
a. Go back to your behaviors panel and click the plus sign and then
select swap image.
b. In the swap image dialog box, notice that tools is select in the
images list.
c. Click browse to set source to tools_but_F2.gif.
d. Click OK to copy the image to your rollover images file.
e. Select swapper from the same images list.
f. Click browse again to set source to swap_shears.jpg and then click
OPEN.
g. CLICK OK!
11. Select the image in CELL B
a. Go back to your behaviors panel and click the plus sign and then
select swap image.
b. In the swap image dialog box, notice that maintenance is select in
the images list.
c. Click browse to set source to maint_but_F2.gif.
d. Click OK to copy the image to your rollover images file.
e. Select the same swapper as you did in 10 above from the images
list.
f. Click browse again to set source to swap_maint.jpg and then click
OPEN.
g. CLICK OK!
12. Select the image in CELL C
a. Go back to your behaviors panel and click the plus sign and then
select swap image.
b. In the swap image dialog box, notice that art is select in the images
list.
c. Click browse to set source to art_but_F2.gif.
d. Click OK to copy the image to your rollover images file.
Web Page Design
Rollovers
e. Select the same swapper as you did in 10 above from the images
list.
f. Click browse again to set source to swap_tree.jpg and then click
OPEN.
g. CLICK OK!
how Up how_up.jpg
Over how_over.jpg
Web Page Design
Rollovers
Down how_down.jpg
Over While Down how_overdown.jpg
photos Up photos_up.jpg
Over photos_over.jpg
Down photos_down.jpg
Over While Down photos_overdown.jpg
6. SAVE YOUR FILE!!
7. Check each of your HTML files to make sure that they work.
8. Drag & Drop your file.