如何使博客作者页面之一的内容占据页面的整个框架

时间:2019-01-14 00:25:15

标签: javascript html css blogger

这是页面https://ddc7hy.blogspot.com/p/blog-page_13.html 您会看到视频无法覆盖整个页面 我希望有解决方案

2 个答案:

答案 0 :(得分:0)

找到此代码:

example()
var MyObj = function(x) {
   this.x = x;
   this.y = 5;
};

MyObj.prototype.example = function() {
   
   // Create local variable to this, called self
   let self = this;
   
   return {
      addTwo: function() {
      
         // Access self field, which is reference 
         // to instance of enclosing object
         return 2 + (self.x);
      }
   }
};

var obj = new MyObj(5);

console.log('should return 5 + 2:', obj.example().addTwo() );

obj.x = 10;

console.log('should return 10 + 2:', obj.example().addTwo() );

答案 1 :(得分:0)

您可以尝试以下操作:

<VirtualHost *:80>
    #...whatever you already have set up...

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(.*)$ [NC]
    RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]

</VirtualHost>

它使用视口的高度和宽度填充整个视口