Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    2
    Member #
    28304
    I have this little snippet of code. Officially, there should not be a double close on the object from my understanding, but Firefox 5 seems to want one in order to retain the layout of the page (as defined on a css page). Anyone else come across this problem, or know of an existing issue in firefox 5 which would cause this problem?

    Thanks,
    Jim

    <!--[if IE]><!-->
    <object data="movie.swf" type="application/x-shockwave-flash"
    classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/s...sion=9,0,115,0"
    width="280" height="239">
    <!--<![endif]-->

    <!--[if !IE]><!-->
    <object data="movie.swf" type="application/x-shockwave-flash"
    width="280" height="239">
    <!--<![endif]-->

    <param name="movie" value="movie.swf" />

    <embed src="movie.swf" type="application/x-shockwave-flash"
    width="280" height="239"
    movie="rwdance.swf" quality="high" menu="false">
    To view the movie clip, install Adobe Flash.
    </embed>

    </object>[COLOR=rgb(255, 0, 0)]</object>[/COLOR]

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Not as such.

    My question is...do you really need the Flash? Is this something say Javascript could do just as well or better?
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Jun 2011
    Posts
    2
    Member #
    28304
    Probably. But the flash is not really the issue. The problem is occurring with the [IE] and [!IE] tags. It is almost like Firefox is recognizing BOTH object tags even when it should be ignoring the IE only tag.

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    That makes sense, then. There isn't, to the best of my knowledge, a !IE conditional comment. I missed that the first time.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Correct Game.... no such thing.... the ! is something that works on some CSS statements but not in IE conditional statements...

    the reason you have to double close the </object> tag is you don't have a </object> tag in your first <!--[if IE]> set....

    You can run nested conditional statements.... but you have to put all the tags associated with a particular command within the the conditional statement....

    since you didn't close the object in the first conditional statement.... you have to close it twice... to actually close it...


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:00 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com