I just tried a new test with Carousel 2’s “Play automatically” unticked. Alas, the Carousel graphic still pops out of place in IE7. I also tried changing “Horizontal” to “Vertical,” but that didn’t fix the problem either.
Since I cannot fix the problem by hacking the Carousel 2 Action, I have started thinking about what is most important when this problem happens. The reality is that some very stubborn people here in Japan may refuse to heed the red warning atop my page and switch to a decent browser. They may continue to use IE7, that pathetic attempt at a browser (to borrow Walter’s words), which means the Carousel graphic moved out of its place will cover at least 1/3 of the menubar.
What I did to partly address that problem is add some Markup to browser sniff for IE7 and below, and then tell the browser to not display the main Carousel graphic at all. More specifically, I use the following code in the page’s HTML markup:
<!--[if lte IE 7]>
<style type="text/css">
#Carousel { display: none; }
</style>
<![endif]-->
That code results in the graphic not displaying at all. It leaves a gaping hole in my page, but I consider that better than allowing a stupid duplicated graphic to cover 1/3 of my menubar.
Obviously, the best overall solution would be to see if the root problem can be fixed within the Carousel 2 Action itself. If it cannot be fixed though, then I have a question…
Is there an easy way to modify my HTML markup code above such that it will detect IE7 and below, NOT display the Carousel item but instead display a static graphic in its place? (In other words, strip off the Carousel code that causes the display glitch but leave the graphic in place.)
My assumption is that by replacing the Carousel graphic with a static graphic, the IE7 problem will be resolved. And the side benefit is that the page will display as expected too, albeit without any fancy graphic motion.
Thanks,
James Wages
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options