2008-05-28

JavaScript : Most viewed posts

For those readers, who are eagerly waiting for this widget. Well the Most viewed posts widget was just recently announced by Avnho of webcom.guide and I do not think that many people have gotten their hands on it yet.

For this reason, I'll help Avnho to publish his hack on my site. Here are the details of how to install the widget on your sidebar.
1- Login to your Dashboard> Layout> Page Elements
2- Chose to add Html/Javascript.
3- Copy and paste the following code:-

<script type="text/javascript">
start_views_num = 500;
limit = 7;
</script>
<script src="http://onlinebiztutorials.googlepages.com/topviews222.js" type="text/javascript"></script>


5- Save changes.

Configuring the script:-
You may change the start views number as you wish.
You may also alter the limit of the post title to any number.

2 comments:

Hải Trung Kim said...

Thank you Ismail, thank you for help me publish it.

Is said...

It's not a big deal, Avnho. Your wish is my command. LOL

Post a Comment

1. Comments posted must be accompanied by names or pseudonyms.
2. Anonymous posting and those containing profanities will be rejected.
3. Comments are moderated due to spam problems. I have to approve the comment before it will show up.

:)) ;)) ;;) :D ;) :p :(( :) :( :X
=(( :-o :-/ :-* :| 8-} :)] :-t b-( :-L