Originally Posted by
scribbler
Hope so Gary, it will take a big weight of my shoulders if someone is able to solve it for me
You can try adding the following into the Page header: Page > HTML code (Head):
Code:
<script>
// Prevent variables from being global
(function () {
/*
1. Inject CSS which makes iframe invisible
*/
var div = document.createElement('div'),
ref = document.getElementsByTagName('base')[0] ||
document.getElementsByTagName('script')[0];
div.innerHTML = '<style> iframe { visibility: hidden; } </style>';
ref.parentNode.insertBefore(div, ref);
/*
2. When window loads, remove that CSS,
making iframe visible again
*/
window.onload = function() {
div.parentNode.removeChild(div);
}
})();
</script>
The original detail is here: https://css-tricks.com/prevent-white-flash-iframe/.
Acorn
Bookmarks