Bitcoin Forum
May 14, 2024, 02:36:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Another Pop up window/box after click on "Get reward" button [I Need help]  (Read 1577 times)
dhen20 (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile WWW
April 12, 2016, 02:57:45 AM
 #1

hello guys, I'm newbie here can you please help me for javascript,html or php script code on pop up window after click on Get reward button? i want try this to my bitcoin faucet. Thanks for helping me guys!
1715654185
Hero Member
*
Offline Offline

Posts: 1715654185

View Profile Personal Message (Offline)

Ignore
1715654185
Reply with quote  #2

1715654185
Report to moderator
1715654185
Hero Member
*
Offline Offline

Posts: 1715654185

View Profile Personal Message (Offline)

Ignore
1715654185
Reply with quote  #2

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

Posts: 1715654185

View Profile Personal Message (Offline)

Ignore
1715654185
Reply with quote  #2

1715654185
Report to moderator
1715654185
Hero Member
*
Offline Offline

Posts: 1715654185

View Profile Personal Message (Offline)

Ignore
1715654185
Reply with quote  #2

1715654185
Report to moderator
jacktheking
Legendary
*
Offline Offline

Activity: 1484
Merit: 1001


Personal Text Space Not For Sale


View Profile
April 12, 2016, 12:53:47 PM
 #2

It would be great to state what script you using? Faucet in a box? Custom?

Don't know if it help but I recently came across this script, http://t4t5.github.io/sweetalert/. This work good for a 'styled' popup box.

So sad! This profile does not appear as the #1 result (on anonymous) Google searches anymore.

Time to be active on the crypto forums again? Proud to be one of the few Legendary members of the Sparkie Red Dot!

Gonna put this on my resume if I ever join a cryptocurrency/blockchain industry!
Hazelnutter
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile WWW
April 13, 2016, 04:47:41 PM
 #3

What you'll need to do is add a listener for your "Get Reward" button that calls some javascript...

<button onclick="popup()"></button>
<div id="popup_div">I am the popup...</div>
<script>
function popup(){
    if('#popup_div').css('display') == 'none'){
        $("#popup_div").css("display","block");
    }else{
        $("#popup_div").css("display","none");
    }
}
</script>

❰❰ OPHION ❱❱▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨ A SECURE, ANONYMOUS & DECENTRALIZED MARKET ▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨❰❰ OPHION ❱❱
TRADE GOODS OR SERVICES ■NO LOGGING - AT ALL■ 2 OF 3 MULTISIG AUTOMATION ■SELLER/BUYER RATING SYSTEM■ AND MANY MORE
❰❰▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬❰❰ JOIN THE CROWDSALE ❱❱▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬❱❱
dhen20 (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile WWW
April 19, 2016, 07:23:29 AM
 #4

It would be great to state what script you using? Faucet in a box? Custom?

Don't know if it help but I recently came across this script, http://t4t5.github.io/sweetalert/. This work good for a 'styled' popup box.




Thanks for this i will try.. :-)
modobot
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
April 21, 2016, 12:47:21 PM
 #5

@Hazelnutter,
Kudos for showing how stupidly simple it is to do something like this, rather than recommending a plug-in or script (not that there is anything wrong with that). This developer appreciates that.
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!