Help with a site function i can't do
2017-03-15, 11:40 PM,
Hello guys i recently created a website and what i want to do is simple but i dont know how (i google'd it). Just a simple landing page that has some text and besides that 3 buttons that redirect to another link. So far so good, but i want to make like the first button clickable then the second clickable after you click the first and so on. Is there a way to do that?

Please forgive my english, thanks
Share This Thread :

2017-03-16, 01:18 AM,
So you want to create a custom landing page? i didn't understand you want to have 3 buttons then add a image link code in the LP.
2017-03-16, 02:12 AM,
.not-active {
pointer-events: none;
cursor: default;

<a href="" class="l" id="l1" target="_blank">Click</a>
<a href="" class="l not-active" id="l2" target="_blank">Click</a>
<a href="" class="l not-active" id="l3" target="_blank">Click</a>

$( document ).ready(function() {
$('.l').click(function() {
var id =;
if(id == "l1") {$( "#l1, #l3" ).addClass("not-active");$( "#l2" ).removeClass("not-active");}
else if(id == "l2") {$( "#l1, #l2" ).addClass("not-active");$( "#l3" ).removeClass("not-active");}
else if(id == "l3") {$( "#l2, #l3" ).addClass("not-active");$( "#l1" ).removeClass("not-active");}

Related Threads
Thread Author Replies Views Last Post
  Need suggestions - Movie Site - PPV or CPA? geraldosfire 2 204 2018-02-13, 09:25 PM
Last Post: Xaos
  Google ban and new site question martek 2 185 2018-01-28, 07:15 PM
Last Post: martek
  "does this tool work" script? how to use this on my site?? dipak777 9 361 2018-01-26, 01:08 AM
Last Post: dipak777
  posting comment on my own site ?? good or bad dipak777 9 400 2018-01-20, 12:53 AM
Last Post: Xenobier
  Best way to promote dating site suthars4n 10 3,012 2018-01-18, 01:08 AM
Last Post: maxyman

About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top