1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<script type="text/javascript" charset="utf-8"> // Documentation for client options: // https://github.com/Studio-42/elFinder/wiki/Client-configuration-options $().ready(function() { $('#elfinder').elfinder({ resizable: false, url : 'php/connector.minimal.php' // connector URL (REQUIRED) // , lang: 'ru' // language (OPTIONAL) }); $(window).resize(function(){ var h = $(window).height(); if($('#elfinder').height() != h){ $('#elfinder').height(h).resize(); } }); }); </script> |