>
riptript>
0
0
0
Корзина
ript>
if(!window.BX)window.BX={};if(!window.BX.message)window.BX.message=function(mess){if(typeof mess=='object') for(var i in mess) BX.message[i]=mess[i]; return true;}; > var jsControl = new JCTitleSearch2({ //'WAIT_IMAGE': '/bitrix/themes/.default/images/wait.gif', 'AJAX_PAGE' : '/press-tsentr/news/priglashenie_na_stroitelnuyu_vystavku/', 'CONTAINER_ID': 'title-search_fixed', 'INPUT_ID': 'title-search-input_fixed', 'INPUT_ID_TMP': 'title-search-input_fixed', 'MIN_QUERY_LEN': 2 }); window.onload =function(){ var submenu = document.querySelectorAll('.dropdown-menu .dropdown-submenu .name'); for (var i = 0; i < submenu.length; i++) { submenu[i].onclick = function(){ /*alert(1); */ var show_submenu=this.parentNode.children[2]; if (show_submenu.style.display=='block') { this.parentNode.children[2].style.display = 'none'; this.innerHTML = ''; this.children[1].attr('src','/images/icon/thumbup.ico'); } else { this.parentNode.children[2].style.display = 'block'; this.innerHTML = ''; //this.children[1].attr('src','/images/icon/thumbup.ico'); } } } } >