Home >
Questions and Answers >
General Questions
resources for creating advanced landing pages? (12)
10-21-2013 08:47 PM
#1
voan (Member)
resources for creating advanced landing pages?
Hey all, I'm not much of a coder, and am currently just using muse to throw together pretty basic lps. They do the job, but i was just wondering if anyone could provide resources for creating something a little more advanced, such as the countdown timers, questions style landers etc? Thanks!
10-22-2013 06:20 AM
#2
thedudeabides (Moderator)
jQuery is your best bet for stuff like that.
Once you get the hang of it it's pretty simple. A question style lander is just a matter of having an element change to hidden on click while others change from invisible to visible.
For example:
<html>
<style type="text/css">
.question2, .question3 {display:none}
</style>
<body>
<div class="question1">Question 1 here:</div>
<div class="question2">Question 2 here</div>
<div class="question3">Question 3 here</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
$(".question1").click(function(){
$(".question1").hide():
$(".question2").show():
});
$(".question2").click(function(){
$(".question2").hide():
$(".question3").show():
});
</script>
</body>
</html>
As far as a countdown timer,
here is a simple javascript one I found just googling.
If you want an easy way to start making more complicated LPs you should checkout something like
Bootstrap.
10-22-2013 10:03 AM
#3
caurmen (Administrator)
Great share! One for the newsletter, I think...
If you want to get a bit more fancy, you can use jQuery effects in a script like that - replace hide() with fadeOut() and show() with fadeIn(), for example. See http://api.jquery.com/category/effects/
10-22-2013 03:25 PM
#4
voan (Member)
Awesome, just what I was looking for. Thank you gentlemen!
10-22-2013 04:13 PM
#5
JasperP (Member)
+1 for jQuery.. They make javascript easy
10-23-2013 01:41 AM
#6
thedudeabides (Moderator)

Originally Posted by
caurmen
Great share! One for the newsletter, I think...
If you want to get a bit more fancy, you can use jQuery effects in a script like that - replace hide() with fadeOut() and show() with fadeIn(), for example. See
http://api.jquery.com/category/effects/
Tell ya what I'll put together a more detailed post covering a bunch of javascript and php scripts this week.
10-23-2013 03:51 AM
#7
john galt (Member)

Originally Posted by
thedudeabides
Tell ya what I'll put together a more detailed post covering a bunch of javascript and php scripts this week.
Nice!!!
I have kind of an open question related to this thread. Does anybody have any recommendations for jQuery books, preferably one with a lot of finished examples?
I just finished the jQuery track at CodeCademy, so I have a rudimentary understanding. But it's kind of like having a bunch of puzzle pieces and no picture to follow.
10-23-2013 05:18 AM
#8
thedudeabides (Moderator)

Originally Posted by
john galt
Nice!!!
I have kind of an open question related to this thread. Does anybody have any recommendations for jQuery books, preferably one with a lot of finished examples?
I just finished the jQuery track at CodeCademy, so I have a rudimentary understanding. But it's kind of like having a bunch of puzzle pieces and no picture to follow.
What kind of things are you looking to make? I haven't checked out that particular course although I did go through the pure javascript one there some months prior. There are other sites like codeschool that have some free javascript & jquery courses you might want to check out.
For landing pages the level of complexity doesn't really go too far above what I posted above, as most of the time someone's already written a plugin to do the more advanced stuff like modals, pop-unders, exit-pops etc.
10-23-2013 11:20 AM
#9
caurmen (Administrator)
@thedudeabides - you rock. That would be awesome.
BTW, have you checked out AngularJS? I've been looking into it recently - there's some pretty amazing potential for interactive LPs there.
@john galt - I've not checked it out, but I hear good things about this one, and O'Reilly are very good generally: http://shop.oreilly.com/product/9780596159788.do
10-23-2013 06:46 PM
#10
john galt (Member)
@thedudeabides - Codeschool looks legit, I'll be giving their course a run. Thanks! As far as what I want to build, that's what I'm still figuring out...
I guess I'm looking for inspiration. I know there's more that can be done than making interactive CTAs or building questions landers. I want to see how others are using it, to give me some test ideas.
@caurmen - Thanks a lot, looks like just what the doctor ordered.
10-23-2013 08:20 PM
#11
auditor (Member)

Originally Posted by
voan
the countdown timers
this is a simple but nice lander with a countdown timer:
https://github.com/qualifiedleads/Simple-Landing-Page
If you're not familiar with github, it's zipped it for you
here
it's also responsive, but I haven't tweaked it to
Caurmen's standards of a mobile lander (eg: stripping out all unnecessary HTTP requests, alternative image/video media query, ...) but it does display well on mobile as the video resizes nicely on any screen.
10-23-2013 11:45 PM
#12
thedudeabides (Moderator)

Originally Posted by
caurmen
BTW, have you checked out AngularJS? I've been looking into it recently - there's some pretty amazing potential for interactive LPs there.
I haven't yet no, I've been trying to pickup backbone though. I'd really like to try my hand at redesigning the prosper202 front end as a side project.
Home >
Questions and Answers >
General Questions