dCon
made by Lukasz Jablonski (eljot87) - e-eightyseven.com, last updated on 12 July 2011
OVERVIEW
This script is for blogs powered by Blogger™. This will allow you to:
- display date header befor each post on your blog
- change the date format
COPYRIGHT
It is free to use but do not remove credits comment from dCon.js!
DOWNLOAD
full package:
dCon.zip
files:
dCon.js
style.css
Readme.txt
INSTALLATION
To install script on your blog just follow this steps:
- Go to your Blogger Dashboard > Layout > Edit HTML
- Check "Expand Widget Templates"
- In
<head> section place:
<script src="domain_name/dCon.js" type="text/javascript" />
<link href="domain_name/style.css" media="screen" rel="stylesheet" type="text/css" />
where doamin_name is url where you place dCon.js and style.css, or:
<script type="text/javascript">
COPY HERE CODE FROM dCon.js
</script>
<style type="text/css" media="all">
COPY HERE CODE FROM style.css
</style>
if you want to place all script in your blog template
- Search for code:
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'>
<data:post.dateHeader/>
</h2> </b:if>
and replace it with:
<script type="text/javascript">
var dateOld=""; // do not modify this value
var monthName="true"; // "false" or "true"
var displayType="both"; // "date", "time", "both" or "both-inline"
var timeType="24hours"; // "12hours" or "24hours"
changeDate(dateOld,monthName,displayType,timeType);
</script>
- Save template
- Go to your Blogger Dashboard > Settings > Formatting
- Look for Timestamp Format
- Select the date format like this: 12/17/2010 12:31:39 PM
- Save settings
This site was designed and made by Lukasz Jablonski (eljot87) - e-eightyseven.com.