Bitcoin Forum
December 06, 2016, 12:20:31 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Can someone design a bitcoin address popup box?  (Read 868 times)
osmosis
Sr. Member
****
Offline Offline

Activity: 301



View Profile
July 09, 2011, 06:30:20 AM
 #1


Im thinking something about the size of the google +1 button, or the facebook Like button. But when you click it, it would pop up a small window with an easily copyable bitcoin address. The image itself could be a golden bitcoin or such.  I was imaging people using something creative like this instead of just having the long random strings pasted everywhere on the net.

Please let me know if you think this is a good idea, how it could be implemented, and if you are interested in creating it. 
If you think its a good idea and want to see it happen, consider putting in btc bounty for it. 
1481026831
Hero Member
*
Offline Offline

Posts: 1481026831

View Profile Personal Message (Offline)

Ignore
1481026831
Reply with quote  #2

1481026831
Report to moderator
1481026831
Hero Member
*
Offline Offline

Posts: 1481026831

View Profile Personal Message (Offline)

Ignore
1481026831
Reply with quote  #2

1481026831
Report to moderator
1481026831
Hero Member
*
Offline Offline

Posts: 1481026831

View Profile Personal Message (Offline)

Ignore
1481026831
Reply with quote  #2

1481026831
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481026831
Hero Member
*
Offline Offline

Posts: 1481026831

View Profile Personal Message (Offline)

Ignore
1481026831
Reply with quote  #2

1481026831
Report to moderator
1481026831
Hero Member
*
Offline Offline

Posts: 1481026831

View Profile Personal Message (Offline)

Ignore
1481026831
Reply with quote  #2

1481026831
Report to moderator
marcusaurelius
Jr. Member
*
Offline Offline

Activity: 37



View Profile
July 09, 2011, 08:30:32 AM
 #2

Code:
<a href="#bitcoin" onclick="window.prompt ('Copy to clipboard: Ctrl+C, Enter', '1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr');">
<img src="data:image/gif;base64,R0lGODlhDQANAMZ4AIRjEYloGIttJoxuJJF2M5yCRKKGQaOJSayJM7CWWLeXPbmYSsiiRcWlRLyt
h72uh8WuddSzY9WzY820dc22etG3b9G4c963Wtq4Y9y5XNi6ZNm5bta7bN+6Xd+7Yd28YtK9heC9
XuW+W8u/odi/e+K/ZeW/YNjAgtvBcuTAZObAZOa/cefBYOXCYefBaNrEduTCcePEatnFhubEaufE
aOTGZuXEd+fEc+nEdOnHaOfHcObHdOjIZenIbOnIbenJbuzJbOrJc+nKfe3La+zKeO7Mb+rMge3O
bO/Ocu3Pc93Pq/HPdezPhfDQc/TPgenUd/DTdN/SsfDVbfDUevPTifTVdPbTifLVgfTWh+DXwPTY
f/PXj/nXf/fZdPjYffbZfffaefrZe/rcfPncg+bcw+Xcxvrfivbgjvzfi/rhgvrhhfngmPvgl/rh
kf3ijPnkjvzjk/zjlfvlk/vllf3og/3mnfzqjP7sj////////////////////////////////yH5
BAEKAH8ALAAAAQAMAAwAAAeGgH+CSiQaHCBZgooVXmJganc1CYoWaEAiLCYqVUcHf1FnRC4pIR0e
F10NIzJzKzhBPz0zJTxSBS9vTlZYV1NJPjR0AShaN1RscWZfTUV2ACdhGEJrdXBjSFBPBGQtHxFG
W0w7MWkKDn8TQzowNhsSSxkCihQ5bnJtXAwDioJlEAsIDDxQFAgAOw==" alt="Click for my Bitcoin Adress" />

here you go.

change the string in the second line to your btc-adress and there you go. the string in there is mine, so you can send your bounty to that adress. :-)

there is a shorter way, namely the following:

Code:
<a href="#bitcoin" onclick="window.prompt ('Copy to clipboard: Ctrl+C, Enter', '1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr');">
<img src="http://forum.bitcoin.org/smf/Themes/custom1/images/star.gif" alt="Click for my Bitcoin Adress" />

but this polls the bitcoin forum for the image everytime. so if you use it consider hosting the graphic on your own server. the first code example i gave has the image embedded in base64.



--
1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr
osmosis
Sr. Member
****
Offline Offline

Activity: 301



View Profile
July 09, 2011, 08:21:30 PM
 #3

marcusaurelius -
Very good start. Thx much.

Id like to see the popup happen within the browser window, using CSS if thats how its done, instead of as as a separate javascript popup.

Found these, more of what I had in mind.

I want something like this, http://trentrichardson.com/Impromptu/index.php ,  but having the dialog pop up close to the clicked button, and without the background page fading to grey. Also, a Copy button that copies the displayed text string into the users clipboard (if that is actually possible.)
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!