Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-20-2005, 01:13 AM   PM User | #1
coderchap
New Coder

 
Join Date: Jul 2005
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
coderchap is an unknown quantity at this point
Accessible code instead of <object> tag in Firefox.

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="clsid27CDB6E-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-interact....uk/index.html

Any ideas?

Many Thanks.
coderchap is offline   Reply With Quote
Old 07-20-2005, 01:21 AM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Try it like this
Code:
<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.
_Aerospace_Eng_ is offline   Reply With Quote
Old 07-20-2005, 08:09 AM   PM User | #3
coderchap
New Coder

 
Join Date: Jul 2005
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
coderchap is an unknown quantity at this point
Brilliant, thanks a lot!
coderchap is offline   Reply With Quote
Old 07-20-2005, 08:11 AM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
You're welcome.
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:32 PM.


Advertisement
Log in to turn off these ads.