Why does not the external link to other sites work?
$(document).ready(function(){ $('#cont').tabs(); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <div id="cont"> <ul> <li><a href="https://www.yandex.ru/">Первая</a></li> <li><a href="https://www.yandex.ru/">Третья</a></li> </ul> </div>
tabs()function hangs its event handler on a click on the links, parses them for anchors, for example, and prevents default behavior further. - SLy_huh