:Google Books — различия между версиями
Материал из Н.Ф. Федоров
Petrov (обсуждение | вклад) (Новая страница: «<noinclude>__NOTOC__This widget allows you to embed '''[http://code.google.com/apis/books/docs/preview-wizard.html Google Books]''' on your wiki page.Created by [htt...») |
Petrov (обсуждение | вклад) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 1: | Строка 1: | ||
− | <noinclude>__NOTOC__This widget allows you to embed '''[http://code.google.com/apis/books/docs/preview-wizard.html Google Books]''' on your wiki page.Created by [http://www.mediawikiwidgets.org/User:Arv Arv]== Using this widget ==For information on how to use this widget, see [http://www.mediawikiwidgets.org/Google_Books widget description page on MediaWikiWidgets.org].== Copy to your site ==To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.</noinclude><includeonly><!--{counter name="bookDivID" assign="bookDivID"}--><div id="viewerCanvas<!--{$bookDivID|escape:'html'}-->" style="width: <!--{$width|escape:'html'|default:'600'}-->px; height: <!--{$height|escape:'html'|default:500}-->px"></div><!--{if $bookDivID == 1}--><script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript"> var widgetbooks = []; var bookwidgetloaded = false; var showbooks = function() { if (!bookwidgetloaded) { return; } for(var i=0; i<widgetbooks.length; i++) { var widget = widgetbooks[i]; var viewer = new google.books.DefaultViewer(document.getElementById(widget.element)); viewer.load(widget.id); } }; google.setOnLoadCallback(function() { bookwidgetloaded = true; showbooks(); }); google.load("books", "0");</script><!--{/if}--><script type="text/javascript">widgetbooks[widgetbooks.length] = { element: 'viewerCanvas<!--{$bookDivID|escape:'quotes'}-->', id: '<!--{$id|escape:'quotes'}-->' };showbooks();</script></includeonly> | + | <noinclude>__NOTOC__This widget allows you to embed '''[http://code.google.com/apis/books/docs/preview-wizard.html Google Books]''' on your wiki page.Created by [http://www.mediawikiwidgets.org/User:Arv Arv] |
+ | |||
+ | == Using this widget == | ||
+ | |||
+ | |||
+ | For information on how to use this widget, see [http://www.mediawikiwidgets.org/Google_Books widget description page on MediaWikiWidgets.org]. | ||
+ | |||
+ | == Copy to your site == | ||
+ | |||
+ | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.</noinclude><includeonly><!--{counter name="bookDivID" assign="bookDivID"}--><div id="viewerCanvas<!--{$bookDivID|escape:'html'}-->" style="width: <!--{$width|escape:'html'|default:'600'}-->px; height: <!--{$height|escape:'html'|default:500}-->px"></div><!--{if $bookDivID == 1}--><script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript"> var widgetbooks = []; var bookwidgetloaded = false; var showbooks = function() { if (!bookwidgetloaded) { return; } for(var i=0; i<widgetbooks.length; i++) { var widget = widgetbooks[i]; var viewer = new google.books.DefaultViewer(document.getElementById(widget.element)); viewer.load(widget.id); } }; google.setOnLoadCallback(function() { bookwidgetloaded = true; showbooks(); }); google.load("books", "0");</script><!--{/if}--><script type="text/javascript">widgetbooks[widgetbooks.length] = { element: 'viewerCanvas<!--{$bookDivID|escape:'quotes'}-->', id: '<!--{$id|escape:'quotes'}-->' };showbooks();</script></includeonly> |
Текущая версия на 04:33, 5 июня 2014
This widget allows you to embed Google Books on your wiki page.Created by Arv
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as :Google Books article.