Title: Can someone design a bitcoin address popup box? Post by: osmosis on July 09, 2011, 06:30:20 AM 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. Title: Re: Can someone design a bitcoin address popup box? Post by: marcusaurelius on July 09, 2011, 08:30:32 AM Code: <a href="#bitcoin" onclick="window.prompt ('Copy to clipboard: Ctrl+C, Enter', '1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr');"> 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');"> 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. Title: Re: Can someone design a bitcoin address popup box? Post by: osmosis on July 09, 2011, 08:21:30 PM 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.) |