Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head >
- <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
- <style type="text/css">
- <!--
- input,textarea {font-size: 28;}
- -->
- </style>
- <style type="text/css">
- <!--
- #buttonx {
- width:300px;
- color:#ffffff;
- background:#337fcc;
- font-family: fantasy,sans-serif;
- font-size:24px;
- font-weight:bold;
- text-shadow:0 1px 0px #143352,0 2px 0px #143352;
- text-align:center;
- display:inline-block;
- text-decoration:none;
- border:1px solid #225588;
- padding:15px 0 12px 0;
- border-radius:5px;
- margin-bottom:20px;
- }
- -->
- </style>
- <title>エモーション</title>
- </head>
- <!--
- This simple Javascript Function sends
- the string "data" to the the excuting BASIC!
- program.
- The BASIC command, "html.getdatalink data$", is
- used to read linked data. If data$ is empty ("") then
- not data has been sent. The BASIC! programmer
- can loop on this value until a non-empty string is
- returned.
- This function is the heart the HTML/BASIC! interactive
- interface.
- -->
- <script type="text/javascript">
- function doDataLink(data) {
- // alert(data);
- Android.dataLink(data);
- }
- </script>
- <body bgcolor="azure">
- <div align="center">
- <!--
- Display an image located on the internet
- -->
- <h1><b>画像感情判定</b></h1>
- <p>
- 画像のURL:<input type="text" name="name" size="25" id="ken1" value="@@@1@@@">
- </p>
- <p>
- <a id="buttonx" style="width:250px" onmouseover="this.style.background='#43cd80'" onmouseout="this.style.background='#337fcc'" onclick="this.style.background='#43cd80';doDataLink(document.getElementById('ken1').value)">送 信</a>
- </p>
- <p>
- <a id="buttonx" style="width:250px" onmouseover="this.style.background='#43cd80'" onmouseout="this.style.background='#337fcc'" onclick="this.style.background='#43cd80';doDataLink('//x//')">終 了</a>
- <p>
- 「終了」ボタンを押すとプログラムが終了します。
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement