The myCurrency function builds a daily table of world currencies researched from major currency translation providers. A selection of currency translations can be chosen by an admin user for inclusion on the Home Page. The list can be customised by visitors to the Home Page if allowed in the admin settings.
There is a default set of 20 currencies, but this list can be tailored to specific company requirements if advised before installation. The currency table built by myCurrency maintains a history which can also be used as a reference source for completing or checking expense claims.
As a logged-in admin user, click the Home Page Admin link from the Home Page, and choose the myCurrency Admin option. (Note: if the name of myCurrency has been changed in the function admin settings, the Admin menu will display the modified name.)
Output this function to users' browsers can be turned on and off.
The "Can user edit" option can be set to give or deny an ordinary user from changing the default exchange rates to their individual preferences for their view of the Home Page.
The "Edit number" option allows the maximum number of exchange rates that can be defined by an ordinary user. This should be set a value which does not allow the user to exceed the space available (as determined by style sheet settings).
The "Name" of the function (default being myCurrency) can be changed. The name entered here will be used on the Admin menu and on the standard user's Preferences to refer to the myCurrency function.
A column of icons down the right-hand side of the page allow you to add, delete, edit or re-order exchange rates. (Bear in mind that the effect of your changes may vary according to your stylesheet settings.)
Adding
an exchange rate: Click the
icon to add a currency.
A pop-up
window will ask you to select the currency you want to convert from
and to.
Deleting
an exchange rate: Click the currency conversion in your list which
you want to delete, and then click the
icon. You
will be asked to confirm the deletion by clicking OK.
Editing
an exchange rate: Click the currency conversion in your list which
you want to delete, and then click the
icon. You
will be asked to confirm the deletion by clicking OK.
Re-ordering
exchange rates: Click on a currency in your list which you want
to reorder, and click the
or
icon to move
it up or down your list.
Exchange rates can be previewed before committing any changes you have made.
To confirm any changes you have made, click Update. (Clicking the Home Page or Home Page Admin links will also confirm your changes.) To cancel any changes you have made since the last update, click the Cancel Changes link.
These technical details are intended for web designers when setting up a stylesheet.
The sample HTML output below shows how myCurrencies are output. If customised output is required for your home page implementation, please contact the developers.
In the output Home Page, the area links functions are marked between the comments <!--Fx part--> and <!--Fx part end-->, containing a main DIV block with id="fx_content" containing the title (specified by an admin user), and a DIV block with id="extras" holding a table containing all output exchange rates.
<!--Fx part-->
<div id="fx_content">
<table width="100%">
<tr>
<td class="h2"><div class="h2" id="web_fx">myCurrency</div></td>
<td class="italic"> </td>
</tr>
</table>
<div id="extras">
<div align=center>
<table border=0 cellspacing=1 cellpadding=0 width=90% class=TblBRt>
<tr>
<td class=TblHdrRt>GBP</td>
<td class=TblHdrRt1>USD </td>
<td class=TblRt>1.7955</td>
</tr>
<tr>
<td class=TblHdrRt>GBP</td>
<td class=TblHdrRt1>EUR </td>
<td class=TblRt>1.5101</td>
</tr>
</table>
</div>
</div>
</div>
<!--Fx part end-->
The stylesheet is individual to each implementation. The code below is just an illustration of how it may be implemented.
table {
font-family: arial, helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
tr {
margin: 0px;
padding: 0px;
}
td {
margin: 0px;
padding: 0px;
}
#fx_content {
position: absolute;
top: 493px;
right: 285px;
width: 180px;
height: 103px;
border: 1px #999 solid;
background-color: #ffc;
overflow: auto;
z-index: 1;
}
#fx_head {
padd
ing-left: 5px;
padding-top: 3px;
}
#extras {
margin-top: 5px;
margin-left: 10px;
}
.TblRt {
background-color:#ffffff;
font-size:9pt;
color: #000000;
}
.TblHdrRt {
background-color:#eef7ff;
font-size:9pt;
color: #000000;
}
.TblHdrRt1 {
background-color:#EEEEEE;
font-size:9pt;
color: #000000;
}