Open Windows in HTML with Standards Compliance

When opening new windows from your web page that link to external files, a common practice is to open them in a new window as not to deter the user from your site.

One method to do this in the past was to use target="_blank" that tells the browser to open the link’s href attribute in a new window. This, however, is deprecated in the Strict Doctype of W3C web standards so we should be trying to avoid using it whenever we can, and in this post I’ll show you exactly how it’s done.

Continue reading Open Windows in HTML with Standards Compliance


Auto-Post Your Blog to Twitter and Facebook

Okay, so you’ve gone through those guides on setting up your new weblog, and followed all the advice on using social media to leverage your site into becoming ├╝ber-successful overnight. The problem now is that those two elements are still detached. You’re posting all that relevant content on your website but nobody is around to click those links that direct to all that beautiful material.

This is not an article on improving your follower count or the “top 10 ways to drive traffic with SEO“, but it will definitely help in a different way. Today, I’ll show you how to automatically post your blog articles straight to your Twitter and Facebook accounts using your RSS feed as a stream.

For those of you writing #daily365 articles, or have signed up for Project52, this will be ideal. Let the computers do the work for you.

The service I use for this is called TwitterFeed, which you’ll need an account for. It’s all super easy and I’ll explain it after the jump. So anyway, here we go. Continue reading Auto-Post Your Blog to Twitter and Facebook


The New Improved Tweet Cloud And Why You Should Use It

Actually, this one’s long overdue. My Tweet Cloud plugin for WordPress has recently passed over the 500 download mark and, as of last week, is now on its fifth release (v 1.4).

It’s had some significant improvements over its lifetime, and has quite frankly surprised me at how popular it has become. Especially from a script written in a night with nothing more than a simple idea behind it. Continue reading The New Improved Tweet Cloud And Why You Should Use It


The PHP Include

At the point that your site becomes more complex, you look to ways of simplifying your page code to give yourself less headaches. Ultimately you’re looking for a way to separate that header that you’ve copy-pasted so many times to different static web pages, into a page that all your other pages can call, and will stay the same.

If like me you hadn’t heard about PHP until this point where you are looking to add in other scripts to your web pages, then now is a very good time to learn about PHP includes.

1
< ?php include( 'header.html' ); ?>

Continue reading The PHP Include


CSS Drop Down Menu – No JavaScript!

This time I’ll show you how to create your own drop down menu with XHTML and CSS, but with absolutely no Javascript! It’s all down to the CSS pseudo element :hover, which you have probably already used on anchor (<a>) tags. If you followed my previous tutorials on navigation bars you will definitely be familiar with it. Continue reading CSS Drop Down Menu – No JavaScript!