Ask the Expert

Error message when using rollovers

I'm using rollover images on my Web site, which I designed using a very resourceful link http://www.redbooks.ibm.com/tstudio/domino/store/b2b2/rollover.htm I noticed that the rollovers work very well once the buttons are loaded on the page. However, I received very cryptic messages when I tried hovering the mouse over the buttons before they loaded on the page. Message reads as follows:

"A runtime error has occurred. Do you wish to debug?
'Well.1' is null or not an object"

How could I get rid of this problem?
When you use the image resource within Domino to do rollovers, Domino generates the Javascript to control the images. This code is generated on-the-fly and cannot be modified. However, rather than use the image resource feature, attach the images in a separate form and write your own Javascript to link to and load the images. You can then control when you can click on an image and what happens when you roll over. There are many Javascript sites on the web that will show you how to implement rollovers.

This was first published in July 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: