[rz] Display Exchange Rate

This section contains extensions that were created by [rz] who has sadly passed away.
These extensions are no longer available, but the discussions may still be helpful for some users.
Forum rules
*** IMPORTANT INFO REGARDING [RZ] EXTENSIONS ***

This section contains extensions that were created by [rz] who has sadly passed away.
These extensions are no longer available or supported, but the discussions may still be helpful for some users.
Locked
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

[rz] Display Exchange Rate

Post by [RZ] »

[rz] Display Exchange Rate v1.0

This extension displays the currency exchange rate based on the up-to-date information from YAHOO! FINANCE.
Improve your eCommerce applications in a snap and with ease.

- Updates itself every selectable minutes.
- Automatic number format.
- Selectable decimal places.
- Selectable font, color, size and style.
- Standalone access for custom applications.
- Cross-browser, cross-platform and backward compatible.


HTML 4.01 Transitional
W3C compliant


DEMO


How to use?

1. Drag and drop the extension in the workspace.
2. Select the "from-to" currencies to convert.
3. Optionally, you can setup the font, size, style and the auto-update cycle.
4. Preview or publish.

Enjoy!


* Advanced use:

You can build your own applications updating objects with up-to-date information, simply calling this function:

_exchange_currency_rate('object_id', 'from_currency_code', 'to_currency_code', amount, optional: decimals, optional: update_minutes);

- The parameter "object_id" is the object id where the result will be displayed,
it can be a text object or an input box.
- The "currency_code" is a 3-character word that identifies the currency name.
More information here: http://en.wikipedia.org/wiki/ISO_4217
- The parameter "amount" is the amount to be converted to the selected currency.
- The optional parameter "decimals" is the number of decimals that the amount will have
after the currency conversion process.
- The optional parameter "update-minutes" is the cycle in minutes that the information is
updated itself.
User avatar
zinc
 
 
Posts: 2149
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: [rz] Display Exchange Rate

Post by zinc »

Well done RZ! You always think of this nifty little things :D
Running WYSIWYG Web Builder since 2007...
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Display Exchange Rate

Post by [RZ] »

thank you for your kind words! :D
Locked