Web Design Forum: How to create an Under Construction Page with jquery - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to create an Under Construction Page with jquery Rate Topic: -----

#1 User is offline   Arbaoui Mehdi 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 25
  • Joined: 25-April 10
  • Reputation: 4
  • Gender:Male
  • Location:Morocco
  • Experience:Intermediate
  • Area of Expertise:Web Designer

Posted 17 August 2010 - 11:46 AM

Here is a quick example to learn how to create an Under Construction page with jquery.

Demo

Code Html and Javascript :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Under Construction Page From Depot Webdesigner</title>
<link rel="stylesheet" href="css/paper.css" type="text/css" />
<script type="text/javascript" src="js/jquery.min.js" ></script>
<script type="text/javascript" src="js/jquery.countdown.min.js"></script>
<script type="text/javascript">
		$(function () {
			var liftoffTime = new Date(2010, 9 - 1, 14, 13, 00);
			$('#counter').countdown({until: liftoffTime,
		    layout: '<div class="blockTime"><div class="blockLeft"><h1 class="titleH1">{dl}</h1><div class="contentBlockLeft"> <h1>{dn}</h1> </div></div> <div class="blockLeft"><h1 class="titleH1">{hl}</h1> <div class="contentBlockLeft"><h1>{hn}</h1></div></div> <div class="blockLeft"><h1 class="titleH1">{ml}</h1><div class="contentBlockLeft"> <h1>{mnn}</h1></div></div> <div class="blockLeft"><h1 class="titleH1">{sl}</h1><div class="contentBlockLeft"> <h1>{snn}</h1></div></div></div>'});
	});
		</script>
</head>
<body>
<div id="container">
  <div class="intro_text">
  <h1>Website under construction. We will be live soon! </h1></div>
  <div class="countdown">
    <h1>We expect an official launch in</h1>
    <div id="counter"></div>
  </div>
  <div class="status"> </div>
</div>
<!--end container-->
</body>
</html>


You can adjust the date from:
var liftoffTime = new Date(2010, 9 - 1, 14, 13, 00);


Code Css :

/* Resets */

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, a, abbr, acronym, address, big, cite, code, em, font, img,  small, strong, ol, ul, li,fieldset, form, label, legend {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-family:Tahoma, Geneva, sans-serif;
}

/* Main styles */

body{
	margin:0; padding:0;
	color:#4d4b4b;
	background: #ABA590;
	font-family: Georgia, sans-serif;
	font-size:14px;
	line-height:140%;
}

p{
	margin-bottom:15px;line-height:130%;
}

h1, h2{padding:5px 0 22px 0;}

h1{font-size: 28px;}

h2{font-size: 23px;}

.tag{font-family:Helvetica, Arial, san-serif;
font-size: 52px;
font-style:uppercase;
font-weight:bold;}

#container{
	width:960px;
	margin:0px auto;
	padding-top:50px;
	text-align:center;
	height:440px;
}

.intro_text{
	font-size:18px;
	margin-top:18px;
	margin-bottom:20px;
	color:black;
}

.countdown h4{
	font-weight:400;
	font-size:12px;
	color:#848282;
}

.countdown #counter{
	font-size:22px;
	color:#1e1a19;
	margin-bottom:70px;
}

.blockLeft
{
	background:url('../images/back-btn.jpg') no-repeat center;
	float:left;
	margin-left:10px;
	width:156px;
	height:133px;
}

.blockLeft h1
{
	font-size:50px;
}

.contentBlockLeft
{
	width:80px;
	margin:18px 0px 0px 35px;
	text-shadow:0 1px 0 #eaf459;
}

.blockTime
{
	margin:10px 0px 0px 120px;
}
.titleH1
{
	padding:0;
	font-size:25px !important;
	margin-top:8px;
	text-shadow:0 1px 0 #eaf459;
}


Download Sources Files

0

#2 User is offline   Ash Scott 

  • Competition Manager
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,416
  • Joined: 25-May 10
  • Reputation: 53
  • Gender:Male
  • Location:Kent
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 18 August 2010 - 04:11 PM

Under Construction Pages For Web Designers Are A NO.

First of all, you gain no advantage by doing so. You are better off just adding the pages later, rather than putting them in before you have them finished. If you MUST put them up and finish them slowly, there are much better things to do.

"Under Construction" signs are a red flag to search engines, and to people. They tell them outright that you are not finished, and have nothing of value on the page. It is much better to put a notice like this:

"We have a lot of (name item) to put on this page, we request your patience while we get it ready for you. In the mean time, if you have questions, or need (specific item), please email us at (email address)... We'd be happy to help you personally."

This kind of notice lets your customers know what you have, and where they can get it if they want to email. It is NOT a substitute for real content, but it is better than a notice that tells everyone that you aren't prepared.

If you take this course of action, it is advisable to get real content into place as quickly as possible, even if it is just one or two bits - a paragraph or two if it is information, a product or two if it is a sales site. Any little bit will tell them you really are working on it, and it will help you get indexed by the search engines and bring you more traffic, sooner.

Avoid the "Under Construction" plague, it will just harm your business, both with people, and with search engines.
1

#3 User is online   ayoungh 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,040
  • Joined: 06-August 10
  • Reputation: 93
  • Gender:Male
  • Location:London
  • Experience:Intermediate
  • Area of Expertise:I'm Learning

Posted 18 August 2010 - 04:20 PM

Nice Example....But there is really no Point in a construction page. I was thinking of doing one for myself and Everywhere its a no no! lol :)
0

#4 User is offline   Daz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 255
  • Joined: 19-February 10
  • Reputation: 23
  • Gender:Male
  • Location:Manchester
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 18 August 2010 - 04:33 PM

Guys guys guys,

NOT TRUE.

In regards to a live website which is getting a facelift, leaving the old site running and then instantly launching into the new is the best way to go about things.

HOWEVER
A brand new website SHOULD have a 'holding' page made for it, this holding page may or may not say "under construction" with a fancy countdown if you wish, but it should also have at least a paragraph of "about us" text on it too. Why? Because Google likes mature domains compared to new ones and so it gives you a head start on the very basic SEO. I've seen holding pages for websites with a page rank of 2 or 3. Which isn't much for a website but for a simple holding page that is only a few months old is great!
3

#5 User is online   ayoungh 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,040
  • Joined: 06-August 10
  • Reputation: 93
  • Gender:Male
  • Location:London
  • Experience:Intermediate
  • Area of Expertise:I'm Learning

Posted 18 August 2010 - 07:10 PM

View PostDaz, on 18 August 2010 - 04:33 PM, said:

Guys guys guys,

NOT TRUE.

In regards to a live website which is getting a facelift, leaving the old site running and then instantly launching into the new is the best way to go about things.

HOWEVER
A brand new website SHOULD have a 'holding' page made for it, this holding page may or may not say "under construction" with a fancy countdown if you wish, but it should also have at least a paragraph of "about us" text on it too. Why? Because Google likes mature domains compared to new ones and so it gives you a head start on the very basic SEO. I've seen holding pages for websites with a page rank of 2 or 3. Which isn't much for a website but for a simple holding page that is only a few months old is great!


+1 for that Daz, I've seen on lots of places advising not to do. But what you said makes a whole lot of sense lol :)
0

#6 User is offline   asek 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 365
  • Joined: 25-May 10
  • Reputation: 38
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 18 August 2010 - 10:08 PM

Agree with Daz. Thats what we are doing. We're not ready to launch but rather than a 1and1 holding page we thought we would create our own, and get google to index it
0

#7 User is offline   Daz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 255
  • Joined: 19-February 10
  • Reputation: 23
  • Gender:Male
  • Location:Manchester
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 19 August 2010 - 01:33 PM

Thanks guys,

For years I've heard people complain about under construction and coming soon pages but never have I heard a valid factual reason why not to have one, it's all just people saying don't do it based on their own opinion of not liking them. There are a lot more pro's then con's.

Like I said though, if the site is already live and you're redeveloping it, unless you really really have to do so, don't shut down the current site with a under construction page. That will damage your SEO.

But if it's a brand new site then also remember to add html 'about us' type content to the holding page to get the most out of it from the search engines. (and remember those META and ALT tags too!)
0

#8 User is offline   adamsgr 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 08-January 11
  • Reputation: 0
  • Gender:Male
  • Location:Athens, Greece
  • Experience:Intermediate
  • Area of Expertise:Web Designer

Posted 08 January 2011 - 10:19 PM

I don't understand either why an under construction page is that bad.Recently we created a little different under construction page with a jquery pick date calendar that a user can guess the day of the site opening and gain a discount on the store.
Isn't it better than having nothing?As for seo you can forbid crawling with robots.
0

#9 User is offline   Daz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 255
  • Joined: 19-February 10
  • Reputation: 23
  • Gender:Male
  • Location:Manchester
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 10 January 2011 - 12:28 PM

View Postadamsgr, on 08 January 2011 - 10:19 PM, said:

I don't understand either why an under construction page is that bad.Recently we created a little different under construction page with a jquery pick date calendar that a user can guess the day of the site opening and gain a discount on the store.
Isn't it better than having nothing?As for seo you can forbid crawling with robots.



That's an impressive idea to spice up a dull holding page.
0

#10 User is offline   DannyG17 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 21-January 11
  • Reputation: 3
  • Gender:Male
  • Location:England
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 21 January 2011 - 08:53 PM

I wouldn't see the point in an under construction page unless the website is under maintenance or your are a business that sells products e.g. you are selling the new version of Call of Duty then you can incorporate this into your template somehow.
0

#11 User is offline   singleframe 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 102
  • Joined: 21-January 11
  • Reputation: 6
  • Gender:Male
  • Location:Preston
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 22 January 2011 - 11:19 AM

View PostDaz, on 18 August 2010 - 04:33 PM, said:

Guys guys guys,

NOT TRUE.

In regards to a live website which is getting a facelift, leaving the old site running and then instantly launching into the new is the best way to go about things.

HOWEVER
A brand new website SHOULD have a 'holding' page made for it, this holding page may or may not say "under construction" with a fancy countdown if you wish, but it should also have at least a paragraph of "about us" text on it too. Why? Because Google likes mature domains compared to new ones and so it gives you a head start on the very basic SEO. I've seen holding pages for websites with a page rank of 2 or 3. Which isn't much for a website but for a simple holding page that is only a few months old is great!



Spot on Daz!
0

#12 User is online   MikeChipshop 

  • Small but imperfectly formed
  • Group: Moderators
  • Posts: 7,044
  • Joined: 19-April 10
  • Reputation: 503
  • Gender:Male
  • Location:Scotland

Posted 22 January 2011 - 12:53 PM

Agree with Daz on this.
Having a website up full of 'under construction' pages is bad BUT having a nice holding page in place whilst you as a developer are building the rest is always good.
0

#13 User is offline   Shaun Childerley 

  • Expert
  • Group: Platinum Membership
  • Posts: 918
  • Joined: 04-December 09
  • Reputation: 59
  • Gender:Not Telling
  • Experience:Nothing
  • Area of Expertise:Nothing

Posted 02 February 2011 - 07:45 AM

View PostMikeChipshop, on 22 January 2011 - 12:53 PM, said:

Agree with Daz on this.
Having a website up full of 'under construction' pages is bad BUT having a nice holding page in place whilst you as a developer are building the rest is always good.


Yh no point of having a blank page...
0

#14 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,816
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 05 February 2011 - 09:40 PM

Such pages are good and in fact, recommended by Matt Cutts himself and he sees nothing wrong with them at all from an SEO point of view. He also says you may as well let google index the site.

Say you have a new site that is selling something soon. People are already going to your url - you have blank page and you're turning people away. A good under construction page will also have a small signup form too and the company logo/contact details.

Personally, I'd phrase 'under construction' as something different as it sounds a little clumsy imo. Maybe phrase it a little cutter?
0

#15 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,816
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 05 February 2011 - 09:43 PM

View PostAsh Scott, on 18 August 2010 - 04:11 PM, said:

Under Construction Pages For Web Designers Are A NO.

First of all, you gain no advantage by doing so. You are better off just adding the pages later, rather than putting them in before you have them finished. If you MUST put them up and finish them slowly, there are much better things to do.

"Under Construction" signs are a red flag to search engines, and to people. They tell them outright that you are not finished, and have nothing of value on the page. It is much better to put a notice like this:

"We have a lot of (name item) to put on this page, we request your patience while we get it ready for you. In the mean time, if you have questions, or need (specific item), please email us at (email address)... We'd be happy to help you personally."

This kind of notice lets your customers know what you have, and where they can get it if they want to email. It is NOT a substitute for real content, but it is better than a notice that tells everyone that you aren't prepared.

If you take this course of action, it is advisable to get real content into place as quickly as possible, even if it is just one or two bits - a paragraph or two if it is information, a product or two if it is a sales site. Any little bit will tell them you really are working on it, and it will help you get indexed by the search engines and bring you more traffic, sooner.

Avoid the "Under Construction" plague, it will just harm your business, both with people, and with search engines.


Your way off there with an SEO penalty and holding pages. Go have a watch of matt cutts webmaster channel on youtube.

I don't get your thinking saying a holding page can damage your business. Potential customers go there - surely a logo with some contact info and validation that your site (and company for that fact) exists.
1

#16 User is offline   Abhilash 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 14-July 11
  • Reputation: 0

Posted 14 July 2011 - 09:43 PM

Can anyone help me,

I this under construction Page, when the timer end. Is it possible to redirect to other page.

Please help me.if you know how to do this please send the code.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users