JavaScript
- 74 ответа
- 0 вопросов
67
Вклад в тег
<a href="" class="popup_open" data-target=".popup_1"></a>
<a href="" class="popup_open" data-target=".popup_2"></a>
<a href="" class="popup_open" data-target=".popup_3"></a>
<a href="" class="popup_open" data-target=".popup_4"></a>
<a href="" class="popup_open" data-target=".popup_5"></a>
<div class="popup_1"></div>
<div class="popup_2"></div>
<div class="popup_3"></div>
<div class="popup_4"></div>
<div class="popup_5"></div>
$('.popup_open').click(function () {
var modal = $(this).data('target');
$(modal).fadeIn(0);
$(modal).animate({top:"0", bottom:"0"}, 400);
$('header').animate({top:"-60px"}, 400);
return false;
});
<?php if(isset($row)) : ?>
<div class="uk-button-group">
<a class="uk-button uk-button-link uk-button-large" href="../auth/signup.php">Регистрация</a>
<a class="uk-button uk-button-success uk-button-large uk-margin-left" href="../auth/login.php" style="background-color: #ffb433;"onmouseover="this.style.backgroundColor='#eb8d00';" onmouseout="this.style.backgroundColor='#ffb433';"><i class="uk-icon-lock uk-margin-small-right"></i> Войти</a>'
</div>
<?php endif; ?>