Inventor
Inventor

Reputation: 81

Why Bootstrap 3 navbar dropdown doesn't work in IE8?

The bootstrap 3 dropdown doesn't work in IE8, I don't know why, any help on that. some people say because BS added CSS filter property

Upvotes: 7

Views: 13176

Answers (5)

Leo
Leo

Reputation: 1

To solve the problem on the same server you host your site compatibility files ( html5shiv and Respond ) and will have , again , host the bootstrap files and not use the CDN . Otherwise compatibility with IE 8 will not operate.

Upvotes: 0

CRM Web Updates
CRM Web Updates

Reputation: 1

Found this on another thread but revert your jquery to version 1.11.2 instead of 2+.

Upvotes: 0

Artvader
Artvader

Reputation: 958

Include these two script:

<script type='text/javascript' src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>

Then use jQuery version LESS than 2 (jQuery 2++ doesn't support IE8 anymore)

Finally, use a web server (local or otherwise) to view your site because respond.js doesn't play well with file:// protocol

Upvotes: 0

Sam IR
Sam IR

Reputation: 928

I have tested this so many time in localhost.It will never work in localhost,Jut upload the same folder on your server and then check it will 100% work.

Upvotes: 2

Venu immadi
Venu immadi

Reputation: 1605

bootstrap3 workes fine with ie 8 only you have make sure to add respond.js , html5shiv and latest version of jQuery

like this:

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
 <!--[if lt IE 9]>
  <script src="js/html5shiv.js"></script>
  <script src="js/respond.min.js"></script>
<![endif]-->  

Upvotes: 18

Related Questions