Bitcoin Forum
September 22, 2019, 06:56:56 AM *
News: If you like a topic and you see an orange "bump" link, click it. More info.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitstrapped - Need Help!  (Read 516 times)
BTC Tipster
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.

1569135416
Hero Member
*
Offline Offline

Posts: 1569135416

View Profile Personal Message (Offline)

Ignore
1569135416
Reply with quote  #2

1569135416
Report to moderator
1569135416
Hero Member
*
Offline Offline

Posts: 1569135416

View Profile Personal Message (Offline)

Ignore
1569135416
Reply with quote  #2

1569135416
Report to moderator
1569135416
Hero Member
*
Offline Offline

Posts: 1569135416

View Profile Personal Message (Offline)

Ignore
1569135416
Reply with quote  #2

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

Posts: 1569135416

View Profile Personal Message (Offline)

Ignore
1569135416
Reply with quote  #2

1569135416
Report to moderator
1569135416
Hero Member
*
Offline Offline

Posts: 1569135416

View Profile Personal Message (Offline)

Ignore
1569135416
Reply with quote  #2

1569135416
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
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
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:  

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!