IE7 Image switcher and audio - Help required

A

Andrew Bailey

Hi,

Thanks for taking the time to read this. I would be very grateful if you are
able to help me solve the two problems below...

PROBLEM 1:

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. Can you suggest an alternative?

PROBLEM 2:

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?

Here is a link to a test URL: http://www.microbuild.com/test/test.html

Thanks in advance.

Andy
 
A

aonic

Thanks for the link aonic, but after reading the requirements I discovered
that soundmanager2 can only play .mp3 audio files so it doesn't meet my
needs.

Cheers

Andy

Convert your WAVs to MP3s :)
They're smaller too.
 
T

Thomas 'PointedEars' Lahn

Andrew said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top