flag scrollen nur im fenster
This commit is contained in:
2
flag.js
2
flag.js
@@ -18,12 +18,14 @@
|
||||
flag.style.opacity = 0;
|
||||
setTimeout(function() {
|
||||
flag.remove();
|
||||
document.body.style.overflowY = 'auto';
|
||||
},500);
|
||||
},3000);
|
||||
}
|
||||
|
||||
var openFlag = function(ev) {
|
||||
flag = document.createElement('div');
|
||||
document.body.style.overflowY = 'hidden';
|
||||
flag.id = 'flag-overlay';
|
||||
iframe = document.createElement('iframe');
|
||||
iframe.src= '';
|
||||
|
||||
Reference in New Issue
Block a user