Changeset 18798

Show
Ignore:
Timestamp:
09/04/08 09:42:19 (4 months ago)
Author:
hajimehoshi
Message:

Modified for Another-lint HTML

Location:
lang/ruby/bokeshi/trunk/website/public
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/bokeshi/trunk/website/public/index.cgi

    r18763 r18798  
    3030<html lang="ja" xml:lang="ja" xmlns="http://www.w3.org/1999/xhtml"> 
    3131  <head> 
    32     <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> 
     32    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    3333    <meta http-equiv="Content-Script-Type" content="text/javascript" /> 
    3434    <meta http-equiv="Content-Style-Type" content="text/css" /> 
     
    4242    <h1>Bokeshi</h1> 
    4343    <p>Don't get the last one!</p> 
    44     <ul id="stage"></ul> 
     44    <div id="stage"></div> 
    4545    <p><button id="reset">Reset</button></p> 
    4646    <p id="waitingMessage">...</p> 
    47     <p id="message"></p> 
     47    <p id="message">...</p> 
    4848    <address>&copy; 2008 Hajime Hoshi</address> 
    4949  </body> 
  • lang/ruby/bokeshi/trunk/website/public/javascripts/bokeshi.js

    r18780 r18798  
    22 
    33function initStage() { 
     4    var stageUL = $("<ul></ul>"); 
    45    for (var i = 0; i < stage.length; i++) { 
    5         var ul = $('<ul></ul>').addClass("row"); 
     6        var rowUL = $("<ul></ul>").addClass("row"); 
    67        for (var j = 0; j < stage[i].length; j++) { 
    7             ul.append($("<li>|</li>").data("row", i).data("col", j)); 
     8            rowUL.append($("<li>|</li>").data("row", i).data("col", j)); 
    89        } 
    9         $("#stage").append(ul); 
     10        stageUL.append(rowUL); 
    1011    } 
     12    $("#stage").append(stageUL); 
    1113    $(".row").selectable({ 
    1214        start: function () {