Get started

View the demo

  1. Include the stylesheet
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/gbougakov/openin@1.4/openin.min.css"/>
    
  2. Include the library at the end of body
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/gh/gbougakov/openin@1.4/openin.min.js"></script>
    
  3. Automatically bind the links
    openin.auto()
    
  4. Done!