[Question]

Status
This thread has been locked.

XD

Supreme
Feedback score
7
Posts
1,124
Reactions
432
Resources
0
Hi, I want it so someone can't see a download link until they click on a little subscribe button, how would I do this?

Another option is to redirect them after 30 seconds , again how?

Don't say go to stack over flow
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Gruss

Retired MCM Chat Moderator
Supreme
Feedback score
24
Posts
2,107
Reactions
1,230
Resources
0
You can always go to stack over flow..


Or use annotations/cards in the youtube settings.
 

Xilcho

Web Designer
Supreme
Feedback score
0
Posts
109
Reactions
86
Resources
0
I believe what you're describing could be achieved with a simple dropdown upon click/other event. Should actually be some fairly simple jQuery code. Adding a slide down animation would look good as well.
 

XD

Supreme
Feedback score
7
Posts
1,124
Reactions
432
Resources
0
send me some code :) I dont do java :p
I believe what you're describing could be achieved with a simple dropdown upon click/other event. Should actually be some fairly simple jQuery code. Adding a slide down animation would look good as well.
 

XD

Supreme
Feedback score
7
Posts
1,124
Reactions
432
Resources
0
You're going to have a bad day if you try to make a fully function website without any JavaScript knowledge...
I understand most of it, but I just need something to copy and paste rn
 

XD

Supreme
Feedback score
7
Posts
1,124
Reactions
432
Resources
0
Go to Stackoverflow then. They'll have exactly what you're looking for.
na[DOUBLEPOST=1464226347][/DOUBLEPOST]
Hi, I want it so someone can't see a download link until they click on a little subscribe button, how would I do this?

Another option is to redirect them after 30 seconds , again how?

Don't say go to stack over flow
 

dentmaged

Premium
Feedback score
2
Posts
110
Reactions
38
Resources
0
Using jQuery:
Code:
$(function() {
    $('#subscribe').onclick(function() {
        $('#download').show();
    });
});
Just make sure that the subscribe button has an id of subscribe and the download button has an id of download

And to redirect
Code:
setTimeout(function () {
    window.location.href = 'your URL here';
}, 30000);
 
Status
This thread has been locked.
Top