Hi KK, hope you can help again.
I've added in all the code.
- Code: Select all
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="../js/jquery.timeago.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$("abbr.timeago").timeago();
});
jQuery.timeago(new Date()); //=> "less than a minute ago"
jQuery.timeago("2008-07-17"); //=> "5 years ago"
jQuery.timeago(jQuery("abbr#some_id")); //=> "5 years ago" // [title="2008-07-20"]
</script>
Then this into the main area of where i publish the date.
- Code: Select all
<abbr class="timeago" title="<cms:show k_page_date />"><cms:date k_page_date format='%d %B %Y, %r' locale='English' /></abbr>
Which works fine, it loads line. Now i've got stuck. It only shows in hours, so about 1 hour ago then after another hour it goes to about 2 hours ago. How can i show this in Minutes, when goes into 60minutes then that goes into about 1 hour ago
Cant get my head around that part.