Results 1 to 2 of 2

Thread: Conditional IE code confusion

  1. #1
    Join Date
    Mar 2012

    Conditional IE code confusion

    Hello everyone, as you can tell by my username, I am a new generation of Web designer and developer.

    Anyway, I am having a little trouble with IE conditions.

    My code:

    <!--[if !IE]>
    <object type="application/x-shockwave-flash" data="dewplayer-rect.swf" width="240" height="220" id="dewplayer" name="dewplayer">
    <param name="movie" value="dewplayer-rect.swf" />
    <param name="flashvars" value="mp3=mp3/1_I_Want_to_be_a_Mexican.mp3|mp3/2_Please_Take_Me_In.mp3|mp3/3_Lonely_Like_Me.mp3" />
    <param name="wmode" value="transparent" />
    Now it's what I want. If the browser is NOT IE, then show the MP3 player otherwise do not show. But it will not show in Chrome or Firefox, so being a newbie I need a little guidance. To my understanding it should work.

    Does anyone have a suggestion? Or am I just making a complete a really easy newbie mistake?


  2. #2
    Join Date
    Feb 2011
    Chuluota, Florida
    Try this . . . .
    <!--[if !IE]><!--> HTML <!--<![endif]-->
    you can also try Downlevel-revealed Conditional Comments
    <![if !IE]>
    notice the -- -- is missing now and its just <![]> <![]> instead of <!--[]> <![]-->
    Last edited by PBSWebDesign; 03-07-2012 at 03:09 PM.
    WYSIWYG editors will never beat my hand written code!!!! Learn to do it in notepad and learn how to actually control your website! Current Project http://www.jmcanineservices.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles