Bitcoin Forum
May 27, 2024, 05:52:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Jquery Currency conversion  (Read 1597 times)
coyledesign (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
April 15, 2012, 01:04:49 AM
 #1

I was going to do this in PHP using the mtgox API but I actually think it's a much simpler project.

Basically I want to put in my website the price in GBP. I'll wrap these prices in a <span> with a class of "price". Now I'll put a button on the site to convert the prices to Bitcoins. Then it'll just fetch the exchange rate from mtgox and do a small calculation to change them. I'll post the code on here when I'm done.

Anyone got any ideas about how this might be done? Or if it's doomed to failure? Tongue
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
April 16, 2012, 01:54:45 AM
Last edit: April 16, 2012, 02:14:32 AM by Stephen Gornick
 #2

Some PHP here:
 - http://bitcointalk.org/index.php?topic=55162.msg656825#msg656825

Or here for the data:
 - http://www.btcrate.com

One way using image text:
 - http://ansrv.com/png/?s=http://betwithbtc.com/lastprice.php&size=5

In Flash:
 - http://www.bitcoin-tools.de/Alert/PopUpSimpel.html
 - http://www.bitcoin-tools.de/

Some scrolling ticker builder here:
 - http://www.currency.me.uk/widgets/torfx-live-rates-ticker.html

And a static quote script:
 - http://www.goldalert.com/gold-chart/ticker.html

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!