UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
flex-direction: row; | |
justify-content: space-between; | |
-webkit-box-pack: justify; | |
-webkit-box-pack: justify; |
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
$.fn.serializeObject = function () { | |
var self = this, | |
json = {}, | |
push_counters = {}, | |
patterns = { | |
"validate": /^[a-zA-Z][a-zA-Z0-9_]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/, | |
"key": /[a-zA-Z0-9_]+|(?=\[\])/g, | |
"push": /^$/, | |
"fixed": /^\d+$/, | |
"named": /^[a-zA-Z0-9_]+$/ |
(function ($) { | |
$.fn.bindImageLoad = function (callback) { | |
function isImageLoaded(img) { | |
// Во время события load IE и другие браузеры правильно | |
// определяют состояние картинки через атрибут complete. | |
// Исключение составляют Gecko-based браузеры. | |
if (!img.complete) { | |
return false; | |
} | |
// Тем не менее, у них есть два очень полезных свойства: naturalWidth и naturalHeight. |
add div.progressbar into slider's container | |
add option 'cellSelector' | |
and add some callbacks : | |
$gallery.on( 'cellSelect', function() { | |
var el = $('.progressbar'); | |
var newone = el.clone(true); | |
el.before(newone); | |
$("." + el.attr("class") + ":last").remove(); |
Forked from David DeSandro's Pen Flickity.
A Pen by Captain Anonymous on CodePen.
// Small screens | |
@media only screen { } /* Define mobile styles */ | |
@media only screen and (max-width: 40em) { } /* max-width 640px, mobile-only styles, use when QAing mobile issues */ | |
// Medium screens | |
@media only screen and (min-width: 40.063em) { } /* min-width 641px, medium screens */ | |
@media only screen and (min-width: 40.063em) and (max-width: 64em) { } /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */ |
$arStructured = array(); | |
$sectionLink = array(); | |
$arStructured['ROOT'] = array(); | |
$sectionLink[0] = &$arStructured['ROOT']; | |
foreach ($arResult['SECTIONS'] as $arSection) { | |
$sectionLink[intval($arSection['IBLOCK_SECTION_ID'])]['CHILD'][$arSection['ID']] = $arSection; | |
$sectionLink[$arSection['ID']] = &$sectionLink[intval($arSection['IBLOCK_SECTION_ID'])]['CHILD'][$arSection['ID']]; | |
} | |
unset($sectionLink); | |
$arResult['_STRUCTURED_SECTIONS'] = $arStructured; |
Список стандартных форм и способы их обработки: | |
авторизация\регистрация\забыли пароль (компоненты) | |
добавить в корзину (функция) | |
информационные формы (html) | |
функции для обработки форм: | |
js -сбор данных, отправка, вывод ошибок | |
в качестве контролера используется ajax.php, в который мы отправляем запросы с определенным type. В ответ получаем json\text и выводим его в модальную форму. |