June 2, 2011 at 1:06 pm | Blog | 2 comments
Hi, I have already added a google plus one button to my website. You can see it on the footer. Adding the +1 button to your pages allows users to recommend your content to friends and contacts on Google search. As a result, you could get more and better qualified traffic.
For more information on +1 button. Please see the official website
Please also recommend my website to your friends if you think they do like. Thanks!
March 17, 2011 at 6:53 am | Blog | 1 comment
Recently, I am reading some articles and posts on javascript closure, which is an advanced topic in Javascript. And it is not easy to get it. But understanding it is essential to mastering the language. I made some notes on closure, and have a much clearer picture on closure and its usage. I would like to share the notes with all, and if there is some misunderstanding, please help me to improve.
Note 1:
“Whenever you see the function keyword within another function, the inner function has access to variables in the outer function.”
Read more…
March 14, 2011 at 5:22 pm | Blog | 101 comments
If you are a web designer or a freelancer who wants to have a website, the corporattica is extremely suitable for your case. If you are a newbie to wordpress, don’t be afraid, i am gonna give you a step by step installation guide on using this corporattica theme. It is easy to follow, you will find it really simple. If you have already used Aurelius, you will find this one is even easier, and more flexible than Aurelius. Ok, Are your ready? Let’s rock with corporattica.
Precondition
First of all, you have a wordpress blog installed. Coporattica is designed for wordpress up to 3.0, as it takes advantages of the new features like menu, custom post etc. If you are using old versions of wordpress, please upgrade to 3 first, or download the latest wordpress from the official website wordpress.org.Then follow wordpress’s famous one click installation steps to install the blog.
Read more…
March 10, 2011 at 3:47 pm | Blog, Download | 28 comments
This is a clean and simple wordpress theme for business such as corporation, design company, advertising company, etc… Here are the main features:
1.lofslidernews on the pages for Slider show.
2.easy to ues, take advatange of wordpress 3.0 features. easy to use customized menus, and custom post types etc.
3.Cufon for beautiful fonts.
4.timthumb for auto adjusting image sizes.
5. ready to use contact form. Fully working Ajax form with validation on the contact page
6. compatible with almost all main web browsers (ie6-8, FF, Safari, Chrome,Opera)
It is under Creative Commons license. It’s Free!
Enjoy !
Read more…
December 17, 2010 at 1:21 pm | Blog | 2 comments
A PengbosInspiration theme user asked for validation on contact form, especially for the email field. It should be a very common request for developers using contact form. I made a little change to the javascript codes.
the original javascript code for submitting a contact form is as follow:
var theme_template_dir = jQuery("meta[name=theme_template_dir]").attr('content');
jQuery(document).ready(function(){
jQuery('<div></div>')
.insertBefore('#log')
.attr('id','log_wait')
.css('display','none')
.addClass('ajax-loading')
.ajaxStart(function(){jQuery(this).show();})
.ajaxStop(function(){jQuery(this).hide();});
jQuery('#contacts').submit(function() {
jQuery.post(theme_template_dir + '/include/gmail_sendmail.php',jQuery(this).serialize(), function(data){
jQuery('#log').empty();
jQuery('<div></div>')
.attr('id','log_res')
.appendTo('#log')
.html(data);
});
return false;
});
});
Read more…
December 4, 2010 at 5:33 am | Blog | No comment
Firefox is the most popular web browser on the world wide web. Especially for the web designers, they can not even live without it. Firefox is much more helpful when it is equipped with some powerful add-ons. I am gonna recommend 10 plus 1 the most useful add-ons which will make designers and developers’ life easier and work more efficient.
Firebug
Firebug is the most widely-used add-on for web developers. Developers can edit, debug, and monitor CSS, HTML, and JavaScript live in any web pages. I can not imagine debuging javascript without it. And what’s more, Firebug Lite is compatible with all major browsers: IE6+, Firefox, Opera, Safari and Chrome. What a powerful tool!

Read more…
November 27, 2010 at 5:03 pm | Blog | 4 comments
Following on from the last tutorial Tutorial: Code a WordPress Theme from Scratch (part 2), we are now going to pull the posts from the database with WordPress Loop.
Read more…
November 19, 2010 at 5:09 pm | Blog | 2 comments
wordpress users may search plugins for poll, google adsense, image slides, ads box and so on day to day. Actually wordpress itself is equipped with very powerful widgets. The Text widget is one of them, which is always underestimated by users. In this post, i will introduce some tips on how to take advantage of Text widget to add google adsense, poll to the side bar without a plugin.
the precondition is that, your wordpress theme supports widgets.
Read more…
November 4, 2010 at 5:56 pm | Blog | 7 comments
Following on from the previous blog Tutorial: Code a WordPress Theme from Scratch (part 1), we are now going to add more functions, files to make the theme more serious.
Read more…
October 21, 2010 at 5:56 am | Blog, Download, Theme | 16 comments
Pengbo’s Inspiration V0.2 is available to download. It is also Creative Commons license. That means, you can use it free for your personal and business use, but you need to give credits to the creator.
This version is a bug fix version, it fixes a critical bug in the contact from. The contact form in V0.1 is not working. I fixed this bug in this version, and I also add send email through gmail smtp feature. User can change a little code to use gmail smtp to send contact messages.
Read more…
previous page · next page