Конфликт с js

GrafMishka

Проверенные
Сообщения
302
Реакции
82
Баллы
3,330
Всем привет. Установил код подписки на рассылку от smartresponder
Вывожу его через виджет фреймворк, но получаю конфликт
Код:
        return jQuery.easing[jQuery.easing.def](e, f, a, h, g)
Unhandled Error: 'jQuery.easing[jQuery.easing.def]' is not a function
После которого вкладки "войти или зарегистрироваться, входящие, оповещения" не работает.

Код:
<!-- SmartResponder.ru subscribe form code (begin) -->
<link rel="stylesheet" href="https://imgs.smartresponder.ru/e1bbeb24091b44f1f4048bbc87eda/">
<script type="text/javascript" src="https://imgs.smartresponder.ru/52568378bec6f68117c48f2f786db/"></script>
<script type="text/javascript">
    _sr(function() {
        _sr('form[name="SR_form_2_62"]').find('div#sr-preload_').prop('id', 'sr-preload_2_62');
        _sr('#sr-preload_2_62').css({'width':parseInt(_sr('form[name="SR_form_2_62"]').width() + 'px'), 'height':parseInt(_sr('form[name="SR_form_2_62"]').height()) + 'px', 'line-height':parseInt(_sr('form[name="SR_form_2_62"]').height()) + 'px'}).show();
        if(_sr('form[name="SR_form_2_62"]').find('input[name="script_url_2_62"]').length) {
            _sr.ajax({
                url: _sr('input[name="script_url_2_62"]').val() + '/' + (typeof document.charset !== 'undefined' ? document.charset : document.characterSet),
                dataType: "script",
                success: function() {
                    _sr('#sr-preload_2_62').hide();
                }
            });
        }
    });
</script>
<div id="outer_alignment">
    <form class="sr-box" method="post" action="https://smartresponder.ru/subscribe.html" name="SR_form_2_62" style="width: 349px; border: 1px solid rgb(200, 200, 200); margin-left: ; border-radius: 0px;">
        <input type="text" name="field_name" class="sr-name">
        <div id="sr-preload_" style="display: none; background-color: #f6f6f6; opacity: 0.5; position: absolute; z-index: 100; text-align: center; font: bold 15px Arial;">Загрузка...</div>
        <ul class="sr-box-list"><li class="sr-2_62" style="text-align: center; border-radius: 0px; border: 0px; height: 63px; padding: 0px; background-color: rgb(242, 242, 242);"><input type="hidden" name="element_header" value="" style="font-family: Arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-weight: normal; border: none; box-shadow: none; background-color: rgb(255, 255, 255);"><table id="elem_table_element_header" border="0" cellspacing="0" cellpadding="0" style="display: inline-table; border-collapse: separate; width: 351px; margin: -1px 0px 0px -1px;"><tbody><tr><td id="elem_left_element_header" valign="middle" style="width: 3px; height: 63px; background: url('https://imgs.smartresponder.ru/on/aa56d03a5d30a168ae1901ae088c8c018b915b97/') 50% 0% no-repeat transparent;"></td><td id="elem_container_element_header" style="vertical-align: middle;"><label class="sr-element" style="font-family: arial; color: rgb(255, 255, 255); font-size: 16px; font-weight: bold; width: 100%; text-align: center; height: auto; box-sizing: border-box; padding: 0px; background: url('https://imgs.smartresponder.ru/on/643614e0ba88d89750cbccfa5c8139d90cf/') 50% 0% repeat transparent;">Подписка на рассылку</label></td><td id="elem_right_element_header" style="width: 3px; height: 63px; background: url('https://imgs.smartresponder.ru/on/00fc1c1bac5bb19407816afb187ad80210c4e00b/') 50% 0% no-repeat transparent;"></td></tr></tbody></table></li><li class="sr-2_62" style="text-align: center; border-radius: 0px; height: 60px; background-color: rgb(242, 242, 242);"><label style="font-weight: normal; font-family: arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; display: none;" class="remove_labels"></label><input type="text" name="field_name_first" style="font-family: arial; color: rgb(175, 175, 175); font-size: 11px; font-weight: bold; border: 1px solid rgb(223, 223, 223); border-radius: 0px; height: 40px; box-shadow: none; margin-top: 20px; background-image: url('https://imgs.smartresponder.ru/on/06344bc16f0bcc9ec3a7737d98475d/'); background-color: rgb(255, 255, 255); background-position: 95% 50%; background-repeat: no-repeat;" value="Ваше имя"></li><li class="sr-2_62" style="text-align: center; border-radius: 0px; height: 60px; background-color: rgb(242, 242, 242);">
<label style="font-weight: normal; font-family: arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; display: none;" class="remove_labels"></label>
<input type="text" name="field_email" class="sr-required" style="font-family: arial; color: rgb(175, 175, 175); font-size: 11px; font-weight: bold; border: 1px solid rgb(223, 223, 223); border-radius: 0px; height: 40px; box-shadow: none; margin-top: 20px; background-image: url('https://imgs.smartresponder.ru/on/09f7353c5920d6f09eb1073129ddec6f0532/'); background-color: rgb(255, 255, 255); background-position: 95% 50%; background-repeat: no-repeat;" value="Ваш email-адрес">
            </li><li class="sr-2_62" style="text-align: center; border-radius: 0px; border: 0px; height: 90px; background-color: rgb(242, 242, 242);"><table id="elem_table_subscribe" border="0" cellspacing="0" cellpadding="0" style="display: inline-table; border-collapse: separate; margin-top: 27px;"><tbody><tr><td id="elem_left_subscribe" valign="middle" style="width: 3px; height: 40px; background: url('https://imgs.smartresponder.ru/on/3c98b3ea911eb4e23741c6dddef99c47d406115f/') 0% 50% no-repeat transparent;"></td><td id="elem_container_subscribe" style="vertical-align: middle;"><input type="submit" name="subscribe" value="Подписаться" style="font-family: arial; color: rgb(255, 255, 255); font-size: 15px; font-weight: bold; border: 0px solid rgb(240, 240, 240); height: 40px; width: 100%; margin: 0px; padding: 0px 34px; box-shadow: none; background: url('https://imgs.smartresponder.ru/on/b9f9b4093805099c1a0a5f99fdcf9/') 0% 50% repeat transparent;"></td><td id="elem_right_subscribe" style="width: 3px; height: 40px; background: url('https://imgs.smartresponder.ru/on/2a7f8a8e37d9d7a4213291092a3a5517242/') 0% 50% no-repeat transparent;"></td></tr></tbody></table></li></ul>
        <input type="hidden" name="uid" value="765772">
    <input type="hidden" name="tid" value="0"><input type="hidden" name="lang" value="ru"><input type="hidden" name="did[]" value="926525"><input name="script_url_2_62" type="hidden" value="https://imgs.smartresponder.ru/on/d8b7d3c30154aa37cd66ebf6ee0905f/2_62"></form>
</div>
<!-- SmartResponder.ru subscribe form code (end) -->
 
Последнее редактирование:
Попробовал вставить твой код в forum_list, все выводиться, просто не правильно подключаешь, Создай шаблон новый, сунь туда этот код, сделай блок в сайдбар или с помощью виджет фраймверка сделай виджет.

Вот пример, там просто код вставлен, а если его сделать в блок сайдбара все будет по размеру
2016-04-23_080547.png

Могу все оформить в такой аккуратненький плагинчик с виджетом для фраймверка, ну чисто так за 500 рублей.

Даже настройки стиля можно забабахать :-) такая красота получится :thumbsup: за 1000 рублей

2016-04-23_101748.png
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу