Displays domain championships with Drivers & Team standings
Before You Begin
Before you setup the widget, you need to have access to the source code for your website.
The following instructions describe how to add the widget snippet your site. They assume
You have added your league on LiveRacers
Copy and paste following snippet into your web page <head>...</head> section. Ensure the snippet is only present once on your website at all times. In case you don't have access to the <head> section, paste the snippet anywhere into the <body> section, but make sure it's only ever present once on the website.
Position the following element that will contain the list of live servers on your page (inside <body>...</body>).
Deploy your website and refresh the page. The container with lr-championships element should now contain a widget with live servers, looking similarly to these (depending on selected theme):
Support for multiple Domains
Specify one or more domains in the 'domains' property of the 'window._lr'
It is possible to customize the way Widgets look and feel. You can choose from the following themes
To apply a theme to a widget, set the widget's element attribute 'theme' to desired value. Example
<div id="lr-championships" theme="dark"></div>
Note that widget background is transparent, so the widget will use the background color of your website
By default a widget width is 250px. Minumum width of this widget is 250px. To customize the widget width, you can use the 'width' attribute
<div id="lr-championships" width="250px"></div>
By default a widget height is 600px. Minumum height of this widget is 300px. To customize the widget height, you can use the 'height' attribute
<div id="lr-championships" height="600px"></div>
If you have any questions or problems, contact firstname.lastname@example.org.