Помогите, пожалуйста, гуру форума! Как этот все настроить под свой блог?
<!DOCTYPE html>
<head>
<title>Как играть в шахматы</title>
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-53057-1']);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_setDomainName', 'www.chess.com']);
_gaq.push(['_trackPageview']);
</script>
<link href="http://cssjs.chesscomfiles.com/css/common.v2013110701.css" type="text/css" rel="stylesheet" />
<script src="http://cssjs.chesscomfiles.com/js/jquery/jquery-1.7.2.min.js"></script>
<script type="text/javascript">var $j = jQuery.noConflict();</script>
</head>
<body>
<!-- CHESS_COM_DIAGRAM <div style="text-align: center"> -->
<div id="chess_com_diagram_2_73" class="chessDiagramDiv align-center"><!--
&-diagramtype:
chessGame
&-colorscheme:
wood
&-piecestyle:
classic
&-float:
center
&-flip:
false
&-prompt:
false
&-coords:
false
&-size:
30
&-lastmove:
&-focusnode:
&-beginnode:
&-endnode:
&-pgnbody:
[Date "????.??.??"]
[Result "*"]
[FEN "8/8/4k3/8/4K3/8/8/8 w - - 0 1"]
1. Kd4 Kf6 2. Kd5 Kf5 3. Kd6 Ke4 4. Ke7 Kd4 5. Ke6 Kc5 6. Kf5 Kd5 7. Kf4 Ke6 8. Ke4
*
-->
<!-- AddThis Button END -->
</span>
</div>
</div>
<!-- /#page -->
<script>
//<![CDATA[
var Config = {
"application.version": 2013121801,
"cometd.url": "/cometd",
"domain.main": "http://www.chess.com",
"domain.static": "http://cssjs.chesscomfiles.com",
"domain.files": "http://files.chesscomfiles.com",
"domain.live": "http://live.chess.com",
"domain.livews": "http://live.chess.com",
"domain.livewss": "https://live.chess.com",
"domain.voice": "rtmp://voice.chess.com",
"domain.cssjs": "http://cssjs.chesscomfiles.com",
"domain.images": "http://images.chesscomfiles.com",
"domain.avatars": "http://avatars.chesscomfiles.com"
};
//]]>
</script>
<script src="http://cssjs.chesscomfiles.com/js/chess2/bundled/DiagramViewer.v2013121801.js"></script>
<script src="http://cssjs.chesscomfiles.com/js/all_main_functions.v2013121801.js"></script>
<script src="http://images.chesscomfiles.com/assets/js/qcodo_all.v2013121801.js"></script>
<script>
//<![CDATA[
qc.registerForm(); qc.imageAssets = "http://images.chesscomfiles.com/assets/images"; qc.cssAssets = "http://images.chesscomfiles.com/assets/css"; qc.phpAssets = "/assets/php"; qc.jsAssets = "http://images.chesscomfiles.com/assets/js";
//]]>
</script> <script>(function(){var ga=document.createElement("script");ga.type="text/javascript";ga.async=true;ga.src=("https:"==docume nt.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga,s)})();</script>
<script type="text/javascript">
$j('#lang_display, #lang_display_btn').click(function (e) {
e.preventDefault();
var jsDeferred = jsDeferred || new $j.Deferred(),
cssDeferred = cssDeferred || new $j.Deferred(),
content = false,
modal = $j('#language-select');
css = 'http://cssjs.chesscomfiles.com/css/modals.v2013110701.css';
// Load the JS on-demand if we don't already have it
if (! $j().modal) {
$j.getScript('http://cssjs.chesscomfiles.com/js/bootstrap/bootstrap-modal.v2013121801.js').done(function (script) {
jsDeferred.resolve();
}).fail(function () {
jsDeferred.reject();
return alert('There was an error processing your request. Please try again in a few minutes.');
});
} else {
jsDeferred.resolve();
}
// Inject a CSS link into the <head> if we don't already have one
if (! $j('link[href="' + css + '"]').length) {
$j('head').append(
$j('<link rel="stylesheet" type="text/css" />').attr('href', css)
);
cssDeferred.resolve();
} else {
cssDeferred.resolve();
}
// When we have the content, JS, and CSS - modal up!
$j.when.apply($j, [jsDeferred, cssDeferred]).done(function () {
modal.modal();
// Bind the language choices to start the language changing process
$j('li.lang_choice', modal).bind('click', function (e) {
e.preventDefault();
$j.post(
'/api/change_language',
{ 'locale': this.id.substring('lang_selector_'.length) },
function () {
location.reload();
}
);
});
$j('#my_language', modal).bind('click', function (e) {
e.preventDefault();
$j('#my_language_desc', modal).removeClass('hide');
});
});
return false;
});
</script>
</body>
</html>
Последний раз редактировалось sport-chess, 24.12.2013 в 13:03.
|