Advertisement
firoze

respond.js & html5shiv.min.js where is the best place to use

Dec 11th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. respond.js & html5shiv.min.js where is the best place to use \\ সাধারনত আমরা js কে footer এ call করে থাকি | তবে respond.js & html5shiv.min.js header এ ব্যবহার করাই ভাল | এতে করে explorer(IE) তে ভাল result হবে |
  2.  
  3. sources==========>>>>>
  4. http://pastebin.com/uUKpMpQp // This is respond.js
  5. http://pastebin.com/b1W102WJ // This is html5shiv.min.js
  6. /************************************************************************************************************************/
  7. <!--[if IE]>
  8. <script src="<?php echo get_template_directory_uri();?>/js/respond.js"></script>
  9. <![endif]-->
  10. <!--[if lt IE 9]>
  11. <script src="<?php echo get_template_directory_uri();?>/js/html5shiv.min.js"></script>
  12. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  13. <![endif]-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement