Adding an AVA sanction to your club web site

The sanction information is a key aspect of a clubs value. It is important to make this readily available to all participants so that it is an easy decision to go and do the event. To this end, this web site, “my.ava.org”, can provide your club with a standard display of your sanctions.

This capability has been available in the past, but not in a very convenient way and certainly not one that will integrate well with your clubs web site. The intent is that this URL will exist for a very long time so that you will not have to update your web site as new features are added.

Clubs may have different needs, so there is some flexibility in how you use this this page. You may access individual events, or start with the club list. The result can be either a stand alone web page, or as a frame within your club web site.

We first show you how to access the list of events for your club.

https://my.ava.org/event-view.php?club=AVA-0338
Try as an HTML 'frame'.

The frame width is 970px and as long as needed for the sanctions. The CSS is dynamic so you can also have a frame as narrow as 500px. The page will scale to the available space.

The HTML code:

<a href='https://my.ava.org/event-view.php?club=AVA-0338'
   target='_blank'>
<input type='button' class='btn1'
   style='float:right;margin-top:-22px'
   value='Try it'/></a>

There are traditional events and YRE / Seasonal events. All can be fetched using the sanction number and the following URL:

https://my.ava.org/event-view.php?sn=118856

The HTML code:

<a href='https://my.ava.org/event-view.php?sn=118856'
   target='_blank'>
<input type='button' class='btn1'
   style='float:right;margin-top:-22px'
   value='Try it'/></a>

where the number at the end is the sanction number. This works well for traditional events, but not so well for YREs. YREs and Seasonal events have an event number that is retained from year to year. It is far more convenient to use this number to access the event. Why? It works across year boundaries. On Jan 1st there is no need to update your club web site with the new sanction numbers. The “event view” will work it out for you. Try the following URL:

https://my.ava.org/event-view.php?y=74

The HTML code:

<a href='https://my.ava.org/event-view.php?y=74'
   target='_blank'>
<input type='button' class='btn1'
   style='float:right;margin-top:-22px'
   value='Try it'/></a>

The additional benefit provided when you use the ‘Y’ number is the next years sanction for that YRE can be automatically seen when it becomes available.

The CSS for the nice buttons:

<style>
   .btn1 {
   	overflow: visible;
   	width: auto;
   	padding: .15em .6em .15em;
   	color: #0000FF;
   	background: #90F0FF;
   	border: 2px solid #A0A0A0;
   	text-align: center;
   	text-decoration: none;
   	font-size: 15px;
   	font-weight: bold;
   	-webkit-border-radius: .5em;
   	border-radius: .5em;
   	outline: none;
   }
   .btn1:hover {
    	border: 2px solid #0000FF;
   }
</style>