Click to See Complete Forum and Search --> : Mouseovers in Dreamweaver


vampiro
05-28-2006, 05:51 AM
could someone tell me how to create mouseovers in dreamweaver? I have however done it using javascript but i also want to now how it's done within dreamweaver not only for one image but also for a collection or group of images? Instead of creating a separe eveent for each image and would be very time consuming if i have 100's of images on page.

Not to be confused with rollover images.

Compguy Pete
06-01-2006, 11:18 PM
SO help me out here...

You want a mouseover so when you move your mouse over it it goes from image A to Image B... Correct?

How is that any different from a RollOver image? DW does not have the same options as Flash does for "mouseover effects"

vampiro
06-16-2006, 04:49 AM
Hello!
sorry for late response.
A mouseover is similar to a rollover but when you take your mouse away from the image, u can either set it not to change or set it to be a totally different image.

ninacababa
06-21-2006, 06:42 AM
I presume that your trying to show larger images of thumbnails on mouse over, not sure about after mouse has moved again - possibly keeping the image.

If so, how about -

<a href="create page showing picutre only and link here" onmouseover="image1.src='larger image.jpg'" onmouseout="image1.src='larger image.jpg'">
<img src="smaller image.jpg" name="image1">
</a>

I know this is not the most advanced code but it should stand up pretty well to any adjustments that are needed from my original assumptions.

By the way, don't forget that on the onmouseover and onmouseout commands the outer quotation marks are double and the inner are singular

ninacababa
06-21-2006, 06:45 AM
Sorry, if you want a different image after the mouse is moved away then replace

onmouseout="image1.src='larger image.jpg'"

with

onmouseout="image1.src='alternate image.jpg'"

Maybe a little obvious, but just incase!!