Forum Discussion
web content tile refresh does not work
- 5 years ago
I found a solution. The following code works.
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
overflow: hidden;
}
#iframe1 {
position:absolute;
left: 0px;
width: 100%;
top: 0px;
height: 100%;
}
</style></head>
<body><iframe id="iframe1" src="//rss.bloople.net/?url=..........detail=-1&limit=10&showtitle=false&type=html" frameborder="0"></iframe>
<script>
window.setInterval("reloadIFrame();", 60000);
function reloadIFrame() {
document.getElementById("iframe1").src="//rss.bloople.net/?url=.........detail=-1&limit=10&showtitle=false&type=html";
}
</script></body>
</html>
I found a solution. The following code works.
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
overflow: hidden;
}
#iframe1 {
position:absolute;
left: 0px;
width: 100%;
top: 0px;
height: 100%;
}
</style>
</head>
<body>
<iframe id="iframe1" src="//rss.bloople.net/?url=..........detail=-1&limit=10&showtitle=false&type=html" frameborder="0"></iframe>
<script>
window.setInterval("reloadIFrame();", 60000);
function reloadIFrame() {
document.getElementById("iframe1").src="//rss.bloople.net/?url=.........detail=-1&limit=10&showtitle=false&type=html";
}
</script>
</body>
</html>