Determine if the browser version is too low Based on jquery.

Source: Internet
Author: User

Determine if the browser version is too low Based on jquery.

Determine if the browser version is too low Based on jquery. This is a browser that does not support HTML5 and CSS3 code, prompting users to change the special effect code. As follows:

Download Online Preview source code

Implementation code.

Html code:

<Div style = "display: none" id = "browser_ie"> <div class = "brower_info"> <div class = "notice_info"> <p> your browser version is too low, the website may be inaccessible! <Br> in order for you to use the website functions properly, use these browsers. </P> </div> <div class = "browser_list"> <span> <a href =" http://www.w2bc.com /"Target =" _ blank ">  <br> Chrome </a> </span> <a href =" http://www.w2bc.com /"Target =" _ blank ">  <br> Firefox </a> </span> <a href =" http://www.w2bc.com "Target =" _ blank ">  <br> Safari </a> </span> <a href =" http://www.w2bc.com "Target =" _ blank ">  <br> IE9 and above </a> </span> </div> </div> <div class = "header"> <div class = "header-inner wrap"> <a class = "header-logo" href = ""> rongyun </a> <div class = "header-account"> <a class = "btn-signin" href = ""> logon </a> <a class = "btn-signup "href =" "> register </a> </div> <ul class =" header-nav "> <li> <a href =" "> homepage </a> </li> <a href = ""> function </a> </li> <a href = ""> case study </a> </ li> <Li> <a href = ""> price </a> </li> <a href = ""> Knowledge Base </a> </li> <li> <a href = ""> documentation </a> </li> <a href = ""> download </a> </li> </ul> </div> <script> if (! $. Support. leadingWhitespace) {$ ("# browser_ie"). show () ;}</script>

Via: http://www.w2bc.com/Article/42064

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.