UNPKG

web2app-spa

Version:

This template is primarily designed to easily convert HTML pages and URLs into a Capacitor/Cordova based iOS/Android app that can be used as Single-page application (SPA).

46 lines (45 loc) 1.09 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Page 5</title> <style> html, body { margin: 0; padding: 0; height: 100%; width: 100%; background-color: ffffff; /* pastel mavi */ display: flex; flex-direction: column; justify-content: center; align-items: center; font-family: Arial, sans-serif; font-size: 36px; color: #4a4a4a; } .small-btn { display: inline-block; padding: 10px 20px; background-color: #00000011; /* Green */ color: #4A4A4A; text-align: center; text-decoration: none; border-radius: 5px; font-size: 16px; cursor: pointer; margin-top: 20px; } </style> <script> function testFuncInPage5() { console.log("testFuncInPage5 called.") } </script> </head> <body> <div>page5.htm</div> <div class="small-btn" onclick="javascript:window.top.runAction('showpage7');">Open SecondView</div> </body> </html>