hi there my organization is wondering learning to make amouse over press button with 2 pics in microsoft expression web 2 . 0, i have the two pictures i want and i have been messing around when using the lowsrc and such things as that but without success can any one help me out there
I only find out the hard coded way to achieve this. I have under no circumstances used expression online.
The first image will be designed into the page as it normally would. The one primary difference is it’s important to specify a within the img tag:
< img src=" image1. gif" name=" MyImage" >
This image are now able to be accessed simply by javascript as . Of course add in the actual width, height, alt, along with border properties seeing that desired too.
Our next part is to generate a link around that image. It will allow javascript for you to affect the image properties.
< your href=" " onMouseOver=" insurance policy. MyImage. src=’image2. gif’; " onMouseOut=" insurance policy. MyImage. src=’image1. gif’; " >
< img src=" image1. gif" name=" MyImage" >
< /a>
will be Source of the actual image file.
specifies that anything is happening for the of the object named on this subject (web page). Try to remember… JavaScript is one step language. It goes stage by level to locate and use something.
so are self explanitory. They may do this specified coding when the following event happens. For that example, They are now being used to specify a new for the called image.
This kind of rollover effect is extremely common for map-reading uses. You can develop two images being towards the same. One image might have regular text at it, the various other having highlighted text. Put them together in a very rollover effect and you then have a neat navigation going on. Placing a value inside the will complete this navigation effect.
If you have more than one rollover for the same web site, you MUST use a different name value per one. Using the same name value for some will confuse the browser and no effect will often be seen.
thanks, ill give that the try.