$APPLICATION->IncludeComponent(
"otb:main.feedback",
"callback",
array(
"COMPONENT_TEMPLATE" => "callback",
"EMAIL_TO" => "",
"EVENT_MESSAGE_ID" => array(
0 => "8",
),
"OK_TEXT" => "Спасибо, ваше сообщение принято.",
"REQUIRED_FIELDS" => array(
0 => "NAME",
1 => "PHONE",
),
"USE_CAPTCHA" => "Y",
"AJAX_MODE" => "Y",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "N",
"AJAX_OPTION_HISTORY" => "N",
"AJAX_OPTION_ADDITIONAL" => "N"
),
false
);
<h1><?
echo (
isset($arResult['SECTION']["IPROPERTY_VALUES"]["SECTION_PAGE_TITLE"]) && $arResult['SECTION']["IPROPERTY_VALUES"]["SECTION_PAGE_TITLE"] != ""
? $arResult['SECTION']["IPROPERTY_VALUES"]["SECTION_PAGE_TITLE"]
: $arResult['SECTION']['NAME']
);
?></h1>
if($('div').hasClass('active'))
$('div.owl-item').css('opacity', '1')
else $('div.owl-item').css('opacity', '0.7');
.owl-item {
opacity:0.7!important;
}
.active {
opacity:1!important;
}