remote image swap with mouse over text
I have been trying to creat a mouse over effect where i scroll over several text headings, and an image in a fixed location changes with each product heading i am over.
Is there a way i can do this hich will work in most browsers, i have it working at the moment in apple's safari browser and the page is www.canondigitalcentre.com
it will not work in IE. i would appreciate any advice you can give, i am using dreamweaver MX 2004 mac
first off, you're going to want some alt text in your img's. the last thing a user wants to see is a red X instead of a camera, without any explanation.
secondly, how big are these img's? i've been on the site for almost a whole minute and it's still transferring data.
i assume your image preloader is getting bogged down. have you thought about having one page for each section of the list of cameras? or using thumbnails? frames would work, but they're a pain in the butt, not to mention less than lovely to browse through, either.
AHA! i just found your problem.
NS [including Mozilla, Firefox and, i assume, all apple browsers] uses the method document.GetElementById(objname) and the property document.layers
IE uses only the document.all property.
your script, when run in any browser that doesn't support the document.GetElementById(name) method, can't find the img.
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