Skip to content

Instantly share code, notes, and snippets.

@CrazyWolf13
Created July 3, 2025 19:30
Show Gist options
  • Save CrazyWolf13/8481acbd1b1d97efca1c8d40fcfeffeb to your computer and use it in GitHub Desktop.
Save CrazyWolf13/8481acbd1b1d97efca1c8d40fcfeffeb to your computer and use it in GitHub Desktop.
Cisco ThousandEyes Outages Iframe; hosted at codesandbox too: https://vvssnn.csb.app/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ThousandEyes Outages Embed</title>
<style>
html, body {
margin: 0;
padding: 0;
background: transparent;
}
.iframe-container {
width: 100%;
height: 940px;
overflow: hidden;
position: relative;
cursor: default;
background: transparent;
}
.iframe-container iframe {
position: absolute;
top: -280px;
left: 0;
width: 100%;
height: 2000px;
border: none;
pointer-events: auto;
}
.icon-button {
position: absolute;
z-index: 20;
background: rgba(255, 255, 255, 0.9);
border-radius: 4px;
padding: 4px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
cursor: pointer;
transition: background 0.2s;
}
.icon-button:hover {
background: rgba(230, 230, 230, 0.95);
}
.icon-button img {
width: 16px;
height: 16px;
display: block;
}
.open-iframe-link {
top: 10px;
left: 10px;
}
.timeline-icon {
top: 10px;
right: 10px;
}
</style>
</head>
<body>
<div class="iframe-container" id="iframeWrapper">
<iframe src="https://www.thousandeyes.com/outages/" scrolling="no"></iframe>
<!-- Open iframe target in new tab (top-left) -->
<a
class="icon-button open-iframe-link"
href="https://www.thousandeyes.com/outages/"
target="_blank"
title="Open in new tab"
>
<img src="https://img.icons8.com/ios-filled/50/000000/link.png" alt="Open Link Icon">
</a>
<!-- Timeline icon (top-right) -->
<a
class="icon-button timeline-icon"
href="https://www.thousandeyes.com/resources/internet-outages-timeline"
target="_blank"
title="Open Internet Outages Timeline"
>
<img src="https://img.icons8.com/ios-filled/50/000000/timeline.png" alt="Timeline Icon">
</a>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment