Hi this works in IE6, IE7, but not in FireFox... any ideas?

(On PageLoad)

        ImageMap1.Attributes.Add("onMouseOver", ImageMap1.ClientID & ".src='images/addpatient1.jpg'; window.status='Mouse Over'; return true;")
        ImageMap1.Attributes.Add("onMouseOut", ImageMap1.ClientID & ".src='images/addpatient.jpg'; window.status=' '; return true;")

The rollover effect just doesn't happen in FF.... grrrrr.....

Try

ImageMap1.Attributes.Add("onMouseOver", "document.getElementById('" & ImageMap1.ClientID & "').src='images/addpatient1.jpg'; window.status='Mouse Over'; return true;")
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.