Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

19
LINES

< > BotCompany Repo | #1012830 // Chessboard.JS Test

HTML

<title>Chessboard.JS</title>

<link rel="stylesheet" href="http://tinybrain.de:8080/chessboard-js/css/chessboard-0.3.0.css" />

<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="http://tinybrain.de:8080/chessboard-js/js/chessboard-0.3.0.js"></script>

<h3>Board</h3>
<div id="board1" style="width: 400px"></div>

<script>
  $(document).ready(function() {
    var cfg = {
      pieceTheme: 'http://tinybrain.de:8080/chessboard-js/img/chesspieces/wikipedia/{piece}.png',
      position: 'rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 1 2'
    };
    var board = ChessBoard('board1', cfg);
  });
</script>

download  render html  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012830
Snippet name: Chessboard.JS Test
Eternal ID of this version: #1012830/6
Text MD5: 75fcac1a036d97d19e7f74ddd4f75b43
Author: stefan
Category: javax / html
Type: HTML
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-14 00:43:17
Source code size: 664 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 265
Version history: 5 change(s)
Referenced in: [show references]