-
referencing image id and using image id to access variables stored in an array
I have a series of image on a page, the first with an image id of "1", then "2", then "3" etc. I have also stored variables containing instructional text in a javascript array.
Please would someone let me know how I can reference the ID of each image as the user moves their mouse pointer over each image, so that the appropriate reference text is displayed.
I have written the javascript code that displays the text, and am able to use the values of the image IDs; all I need is someway of taking the values of each image ID as the mousepointer is moved over the images.
Help would be appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks