| 1 | <html> |
| 2 | <head> |
| 3 | <script type="application/javascript" src="../../../src/htmx.js"></script> |
| 4 | </head> |
| 5 | <body> |
| 6 | <main> |
| 7 | <button hx-get="video1.html" |
| 8 | hx-target="#video-container"> |
| 9 | Load Video Layout 1 |
| 10 | </button> |
| 11 | <button hx-get="video2.html" |
| 12 | hx-push-url="true" |
| 13 | hx-target="#video-container"> |
| 14 | Load Video Layout 2 |
| 15 | </button> |
| 16 | ˙˙ |
| 17 | <hr/> |
| 18 | <div id="video-container"> |
| 19 | --- |
| 20 | </div> |
| 21 | </main> |
| 22 | </body> |
| 23 | </html> |