Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2005
    Posts
    17
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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.

  • #3
    New Coder
    Join Date
    Jul 2005
    Posts
    17
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Brilliant, thanks a lot!

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You're welcome.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •