First of all, there's an easier way to do this that's been built into the product since R5. First, build a single image that contains both the image for the normal state and the mouseover state in a single image, with the mouseover image to the right of the normal image and a single pixel width in between the two images.
In this case, when the mouse is over the object with the image resource, the rightmost image is displayed; otherwise the normal image is displayed. Add this image to your form by doing an Insert Resource -- Image. You don't need to write any code -- when you see this form on the Web, you'll see the rollover happening!
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Now to accomplish this the way you set out to, we'll take a different path. First, create a picture (Create -- Picture) in the body of a form or in a Rich Text field. If you're in a form in the Designer, the programming pane will then be navigated to the click event on the picture. You can then choose the onMouseOver and onMouseOut events and code away!
Hope this helps!
Dig Deeper on Lotus Domino Designer
Related Q&A from Maureen Leland
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.