Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to un-comment this?

Posted on 2014-04-07
6
Medium Priority
?
167 Views
Last Modified: 2014-04-08
<!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

I think if it's less than IE 9 then link to some js library.  However, what's all that [ ] brackets.  What to do with that?  I thought comment is <!--   -->  
How do I un-comment this?

thank you.
0
Comment
Question by:lapucca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 39984636
These are called conditional comments, you can read up on them here
http://css-tricks.com/how-to-create-an-ie-only-stylesheet/
0
 
LVL 19

Assisted Solution

by:Raheman M. Abdul
Raheman M. Abdul earned 400 total points
ID: 39984639
Refer: http://msdn.microsoft.com/en-us/library/ms537512%28v=vs.85%29.aspx

[]  whatever inside is condition for the comment.

I guess you should remove
<!--[if lt IE 9]>
<![endif]-->
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1600 total points
ID: 39984670
You shouldn't uncomment those lines.  They are for IE only and the comments that are there 'hide' them from the other browsers that do not need those javascripts.
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:lapucca
ID: 39984716
Important  As of Internet Explorer 10, conditional comments are no longer supported by standards mode. Use feature detection to provide effective fallback strategies for website features that aren't supported by the browser. For more info about standards mode, see Defining Document Compatibility.

got the above from Raheman's url link, What should I use to replace these ?

Thanks.
0
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1600 total points
ID: 39984723
You don't need to replace them or do anything else with them.  They are there to make up for deficiencies in earlier browsers.  IE10 can ignore them and still work just fine.
0
 

Author Closing Comment

by:lapucca
ID: 39986767
Thank you.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question