General Question

NostalgicChills's avatar

How do I swap image text in Dreamweaver?

Asked by NostalgicChills (2787points) April 26th, 2011

I’m working on a webpage, and I need to swap an image with text when the mouse goes over it. I edited the text in photoshop, and saved it as a jpeg, now how do I swap the images?

Observing members: 0 Composing members: 0

4 Answers

ANef_is_Enuf's avatar

Upload the new image into Dreamweaver and just replace the image that you have in the editor with the new one. You should be able to just highlight that area of script, or click on the image itself and it should give you the option to delete/edit.

anartist's avatar

Insert> image object> rollover image

code will look something like this:
<td height=“50” align=“center” valign=“top”><a href=”../index.html” onMouseOut=“MM_swapImgRestore()” onMouseOver=“MM_swapImage(‘home-’,’’,‘assets/images/home-y.gif’,1)”><img src=“assets/images/home-n.gif” alt=“home” name=“home-” width=“100” height=“28” border=“0”></a></td>

dabbler's avatar

@anartist nails it, you need a rollover. I think Dreamweaver will build it for you (used to be able to anyway) but I don’t know where it is in the menu ‘cause I don’t have DW anymore.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther