Forums

This topic is locked

Rollover problem!

Posted 04 May 2003 15:06:41
1
has voted
04 May 2003 15:06:41 Peter Gordon posted:
I want to make a rollover so that two differnent pictures change when the mouse goes over a particular one of these two. is this possible and if so how do you do it using dreamweaver mx?

thanks

Replies

Replied 05 May 2003 09:51:23
05 May 2003 09:51:23 james crellin replied:
If you are wanting to have image 2 replace image 1 when you rollover image 1, then use this.

Insert > Interactive Images > Rollover Images

If you are wanting to change an image on the right side of the screen when you roll over one on the left then you may need to know a bit more about scripting. It can also be done by setting it up in imageready and then importing the html code into dreamweaver (make sure you bring the images with you)

Let me know how it goes

"The greatest trick the devil ever pulled was convincing the world he didn't exist." =- The Usual Suspects
Replied 05 May 2003 23:31:16
05 May 2003 23:31:16 Donna Casey replied:
This is VERY easy and PLEASE...*don't* resort to ImageReady. What you are wanting is a "remote rollover" effect.

I will assume you have your layout in Dreamweaver all set up, including the images in question.

1) Name each of the images, using the Property inspector. In this case, we'll call one trigger and the other remote.

2) Make sure that trigger is a link--you can use a null link such as javascript:;

3) Select trigger.

4) From the Behaviors panel, choose Swap Image

5) The trigger name is already selected in the list of images. Click the browse button to find the image you want to have replace the trigger graphic. Select it.

6) Now switch to the remote name in the list of images.

7) Browse to locate the image you want to have replace the remote graphic. Select it.

8) OK and exit the Swap Image dialog.

9) Make sure the event is (onMouseOver), save and test.

Results: When you mouseover the trigger graphic, both images should swap out for the ones you chose in the dialog. If you got it wrong, DON'T add anything new, just select the trigger graphic and double-click the Swap Image behavior listed in the Behavior panel.

HTH,

Donna



Donna Casey
----------------------------------->>
designer | developer | author | instructor
Co-Author | Web Design Complete Course
Co-Author | Macromedia Studio MX Bible
Co-Author (etal) | Dreamweaver MX Magic
Author | Intermediate Dreamweaver MX Training CD for Lynda.com
Replied 06 May 2003 01:04:30
06 May 2003 01:04:30 james crellin replied:
Thank you dcasey--
I have learned something. Thats really why i come to this board. I try and help if i can, when i can. I hope that "that_guy" gets the same from your example.
Thanks --

"The greatest trick the devil ever pulled was convincing the world he didn't exist." =- The Usual Suspects
Replied 10 May 2003 23:53:31
10 May 2003 23:53:31 Peter Gordon replied:
Thanks guys. just what i wanted!!!

Reply to this topic