背景不会改回

时间:2015-12-07 23:01:38

标签: javascript jquery html css

因此,当您首次加载页面时,我有这个视频背景,然后您点击的按钮会覆盖可见的内容,并在您隐藏时将页面高度设为div之后,我所拥有的视频已经消失,而且还有白色背景,为什么呢?谢谢你的帮助。

$( document ).ready(function() {
var yellowclicks = 0;
$('.x').hide();
$('.yellow-text-bg').hide();
$('.round-button-circle-x').hide();
$('.round-button-circle').click(function(){
    $('.round-button').css('margin-top','5%');
    $('#logo').fadeOut(80);
    $('.hiderow').hide();
    $('.round-button-circle').hide();
    $('.yellow-text-bg').delay(80).fadeIn(500);
    $('.round-button-circle-x').delay(80).fadeIn(500);
    yellowclicks =+1;
    $('.intro').hide();
});
$('.arrow').click(function(){
    $('.yellow-text-bg').fadeOut(400);
    $('#logo').delay(500).fadeIn(500);
    $('.round-button-circle').delay(500).fadeIn(500).css('margin-top','10%');
});

0 个答案:

没有答案