| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 |
| arcade-games:96_flag_rally [2025/01/06 03:45] – wyrover | arcade-games:96_flag_rally [2025/01/06 04:50] (当前版本) – wyrover |
|---|
| .container { | .container { |
| position: relative; | position: relative; |
| width: 580px; | width: 600px; |
| height: 450px; | height: 450px; |
| } | } |
| color: white; | color: white; |
| border: none; | border: none; |
| padding: 20px 40px; | padding: 20px 180px; |
| cursor: pointer; | cursor: pointer; |
| font-size: 24px; | font-size: 96px; |
| } | } |
| </style> | </style> |
| |
| <div class="container"> <img src="https://1000w123.com/_media/arcade-games/2025-01-06_11-40-21.png" class="image" alt="Image"> <button class="play-button" onclick="loadIframe()">PLAY</button> </div> <div id="iframeContainer"></div> <script type="text/javascript"> function loadIframe() { var iframe = document.createElement('iframe'); iframe.src = 'https://www.retrogames.cc/embed/33038-96-flag-rally.html'; iframe.width = '580'; iframe.height = '450'; var container = document.querySelector('.container'); container.parentNode.replaceChild(iframe, container); } </script> | |
| | |
| | <div class="container"> |
| | <img src="/_media/arcade-games/2025-01-06_12-48-51.png" class="image" alt="Image"> |
| | <button class="play-button" onclick="loadIframe()">PLAY NOW</button> |
| | </div> |
| | <div id="iframeContainer"></div> |
| | |
| | <script type="text/javascript"> |
| | function loadIframe() { |
| | var iframe = document.createElement('iframe'); |
| | iframe.src = 'https://www.retrogames.cc/embed/33038-96-flag-rally.html'; |
| | iframe.width = '600'; |
| | iframe.height = '450'; |
| | iframe.frameBorder = 'no'; |
| | iframe.allowFullscreen = true; |
| | iframe.webkitallowfullscreen = true; |
| | iframe.mozallowfullscreen = true; |
| | iframe.scrolling = 'no'; |
| | var container = document.querySelector('.container'); |
| | container.parentNode.replaceChild(iframe, container); |
| | } |
| | </script> |
| | |
| </html> | </html> |
| |
| {{tag>}} | {{tag>}} |
| |
| {{:arcade-games:2025-01-06_11-40-21.png|}} | |
| | |
| |
| ~~DISCUSSION~~ | ~~DISCUSSION~~ |
| |