Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><head><base target="_blank"></head><body><div id="fr" data="<iframe width="100%" height="100%" src="https://google-opensocial.googleusercontent.com/gadgets/ifr?url=https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/f107b843-3661-4036-9397-2b0c6414a369%2Fawesome-tanks.xml" frameborder="0" allowfullscreen></iframe>"><iframe width="100%" height="100%" src="https://google-opensocial.googleusercontent.com/gadgets/ifr?url=https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/f107b843-3661-4036-9397-2b0c6414a369%2Fawesome-tanks.xml" frameborder="0" allowfullscreen=""></iframe></div><button class="c-button" type="button" onclick="PlayTo(this)" style="display: none;">CLICK TO PLAY</button>
- <style>
- .c-button {
- min-width: 100%;
- font-family: "Gill Sans", sans-serif;
- font-weight: bolder;
- appearance: auto;
- border: 0;
- border-color: #fff;
- border-radius: 5px;
- background-size: 50px 50px;
- background-color: #ac0;
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
- background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
- background-image: -ms-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
- color: #000;
- font-size: 30px;
- cursor: pointer;
- }
- .c-button:hover {
- background: #ac0;
- }
- .c-button:focus {
- outline: none;
- box-shadow: 0 0 0 4px #cbd6ee;
- }
- .c-button {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
- }
- </style>
- <script>
- function PlayTo(sel){
- var div = sel.previousSibling;
- div.innerHTML=div.getAttribute('data');
- sel.style.display = "none";
- }
- </script></body></html>
Advertisement
Add Comment
Please, Sign In to add comment