Created
February 6, 2019 12:32
-
-
Save vergissberlin/fb48c4b7871bbaf4d49dd70371f00d71 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Monitor</title> | |
<script | |
src="https://code.jquery.com/jquery-3.3.1.slim.min.js" | |
integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" | |
crossorigin="anonymous"></script> | |
<script src="https://cdn.rawgit.com/richistron/iframe-rotator/master/dist/iframe-rotator.js"></script> | |
<style> | |
* { | |
padding: 0; | |
margin: 0; | |
border: 0; | |
} | |
html, | |
body { | |
height: 100%; | |
} | |
body { | |
background: #20262E; | |
font-family: Helvetica; | |
} | |
div{ | |
height: 50%; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="top"></div> | |
<div id="bottom"></div> | |
<script> | |
new iFrameRotator($('#top'), { | |
delay: 30, | |
urls: ['https://iot.andrelademann.de/ui/#/0', 'http://cam-fight.surge.sh'], | |
styles: { | |
width: '100%', | |
height: '100%', | |
border: '0' | |
} | |
}); | |
new iFrameRotator($('#bottom'), { | |
delay: 30, | |
urls: ['https://www.netresearch.de', 'https://www.heise.de'], | |
styles: { | |
width: '100%', | |
height: '100%', | |
border: '0' | |
} | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment