In order to embed the Participants, Results, or Live lists you need to copy the corresponding source code. You might notice that all three of these are very similar. There are a few key things to note that make them different and some features that allow you to customize these lists.
Here is the source code for reference.
<div id="divRRPublish" class="RRPublish"></div> <script type="text/javascript" src="https://my.raceresult.com/RRPublish/load.js.php?lang=en"></script> <script type="text/javascript"> <!-- var rrp=new RRPublish(document.getElementById("divRRPublish"), 123456, "results"); rrp.ShowTimerLogo=true; rrp.ShowInfoText=false; --> </script> <style> /* Add custom CSS here or elsewhere to change the design */ </style>
This source code loads data based on the Event ID specified and the page specified. All of the sections in red are variables you can change to customize the embedded code. The above example will load the Results list for event 123456. If you want to load the Participants or Live lists you will need to change "results" in red to either "participants" or "live".
There are also two boolean options to turn on and off features.
- rrp.ShowTimerLogo - when set to true will show the timers logo at the bottom of the results.
- rrp.ShowInfoText - when set to true will show the info text defined for the specified page.