Newer
Older
Game / home.html
@Yuto Togashi Yuto Togashi on 18 Oct 2022 1 KB fix function of onclick
<!DOCTYPE html>
<html lang="ja">
<head>
    <title>鮮やかな扉の部屋からの脱出</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.7.1/css/lightbox.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="door.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.7.1/js/lightbox.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="game.js"></script>
</head>
 
<body>
<h1>鮮やかな扉の部屋からの脱出</h1>

<div class="question">
    <h2 id="room">1つ目の部屋</h2>
    <!-- Image Map Generated by http://www.image-map.net/ -->
    <a id="nazo"><img id="image" src="clickable1.jpg" alt="部屋" usemap="#image-map"></a>
    <map id="image-map" name="image-map">
        <area id="door1" alt="扉1" title="扉1" coords="104,112,3,60,3,343,103,273" shape="poly" onclick="deadEnd1()">
        <area id="door2" alt="扉2" title="扉2" coords="215,135,265,241" shape="rect" onclick="deadEnd1()">
        <area id="door3" alt="扉3" title="扉3" coords="375,112,479,57,478,339,375,271" shape="poly" onclick="back2()">
        <area id="back" alt="戻る" title="戻る" shape="poly" onclick="back1()">
    </map>
</div>

<p class="center">&copy; 2022 東北公益文科大学 情報システムa/b ゲーム班</p>

</body>
</html>