Re: IE7 Image switcher and audio - Help required
- From: Thomas 'PointedEars' Lahn <PointedEars@xxxxxx>
- Date: Tue, 21 Aug 2007 20:44:19 +0200
Andrew Bailey wrote:
I spent a lot of time finding code that would play an audio (.wav) file on a
mouseover cue that would work in Internet Explorer 6 and FireFox without any
user prompt to allow active-x scripts to be run etc, but unfortunately the
code does not work in Internet Explorer 7.
Works for me.
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
{3E1C4754-F096-BBFE-CD76-3B2E8F19E202}; .NET CLR 2.0.50727)
Can you suggest an alternative?
I would not use a Java applet. There are enough software requirements
already, and the Java plugin is slow to load in some UAs. Given the current
efforts into standardizing browser plugins, it appears to be worthwhile
to start writing a script library that uses feature detection to attempt
to cover as much media player plugins as possible.
When using a image switching code to swap an image to a .gif anim that plays
just once (created using Ulead Gif Animator 5), Internet Explorer 6 and
FireFox begin the animation cycle only when the image has been switched.
Unfortunately, Internet Explorer 7 seems to play the animation as soon as it
has been loaded so when it’s switched you only see the last frame. Can you
suggest an alternative?
Confirmed. I would consider that a bug. However, not attempting to preload
the image would most certainly avoid that effect.
Don't use evil[tm] eval() here, see <http://www.jibbering.com/faq/#FAQ4_40>.
For a better (esp. more reliable) way to switch images, see
http://PointedEars.de/scripts/test/hoverMe/
HTH
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
.
- References:
- IE7 Image switcher and audio - Help required
- From: Andrew Bailey
- IE7 Image switcher and audio - Help required
- Prev by Date: Re: Accessing file on shared drive
- Next by Date: Re: Accessing file on shared drive
- Previous by thread: Re: IE7 Image switcher and audio - Help required
- Next by thread: Tempermental code
- Index(es):
Relevant Pages
|