{"id":126,"date":"2009-12-29T13:12:27","date_gmt":"2009-12-29T18:12:27","guid":{"rendered":"http:\/\/www.tabletennisdb.com\/blog\/?p=126"},"modified":"2010-04-17T14:56:03","modified_gmt":"2010-04-17T19:56:03","slug":"mens-top-10-widget","status":"publish","type":"post","link":"https:\/\/revspin.net\/blog\/mens-top-10-widget\/","title":{"rendered":"&#8220;Mens Top 10&#8221; Widget"},"content":{"rendered":"<p>We&#8217;re proud to announce a new widget that you can install on your own site or blog. This widget shows an up-to-date table of world rankings of the top men in the world. Here&#8217;s the widget:<\/p>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\n  var ttdb_url = escape(document.location.href);\n  var ttdb_width = 240;\n  var ttdb_height = 300;\n  var ttdb_count = 10;\n\/\/ ]]><\/script><script src=\"http:\/\/www.tabletennisdb.com\/widgets\/top_men.js\" type=\"text\/javascript\"><\/script><\/p>\n<div style=\"text-align:center;font-size:10px;color:#999;font-family:verdana,sans-serif;margin:-20px 0 0 0\">Powered by <a style=\"color:#649ED4\" title=\"Table Tennis Reviews, Videos, Blades\" href=\"http:\/\/www.tabletennisdb.com\">Table Tennis Database<\/a><\/div>\n<p><!--more--><\/p>\n<p>It would fit well in the sidebar of your website or blog and add one more reason for visitors to come back to your site. And best of all, it&#8217;s <em>free!<\/em><\/p>\n<h2>Installing the Widget<\/h2>\n<p>Installing the widget on your site is as easy as copying and pasting a snippet of HTML code onto your pages. That&#8217;s it! You&#8217;ll see the code here:<br \/>\n<a title=\"Table Tennis Widgets for your Website\" href=\"..\/..\/widgets\/\">http:\/\/www.tabletennisdb.com\/widgets\/<\/a><\/p>\n<h2>Customizing the Widget<\/h2>\n<p>You can change some of the parameters in order to customize it to your preferences:<\/p>\n<ul>\n<li>To show more (or less) rankings, find this line in the code and change the <strong>10<\/strong> to any other number between <strong>1-20<\/strong>.<strong> <\/strong>The number represents the number of rankings to show. It&#8217;s set at 10 by default.<br \/>\n<span style=\"font-family: 'courier new', courier, monospace\">var ttdb_count = 10;<\/span><\/li>\n<li>To change the height or width (you&#8217;ll definitely need to change the height if you change the number of rankings being displayed), modify these parameters:<br \/>\n<span style=\"font-family: 'courier new', courier, monospace\">var ttdb_width = 240;<br \/>\nvar ttdb_height = 300;<\/span><br \/>\n<em>(These numbers represent the number of pixels in the width or height)<\/em><\/li>\n<\/ul>\n<p>As any new widgets are added, they&#8217;ll be on that page as well, so check back periodically.<br \/>\n<a title=\"Table Tennis Widgets for your Website\" href=\"..\/..\/widgets\/\">http:\/\/www.tabletennisdb.com\/widgets\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re proud to announce a new widget that you can install on your own site or blog. This widget shows an up-to-date table of world rankings of the top men in the world. Here&#8217;s the widget: Powered by Table Tennis Database<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,28],"tags":[55],"_links":{"self":[{"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/posts\/126"}],"collection":[{"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":5,"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":129,"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions\/129"}],"wp:attachment":[{"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/revspin.net\/blog\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}