SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Currency convertor.
-
Sep 6, 2000, 10:09 #1
- Join Date
- May 2000
- Location
- London
- Posts
- 283
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I am building a store for a client using freemerchant.com
They do not offer on the fly currency conversion. My client wants this. The solution I thought would be to have a small link saying 'currency convertor', with a pop up window, with some javascript which let you put in the price in pounds, and then the result in their chosen currency.
Any pointers or scripts would be appreciated, i have no javascript experience.
Thankyou
james
-
Sep 6, 2000, 11:21 #2
- Join Date
- Jul 1999
- Location
- Chicago
- Posts
- 2,629
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You could use http://finance.yahoo.com/m3?u as a starting place. It would be easy to make a Javascript or server-based script to convert currency.
You could also give them that link and tell them to do it themselves....but I think the first idea is better..
-
Sep 6, 2000, 12:13 #3
- Join Date
- May 2000
- Location
- London
- Posts
- 283
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks d3v.
I can't use a server side solution cos i don't have full control over the order processing on freemerchant. Neither do i need internationally updated stats, i just need static conversion figures. I'm guessing i could just do this with some basic math in javascript ?
-
Sep 6, 2000, 12:52 #4
- Join Date
- Jul 1999
- Location
- Chicago
- Posts
- 2,629
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by James Smith
i just need static conversion figures. I'm guessing i could just do this with some basic math in javascript ?
<form onSubmit="window.forms.InputBox =* exchange_rate;">
Don't take this as fact, and if asked I didn't give you that syntax. This message will self destruct in 30 seconds. By reading this you waive all rights related to Javascript syntax. (ok, you get my point)
-
Sep 6, 2000, 13:01 #5
- Join Date
- May 2000
- Location
- London
- Posts
- 283
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
cheers
well can any javascript dudes help me out ?
I want the price to be entered in pounds, and then the converted price be printed underneath, according to a drop down form (eg if it is into US dollars, times by 1.5 etc)
i would appreciate it greatly
james
Bookmarks