PDA

View Full Version : object expected



rtamboli
11-18-2003, 12:08 PM
On my employers web page www.microskills.com I get a 'run time error' of 'line 42'
'object expected'

can any one point me in the direction to find a solution.

paulhiles
11-18-2003, 05:40 PM
On my employers web page www.microskills.com I get a 'run time error' of 'line 42'
'object expected'

can any one point me in the direction to find a solution.
Hi rtamboli,

If you have a look at your page's onload command, you'll find the following:
onload="preloadImages();MM_preloadImages('images....
These are two separate calls for image rollover functions... in your page's case, there is only one.. which is the Macromedia built-in function. So if you take away the 'preloadImages();' part that should solve your problem.

N.B. If you notice the error warning in your browser denotes line 49, which is the onload command in the body tag.

rtamboli
11-19-2003, 11:28 AM
That was the stuff. Thank you for the help. Hope to be able to return the favor soon.
rick