Chris M.
Flashlight Enthusiast
I havn`t ever worked with Javascript until today, there is still so much I have to learn in the realm of home made web design above and beyond basic HTML. However I am currently working (OK it`s been 3 years) on an updated version of one of my not-entirely-flashlight-related web sites and had the desire to incorporate a simple feature that would enable visitors to the site to switch between alternate image views in the same way Ebay`s photo hosting system works. I spent ages searching (tried reverse engineering the Ebay code too but gave up early on) and finally found something that looked promising. Spent about an hour fiddling with it to try and get it to do what I hoped, finally thought it was finished....until testing it with MSIE6. Normally I use Firefox 1.0x where it works marvellously. This script may have been written in the earlier days of MSIE and Netscape and as such, it works on the NS-based Firefox but stubbornly refuses in MSIE.
Get to the point will ya? OK. /ubbthreads/images/graemlins/tongue.gif
This page here: http://bulbmuseum.net/new/imagetest.htm is what I have so far. You click on any of the four buttons at the top and the large .GIF image should toggle between "Image 1", "Image 2" etc. Eventually those will be photographs and the buttons will be corresponding thumnails. Try it with Firefox and presumably older Netscape versions and it works, at least it does here. But not with MSIE6 at all. No idea about any other browsers yet either.
Hence this post. Are there any Javascript experts watching who could take a look at that code and suggest alterations that would make it work with all JS enabled browsers, especially MSIE? Just some updated syntax perhaps? If anyone can help then that will be great. Also any users of alternative browsers who could report on whether or not it works for you too? Cross platform compatibility is top on my priority list for web design, I don`t want this to be one of those sites that says "works with [Specific Browser] only" at the front door. I`m tempted to abandon the Javascript idea anyway but if it can be made to work for everyone, that would be great.
It does make a change for a site not to work properly in MSIE though. Usually it`s the other way around....
/ubbthreads/images/graemlins/grin.gif
Get to the point will ya? OK. /ubbthreads/images/graemlins/tongue.gif
This page here: http://bulbmuseum.net/new/imagetest.htm is what I have so far. You click on any of the four buttons at the top and the large .GIF image should toggle between "Image 1", "Image 2" etc. Eventually those will be photographs and the buttons will be corresponding thumnails. Try it with Firefox and presumably older Netscape versions and it works, at least it does here. But not with MSIE6 at all. No idea about any other browsers yet either.
Hence this post. Are there any Javascript experts watching who could take a look at that code and suggest alterations that would make it work with all JS enabled browsers, especially MSIE? Just some updated syntax perhaps? If anyone can help then that will be great. Also any users of alternative browsers who could report on whether or not it works for you too? Cross platform compatibility is top on my priority list for web design, I don`t want this to be one of those sites that says "works with [Specific Browser] only" at the front door. I`m tempted to abandon the Javascript idea anyway but if it can be made to work for everyone, that would be great.
It does make a change for a site not to work properly in MSIE though. Usually it`s the other way around....
/ubbthreads/images/graemlins/grin.gif