Chain the commands together, separated by semicolons. The
"this.src='menu1on.gif'" portion of the statement is javascript. You will
have to know the ids of the other images to complete this. The easiest way to
set it up is to create a pure javascript mouseover example (R&D) work. Once
you understand syntax, it is an easy thing to do.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"hadAnet" wrote:
Here is my question:
I can swap an image with the following line under Page_Load.
ImageButton1.Attributes.Add("onmouseover",
"this.src='menu1on.gif'")
What I want is to swap more than one image onmouseover. Is this
possible? What is the syntax?
I tried variation sof this:
ImageButton1.Attributes.Add("onmouseover",
"this.src='menu1on.gif'; image1.src='menuitem1.gif'")
THanks