オブジェクト指向と enchant.js のクラス | Webプログラミング!

Time-stamp: "2016-02-26 Fri 09:10 JST hig"

説明

Bootstrapを使ったページのサンプル

Bootstrapを使ったページのサンプル

bs1.html

<!DOCTYPE html>
<html lang="ja">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>アプリ名</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="container">
    <div class="jumbotron text-center"
      style="background:url(screenshot2.png);  background-size:cover;">
      アプリ名
    </div>
    <ol class="breadcrumb">
    <li><a href="http://www.ryukoku.ac.jp">龍谷大学</a></li>
    <li><a href="http://www.rikou.ryukoku.ac.jp">理工学部</a>( <a href="http://www.ryukoku.ac.jp/web/map/seta.html">瀬田キャンパス</a>)</li>
    <li><a href="http://www.math.ryukoku.ac.jp/">数理情報学科</a></li>
    <li><a href="http://www.a.math.ryukoku.ac.jp/~hig/">樋口研究室</a></li>
    </ol>
    <h1>アプリ名<br/>
      <small> サブタイトル</small>
    </h1>


      <div class="row">
      <div class="col-sm-6">
      <div class="panel panel-default">
	<div class="panel-heading">
	  <h2 class="panel-title">ストーリー</h2></div>
	  <div class="panel-body">
	    昔々はるか銀河の彼方で…
	  </div>
	  <div class="panel-footer">おしまい</div>
	</div>
      </div>
      <div class="col-sm-6">
	<div class="panel panel-default">
	<div class="panel-heading">
	  <h2 class="panel-title">操作説明</h2></div>
	  <div class="panel-body">
	    ライトセーバーのスイッチをいれるには…
	  </div>
	  <div class="panel-footer">おしまい</div>
	</div>
	</div>
      </div>
      <div class="row">
      <div class="col-sm-6">
	  <a href="http://www.a.math.ryukoku.ac.jp/~hig/course/web/lect_enchantjs_class/class5/class5.html" class="btn btn-primary btn-block" style="height:120px;">ゲームスタート</a>
	</div>

	<div class="col-sm-6">
	  <img src="screenshot2.png" class="img-responsive">
	</div>
      </div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
      </div>
  </body>
</html>
      

bs1.js

このサイトのコンテンツ

QRcode to hig3.net

https://hig3.net