PDA

View Full Version : Image Spotlight effect Problem in ASP .NET



AlohaMora
02-08-2007, 09:27 AM
1) Script Title: Image Spotlight effect

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/spotlight.htm

3) Describe problem: This script is working fine when i am trying in a simple html page, but its giving an error "myimage is underfined" when i use this script in ASP .NET2.0 using Vistual Studio 2005.
I am using all the correct parameters but its not working at all and the image is shown black in the browser whn i run the page with the same javascript error.

Regards
Aloha

jscheuer1
02-08-2007, 11:37 AM
That really shouldn't make any difference though, it might. The error you are getting usually means that there is either no image before the script on the page with an id of 'myimage' or that there are more than one (possibly even one with that id and another with that name). Are either of those the case?