If you want to embed a list of all of the events in your RACE RESULT account you can do so by embedding the List of Events source code on your site.
<link rel="stylesheet" type="text/css" href="https://my.raceresult.com/RREvents/style.css">
<div class="EventTable" id="tEventTable">
<div><div> </div><div> </div><div>City</div><div>Event</div><div>Date</div></div>
</div>
<script type="text/javascript" src="https://my.raceresult.com/RREvents/RREvents.js"></script>
<script type="text/javascript">
<!--
var options= { dateFormat : 'mm/dd/yyyy' };
var rre=new RREvents(document.getElementById("tEventTable"), null, 'en', options);
rre.server="https://my.raceresult.com";
rre.user=11111;
//rre.year=2017;
//rre.group=1234;
//rre.eventlink="http://your.webseite.com/events/show?eventid=[eventid]";
//rre.openInNewWindow=false;
rre.loadEvents(function(resultSize) { return true; });
-->
</script>
This source code has several variables that allow you to customize what events are shown.
- rre.user - This defines the RACE RESULT user account to pull events from
- rre.year - This will filter events so that only events from the specified year will show
- rre.group - This will filter the list to only show events in the specified group
- rre.eventlink - If you have results embedded on your own site you can use this variable to link directly to that page. Note the eventid URL parameter at the end of the URL. You can use this with a dynamic results page list to lookup results from any event id.
- rre.openInNewWindow - If set to true, when an event is selected it will open in a new window.
Any variables that have the // before them are commented out. This means they will not be loaded.