Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGabriel Ward
20,222 PointsConditional JS Files
Some of the conditional scripts have links to web pages, for example the html5_shiv script. However other ones look they are supposed to be in an assets folder, eg
<script src="../../assets/js/ie-emulation-modes-warning.js"></script>
Which is in the header.php.
When I downloaded the boostrap3.3.6-dist I only got css, font, and js folders. And there's no reference to the above mentioned script in the js folder. Any advice on this would be great appreciated. I understand the conditional logic going on, but unsure of how to link to this sript, if it's not in any of my theme folders.
2 Answers
paul owen
1,831 Pointslook in path: bootstrap-3.3.6/docs/assets/js/ie-emulation-modes-warning.js
you will find it there my friend , just remember to remove the additional folder directories when installing into theme as it should be [subfolder name]/js/ and placed there.remember to place the path in functions.php or it won't work
paul owen
1,831 Pointsyou are welcome Gabriel anytime
Gabriel Ward
20,222 PointsGabriel Ward
20,222 PointsThanks, Paul