PDA

View Full Version : Mouse Rollover


Greg_the_Fraser
06-10-2007, 10:25 PM
Hello,

First off I must say I'm not exactly to hot on the 'ol coding front, I only really know the basic HTML stuff. But I'm hoping this is the right place to be in order to learn.

I've spent a couple of days botching together this site http://www.dreamleak.co.uk with Dreamweaver MX2004.

On the home page all of the links graphics are supposed to animate when the mouse hovers over them but after trawling through the help files and google results I still can't figure out why they won't work.

The thing is, on my contact (http://www.dreamleak.co.uk/contact.html) page they seem to work fine.

Any advice on this (and just generally how to improve the site) would be hugely appriciated!

Thanks!

(Greg)

/edit: is it something to do with the fact the all the images on the main page are in <div> tags?

_Aerospace_Eng_
06-10-2007, 10:48 PM
No its because none of your images you want to have the rollover on have names. This is the function doing the work
MM_swapImage('dreamleak','','site/buttons/dreamleak_over.gif',1)
The first part 'dreamleak' is looking for an image with name="dreamleak", none of your images have names on them on your main page.

Greg_the_Fraser
06-10-2007, 11:02 PM
Aaaaah! Can't believe it was something that simple!

That's awesome man! Thanks so much!