...

View Full Version : Accessible code instead of <object> tag in Firefox.



coderchap
07-20-2005, 02:13 AM
I'm trying to get some HTML (the h3 heading in the code below) code into my page to offer some alternative to the embedded Flash object which runs in my page.

This is the HTML:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="440" height="55">
<h3>Saving Lives - Saving Money</h3>
<param name="movie" value="images/aerosaving1.swf">
<param name="quality" value="high">
<param name="LOOP" value="false">
<embed src="images/aerosaving1.swf" width="440" height="55" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

</object>

However, in Firefox the heading automatically displays - I want the heading to only display if the Flash object is blocked due to user not having the plugin, or turning Flash off in their browser, as it does it IE

The url is:
http://aeromedicgroup.fresh-interactive.co.uk/index.html

Any ideas?

Many Thanks.

_Aerospace_Eng_
07-20-2005, 02:21 AM
Try it like this

<object type="application/x-shockwave-flash" data="images/aerosaving1.swf" width="440" height="55">
<param name="movie" value="images/aerosaving1.swf">
<param name="loop" value="false">
<h3>Saving Lives - Saving Money</h3>
</object>
You adhere to standards if you use the method above and the h3 only displays if the object is blocked.

coderchap
07-20-2005, 09:09 AM
Brilliant, thanks a lot!

_Aerospace_Eng_
07-20-2005, 09:11 AM
You're welcome. :cool:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum