8/8授業(メモ)

<meta name="viewport" content="width=device-width,initial-scale=1">

スマホには必須。

<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>jquery.mobile1</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css">
  <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
  <script src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
<style>
.ui-content.h1{
color: #5e87b0;
font-size: 17px;
text-shadow: 1px 0 0 #FFF;
}

textarea.ui-body-b,input.ui-body-b{
	background-color: white;
}
.ui-field-contain:first-child{
	padding-top: 0;
}
</style>
</head>
<body>
<div data-role="page" id="index" data-theme="b">
<div data-role="header" data-theme="b">
<h1>TOPページ</h1>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">メニュー</li>
<li><a href="#about" data-transiton="slide"><h3>このサイトについて</h3></a></li>
<li><a href="#seminar"><h3>セミナー情報</h3></a></li>
<li><a href="#access"><h3>アクセス</h3></a></li>
<li><a href="#contact"><h3>お問い合わせ</h3></a></li>
</ul>
</div>
<div data-role="footer" data-theme="b">
<h4>&copy;2012Smartphone</h4>
</div>
</div>
<div data-role="page" id="about" data-theme="c" data-add-back-btn="true">
<div data-role="header" data-theme="b">
<h1>このサイトについて</h1>
</div>
<div data-role="content">
<h2 class="h1">このサイトについて</h2>
<p>あいうえお。</p>
</div>
<div data-role="footer" data-theme="b">
<h4>&copy;2012Smartphone</h4>
</div>
</div>
<div data-role="page" id="seminar" data-theme="c" data-add-back-btn="true">
<div data-role="header" data-theme="b">
<h1>セミナー情報</h1>
</div>
<div data-role="content">
セミナー情報
</div>
<div data-role="footer" data-theme="b">
<h4>&copy;2012Smartphone</h4>
</div>
</div>
<div data-role="page" id="access" data-theme="c" data-add-back-btn="true">
<div data-role="header" data-theme="b">
<h1>アクセス</h1>
</div>
<div data-role="content">
アクセス
</div>
<div data-role="footer" data-theme="b">
<h4>&copy;2012Smartphone</h4>
</div>
</div>
<div data-role="page" id="contact" data-theme="c" data-add-back-btn="true">
<div data-role="header" data-theme="b">
<h1>お問い合わせ</h1>
</div>
<div data-role="fieldcontain">
<label for="comment">お問い合わせ内容</label>
<textarea id="comment"></textarea>
</div>
<div data-role="fieldcontain">
<label for="gender">性別</label>
<select name="gender" id="gender" data-role="slider" data-theme="b">
<option value="男性">男性</option>
<option value="女性">女性</option>
</select>
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<legend>お問い合わせ種別</legend>
<input type="checkbox" name="type1" id="type1" value="料金">
<label for="type1">料金</label>
<input type="checkbox" name="type2" id="type2" value="内容">
<label for="type2">内容</label>
</fieldset>
</div>
<form action="form.php" method="post">
<div data-role="fieldcontain">
<input type="button" value="キャンセル" data-theme="b" data-icon="delete" data-inline="true">
<input type="submit" value="送信" data-theme="b" data-icon="arrow-r" data-inline="true">
</form>
<div data-role="footer" data-theme="b">
<h4>&copy;2012Smartphone</h4>
</div>
</div>
</body>
</html>
<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>リストの練習</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css">
  <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
  <script src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
</head>
<body>
<div data-role="page" id="index">
<div data-role="header"><h1>ヘッダー</h1></div>
<div data-role="content">
<ul data-role="listview" data-counttheme="a">
<li><a href="#page2">list<span class="ui-li-count">10</span></a></li>
<li><a href="#page2">list<span class="ui-li-count">10</span></a></li>
<li><a href="#page2">list<span class="ui-li-count">10</span></a></li>
<li><a href="#page2">list<span class="ui-li-count">10</span></a></li>
<li><a href="#page2">list<span class="ui-li-count">10</span></a></li>
</ul>
</div>
<div data-role="footer"><h4>フッター</h4></div>
</div>
<div data-role="page" id="page2">
<div data-role="header"><h1>ページ2</h1></div>
<div data-role="content">コンテンツ2</div>
<div data-role="footer"><h4>フッター2</h4></div>
</div>
</body>
</html>
<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>リストの練習</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css">
  <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
  <script src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
</head>
<body>
<div data-role="page" id="index">
<div data-role="header"><h1>ヘッダー</h1></div>
<div data-role="content">
<div class="ui-grid-b">
<div class="ui-block-a"><div class="ui-bar ui-bar-e"><strong>A</strong></div></div>
<div class="ui-block-b"><div class="ui-bar ui-bar-e"><strong>B</strong></div></div>
<div class="ui-block-c"><div class="ui-bar ui-bar-e"><strong>C</strong></div></div>
<div class="ui-block-a"><div class="ui-bar ui-bar-e"><strong>A</strong></div></div>
<div class="ui-block-b"><div class="ui-bar ui-bar-e"><strong>B</strong></div></div>
<div class="ui-block-c"><div class="ui-bar ui-bar-e"><strong>C</strong></div></div>
</div>
</div>
<div data-role="footer"><h4>フッター</h4></div>
</body>
</html>
  • ゲームを作る

unity

  • 映像編集

avid