Enriquece su página o blog un único elemento interactivo - Chessfriends.com tablero de ajedrez. Sus visitantes y lectores podrán jugar inmediatamente partida de ajedrez contra un oponente real directamente en su página. Insertar Chessfriends.com tablero de ajedrez es muy simple, que le lleva sólo unos minutos.
Copie de la primera parte del código (código Javascript) y lo pegue en cualquier sitio entre tagos <html> y </html>.
Ejemplos:
<head> <title>Nombre de su página</title> ... <script type='text/javascript'>window._cf ={}; window._cf.id = '2';(function() {var cf = document.createElement('script'); cf.type ='text/javascript'; cf.async = true; cf.src = 'http://cf-cdn.s3.amazonaws.com/js/livechess.min.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(cf, s);})();</script> ... </head>
<body> ... <script type='text/javascript'>window._cf ={}; window._cf.id = '2';(function() {var cf = document.createElement('script'); cf.type ='text/javascript'; cf.async = true; cf.src = 'http://cf-cdn.s3.amazonaws.com/js/livechess.min.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(cf, s);})();</script> ... </body>
Copie la segunda parte del código generado (el código HTML) y póngalo en lugar adecuado entre etiquetas
Ejemplos:
<body><div id="CF_LIVE_BOARD_1"></div>... </body>
<div id="ID_of_your_existing_div"><div id="CF_LIVE_BOARD_1"></div>... </div>
Pista: Nowadays, most of pages and blogs are divided into sections (<div>âs). If you want to place JuegaAjedrez.es Live Board e.g. in your menu, try to find the <div>, which contains the menu code and insert the HTML generated code of the JuegaAjedrez.es Live Board there.