Bitcoin Forum
May 05, 2024, 01:48:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitstrapped - Need Help!  (Read 584 times)
BTC Tipster (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


★Bitvest.io★ Play Plinko or Invest!


View Profile
November 05, 2015, 04:17:43 PM
 #1

Hello,

Can someone help me to implement this code: https://github.com/peterfox/jQuery-Bitstrapped
I want to check wallet address and show its balance on my website.

Anyone?
Thank you.

The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714873688
Hero Member
*
Offline Offline

Posts: 1714873688

View Profile Personal Message (Offline)

Ignore
1714873688
Reply with quote  #2

1714873688
Report to moderator
1714873688
Hero Member
*
Offline Offline

Posts: 1714873688

View Profile Personal Message (Offline)

Ignore
1714873688
Reply with quote  #2

1714873688
Report to moderator
CrappyJavaScriptDev
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
November 05, 2015, 05:21:49 PM
 #2

This should do the trick. http://codepen.io/anon/pen/JYavjx

A) Include Jquery

B) Include bitstrapped-jquery

C) Add the span element (or whatever else) with an ID.

D)  Insert this code
Code:
    <script>
      $( document ).ready(function() {
        $('#first').on('bitstrapped', function(event, data) {
            if(data) {
                $(this).text(data.final_balance/100000000)
            }
         });
        $().bitstrap({interval:60000});
      });
    </script>

E) Make sure the id in the above script matches the elements id from step C.
BTC Tipster (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


★Bitvest.io★ Play Plinko or Invest!


View Profile
November 05, 2015, 05:27:44 PM
 #3

This should do the trick. http://codepen.io/anon/pen/JYavjx

A) Include Jquery

B) Include bitstrapped-jquery

C) Add the span element (or whatever else) with an ID.

D)  Insert this code
Code:
    <script>
      $( document ).ready(function() {
        $('#first').on('bitstrapped', function(event, data) {
            if(data) {
                $(this).text(data.final_balance/100000000)
            }
         });
        $().bitstrap({interval:60000});
      });
    </script>

E) Make sure the id in the above script matches the elements id from step C.
Awesome! Thanks alot mate.
Really appreciated.

Can i get your wallet address in my PM, u deserve a tip Wink

CrappyJavaScriptDev
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
November 05, 2015, 05:32:59 PM
 #4

This should do the trick. http://codepen.io/anon/pen/JYavjx

A) Include Jquery

B) Include bitstrapped-jquery

C) Add the span element (or whatever else) with an ID.

D)  Insert this code
Code:
    <script>
      $( document ).ready(function() {
        $('#first').on('bitstrapped', function(event, data) {
            if(data) {
                $(this).text(data.final_balance/100000000)
            }
         });
        $().bitstrap({interval:60000});
      });
    </script>

E) Make sure the id in the above script matches the elements id from step C.
Awesome! Thanks alot mate.
Really appreciated.

Can i get your wallet address in my PM, u deserve a tip Wink

No problem mate. Tips not needed.

Enjoy.
BTC Tipster (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


★Bitvest.io★ Play Plinko or Invest!


View Profile
November 05, 2015, 05:35:55 PM
 #5

This should do the trick. http://codepen.io/anon/pen/JYavjx

A) Include Jquery

B) Include bitstrapped-jquery

C) Add the span element (or whatever else) with an ID.

D)  Insert this code
Code:
    <script>
      $( document ).ready(function() {
        $('#first').on('bitstrapped', function(event, data) {
            if(data) {
                $(this).text(data.final_balance/100000000)
            }
         });
        $().bitstrap({interval:60000});
      });
    </script>

E) Make sure the id in the above script matches the elements id from step C.
Awesome! Thanks alot mate.
Really appreciated.

Can i get your wallet address in my PM, u deserve a tip Wink

No problem mate. Tips not needed.

Enjoy.
As you wish, Thanks for helping me.
Topic locked.

Regards,
BTC Tipster.

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!