PageSourceSearch

https://www.fc-baltika.ru/local/templates/new/components/bitrix/search.form/top_search/script.js

js fc-baltika.ru collected 2026-10-02 07:56:27 UTC 647 bytes, 2 lines download raw bytes

1$(document).ready(function(){$('.btn-search').click(function(){var elem=$(this);openform(elem);});$('.close-search').click(function(){var elem=$(this).closest('form').find('.btn-search');closesearch(elem);})})
2function openform(element){var widthNew=element.closest('.align').width()-element.width();console.log(widthNew);element.siblings('.input-form').width(widthNew);element.unbind('click');element.click(function(){submitform(element)})};function submitform(element){element.closest('form').submit();};function closesearch(element){element.siblings('.input-form').width(0);element.unbind('click');element.click(function(){openform(element);})}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.