Ph.Creative is a full service design and communications agency specialising in web design, SEO, internet marketing and branding.

Liverpool

London

Manchester

New York

Call us on +44(0)151 708 2280 or liverpool@ph-creative.com

Call us on +44(0)20 3301 4503 or london@ph-creative.com

Call us on +44(0)161 880 0122 or manchester@ph-creative.com

Call us on (001) 646 340 1025 or newyork@ph-creative.com

IE8 knocks troubled IE6 off browser top-spot at last

by Craig Wilson 5 February 2010 at 15:33

You’ve probably noticed all the recent bad press IE6 has been getting regarding its security over the past year – remember Google being hacked? Well, new figures out have revealed that IE8 has finally overtaken IE6 as the world’s most used browser.

IE8, the latest version of Internet Explorer, now holds 22.31% of the market, compared to the troubled IE6's 20.07%.

Users have been warned to upgrade their browser after a series of flaws in the nearly decade-old IE6 - including the vulnerability that led to Google being hacked.

The Department of Health have warned NHS staff to avoid IE6, whilst the governments of Germany and France have urged citizens to upgrade or switch.

The third most used browser version was Firefox 3.5 with 17.10%, followed by IE7 at 14.58%.

Overall, the group of IE browsers lead the market with 62.18%, followed by Firefox with 24.41% share in January. Both slid slightly, contributing to Google's Chrome browser climbing from a 4.63% share in December to 5.20% in January.

Safari and Opera also posted slight declines, down to 4.51% and 2.3% respectively, according to Net Applications.

Currently rated 3.0 by 2 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Google

Custom Checkboxes with jQuery and CSS

by Craig Wilson 6 November 2009 at 11:17

A short and sweet piece of code, but very powerful in giving you total control over the design of your checkboxes.

Click here to view the demo.

The problem I set out to solve here was a combination of two things. The first was the ability to change the look of checkboxes in web forms. By default they cannot be altered using CSS as the style is determined by the user’s operating system. The second problem was that the existing JavaScript solutions to this problem were bloated with a lot of unnecessary code.

My solution solves a simple problem using very little code, so I hope it comes in useful! Let me walk you through the steps…

Step 1, add a block container around your checkbox.

<div class="container">
    <input type="checkbox" value="1" class="checkbox" />
</div>

That’s all the HTML you're going to need!

Step 2, style your checked and unchecked states as an image. (It’s a good idea to optimise these as a sprite instead of two separate images to save on HTTP requests and avoid a flicker when the images switch.)

Step 3, add your CSS.

The checkbox image should be added to the checkbox container rather than to the checkbox itself.

.container {
    width:20px;
    height:20px;
    background:url(checkbox.gif) no-repeat;
    cursor:pointer;
    overflow:hidden;
    position:relative; /* IE fix to hide overflow */
}

Add your ‘checked’ class, which should just be a change in the background position if you’ve used a sprite.

.checked {
    background-position:0px -20px !important;
}

Next, we want to position our checkbox so it appears outside of the container.

.checkbox {
    position:relative;
    left:30px;
}

If you have a look at your page now, you should see your custom checkbox and your default checkbox sitting pretty beside each other. Next, we’ll move on to the jQuery.

Step 4, add your jQuery.

The theory behind the idea is for the user to click on the block container and use jQuery to automatically check the checkbox that sits inside it. Then we use CSS to hide the default checkbox.

var $this = $(".container");
$(".container").toggle(function(){
    $this.addClass("checked");
    $(".checkbox").attr("checked","checked");
},function(){
    $this.removeClass("checked");
    $(".checkbox").removeAttr("checked");
});

The toggle function here will allow you to add your checked class as well as check the checkbox itself, and then remove the style and checked attribute on every 2nd click.

If you run this in your browser now and click on the custom checkbox, you should see that the default checkbox is being toggled automagically! If you are seeing this, then all that is left to do is hide your default checkbox using CSS. So in your container class, simply add the following:

overflow:hidden;
position:relative; /* IE fix to hide overflow */

So the whole container class should look like this:

.container {
    width:20px;
    height:20px;
    background:url(checkbox.gif) no-repeat;
    cursor:pointer;
    overflow:hidden;
    position:relative; /* IE fix to hide overflow */
}

I’ve tested this code in Firefox 3, IE6, IE7, IE8, Safari, Chrome and Opera all on Windows and it works fine in all browsers. Have a look at the demo and let me know what you think!

Currently rated 5.0 by 4 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

css | development | jquery

jQuery Plugin: Scroll to Top v3

by Craig Wilson 29 October 2009 at 15:13

After some more great feedback I've decided to release version 3 of our jQuery Scroll to Top plugin. Smile

There have been 2 main updates to this one:

1. Following user comments from v2, I've added the additional option of choosing when the scroll to top link appears. So you can choose for it to appear only after the user has scrolled down further than, say, 700 pixels.

Implementation of the new feature is easy. First of all, if you're new to the plug in, follow the original instructions to help get set up. (Plus you might want to have a look at version 2 for information on the speed and easing options.) Then, you can simply add the new option as follows:

$("#toTop").scrollToTop({
   speed: "fast",
   ease:  "easeOutBounce",
   start: 700
});

Easy!

2. The plugin now includes licensing information, as the script is now released under the open souce MIT License! Good news for all, so remember to comment and let me know if you make any cool updates to the script.

Also, feel free to post a link to your website if you're using the plugin! We'd love to see it. Smile

scroll-to-top-v3.zip (25.74 kb)

Currently rated 4.8 by 6 people

  • Currently 4.833333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

jquery | web design | Web Technologies

Facebook Acquisition Gears Up for New Service

by Craig Wilson 12 August 2009 at 11:57

Facebook certainly know how to pick their battles. In the past 24 hours, there have been 2 major announcements in the form of acquisitions to challenge Google and a new lite service to take on Twitter.

Yesterday saw the social network site buy the content sharing service FriendFeed, snatching the company from right under Google’s nose (It was expected that Google or Twitter would buy FriendFeed.) The reason a content sharing service attracts the attention of Google and Facebook is due to its impressive real-time search engine – something Google has fallen behind in.


FriendFeed allows you to synchronise with a
whole range of social networking websites.

Facebook and FriendFeed have had quite a close relationship in the past, with Facebook using (and improving on) some FriendFeed features, and FriendFeed importing/synchronising Facebook updates to their user profiles. The FriendFeed development team are also all ex-Googlers, which is a great addition to the Facebook team.

There have also been reports of a new Facebook Lite service, which will most likely line itself up against with it’s stripped down, straight-to-the-point interface focusing on status updates. (This may also work well with Facebook’s username functionality that was added a few months back.)

Combining all of these new features sounds like a great idea. A Twitter-esque profile pointing at http://facebook.com/phcreative showing a public version of my profile, which then utilises the new FriendFeed technology to synchronise and publish real-time status updates, links, photos and blog posts from Facebook, Twitter, Flickr, Delicious, Last.fm, BrightKite, etc. Combine all that with a mobile / iPhone app and you’re on to a winner!

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

Google | Facebook | social networking

Twitter Suffers DDoS Attack

by Craig Wilson 7 August 2009 at 11:10

Twitter confirmed today that it’s currently defending itself against a malicious DDoS attack, resulting in the social networking site to go offline for a few hours.

A DDoS attack is a distributed denial-of-service attack which essentially floods the target’s web servers with so many requests that it causes delays or failed requests when trying to visit the website. The attacks can be carried out with by an individual or by organised ‘cyber gangs’ using many servers to increase the severity.

There have also been reports of Facebook going down today, but at the moment there doesn’t seem to be a connection between the two issues.

07/08/09 Update - The attack now seems to have escalated and has now affected other large sites like Google and Live Journal (as well as Facebook as I mentioned yesterday) in what is being described as a "massively co-ordinated attack". Reports are suggesting the attack is being targeted towards a single Internet user (who has accounts on all affected websites) to force his silence over the 2008 South Ossetia war between Russia and Georgia, which broke out exactly a year ago today.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

online security | twitter

Ph.Tools: Google Maps Coordinates

by Craig Wilson 3 August 2009 at 18:45

Hi guys,

Just letting you know about the first Ph.Tools service to go live is the Google Maps Coordinates tool. A must-have for web designers is a good tool to help you find coordinates in Google Maps, the problem I've had in the past is finding one that's user friendly and easy to use. I hope this fills the gap.

Features include scroll wheel zoom, point and click functionality and precise click and drag support. Let me know what you think, and please report any bugs to me directly at craig@ph-creative.com.

Currently rated 5.0 by 4 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Google | Web Technologies | ph.tools

The Slow Death of IE6

by Craig Wilson 24 July 2009 at 15:53

Internet Explorer 6 has taken some nasty blows recently as it grips on for dear life in the browser war. To the merry cheers of web developers everywhere, Google’s YouTube announced they were soon stopping support for the 8-year-old web browser. This follows on from such other large sites like Twitter, Facebook and Digg all prompting IE6 users to upgrade.

youtube stops ie6 support

The issue here is that for many years, IE6 has been running on empty due to technological advances in web development but many web users are reluctant, ignorant or restricted in upgrading to a newer version, despite the major security issues it raises. This causes a major headache for web developers, as providing support and maintenance for websites in IE6 requires a big commitment. They’ve tried everything to persuade IE6 users to upgrade, from browser detection scripts to out right blocking of IE6 visitors.

The opinion of what to do with IE6 has caused splits in the development community. We all want to phase out IE6, it’s just a question of how it should be done. Is it moral for us to force users to upgrade their browser?

The aforementioned websites are some of the most visited sites on the web, so to have the backing from them seems to be exactly what we developers have been waiting for.

The web is at a really exciting stage right now, there’s loads of interest in HTML5 and CSS3, which will change the way we build and style websites. The problem just now is that IE6 is restricting the development and implementation of these new technologies (on a large scale, at least) because it doesn’t support HTML5 or CSS3 very well.

Once IE6 is dead and buried, the web will change forever.


I had a look at our own IE6 visitor stats and they’re showing a nice decline over the last 12 months. This month last year, www.ph-creative.com received around 8% of traffic from IE6 users, this month we received around 5%.

So is 5% of traffic worth the extra development work that the other 95% don’t need? Should we follow the large websites and stop IE6 support? Let me know what you think!

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Web Technologies | web browser

How Hollow is Your Twitter Following?

by Craig Wilson 6 July 2009 at 15:51

Have you got a large Twitter following? Great! How many of those are real people? Oops, it’s probably a lot smaller than you think.

As the world’s Internet population flocks to Twitter, so do the spam bots. Following and re-tweeting just about every user on there. Having a large following may look impressive to other users (and possibly encourages more users to follow you), but this number is being bloated by spammers and giving you an unrealistic view of your Twitter popularity and influence.

Take a look at Rex7, a Twitter power user with over 60,000 followers. Rex7 recently decided to arrange the “largest tweet-up ever” in his city of St. Louis, Missouri, with fellow Twitterer Prebynski (who has a large following of over 20,000.)

Unfortunately, for Rex7 and Prebynski, only 19 people showed up. Wow, so what happened? His Twitter followers turned out to be nothing more than hollow, automated, spam accounts.

So who’s to blame? Twitter, the users, or the spammers? I’m sure Twitter itself could do more to protect its users from spam (In fact, I’m sure Twitter are doing more to protect the user base.)

The problem here is that people are desperate to increase their followers, it’s a massive popularity contest. Some people are so desperate, in fact, that there are services out there actually selling more followers, as the BBC reports.

I don’t understand it myself, surely having 500 real, dedicated followers is more valuable than 5,000 followers who aren’t listening to what you have to say?

As long as you remember to post interesting tweets, follow interesting people and re-tweet useful posts, you’ll gradually gain a strong, dedicated following.

Currently rated 3.7 by 3 people

  • Currently 3.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

social media marketing | twitter

Finding the Balance in Viral Marketing

by Craig Wilson 6 July 2009 at 14:29

Is there a guaranteed method of a successful viral marketing campaign? Does it happen by accident, or is it carefully planned out? I guess it depends on the campaign itself. Is the content itself unique enough that everyone just has to show their friends? Or is the planning and execution just so well thought out that you’re just too impressed not to pass it on?

Either way, if you get a good mix that works, you can grab the world’s attention overnight. I’m going to compare to different kinds of viral videos and that factors that make them a success in very different ways. I’ll be focusing on planning, execution and success rate.

First up, the one we’ve all seen a hundred times before, it’s the Star Wars Kid. This is a great example of one of those videos that you just had to show everyone you know. The video came about completely by accident and had absolutely no execution other than being uploaded to a popular P2P file sharing client.

Who would’ve thought the he would become the most viewed video on the Internet? With viewing figures well over 900 million, countless features in computer games and TV programmes, it just goes to show that some videos don’t require a marketing team and advertising budget. From a commercial point of view, the video doesn’t advertise or endorse any product (maybe that’s why it’s so successful?)

Next up is this brilliant piece of creativity from Japanese band SOUR.

The video is a promotional music video for their new single. It was shot simply by using their fans’ webcams from all over the world. The planning and execution on this one must’ve been going on for months. Success rate? It’s unfair to say, but the video already has over 140k views on YouTube alone and it was only uploaded 6 days ago. As previously mentioned, this video is to promote the band’s new single, will it have an affect on their sales figures and fan base? The organisation and choreography is nothing short of genius. We hope this gets the attention it deserves!

Of course, these two examples show both extremes. Zero planning an execution leading to massive success and lots of planning and execution leading to moderate success. The idea is to find a good balance. If you’re reading this and thinking about launching a viral video, then you’re already in the planning stage. The key is to make sure the success rate justifies the planning and execution time.

So what to do next? Find a creative company that specialises in viral marketing campaigns, either to drive the campaign for you or just to give you a bit of advice and ideas.

Currently rated 3.7 by 3 people

  • Currently 3.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

social media | social media marketing | viral marketing

jQuery Plugin: Scroll to Top v2

by Craig Wilson 22 June 2009 at 17:25

Hi guys,

It's been a little overdue, but I've finally had some spare time to update our jQuery Scroll to Top plugin after some great feedback from our readers. Thanks. Smile

In the new version, I've included the options to choose your speed as well as support for the excellent jQuery Easing plugin (version 1.3 is included in the download pack, but please remember to check the jQuery Easing homepage for the latest version!)

If you're new to the plug-in, please look at the original post for set up instructions.

For those upgrading, grab the latest version at the end of this post, which contains an example set up.

You can extend the options by using the following:

$("#toTop").scrollToTop({
   speed: "fast",
   ease:  "easeOutBounce"
});

You can see the full list of easing options at the jQuery Easing homepage. For speed, you can use the usual "slow", "normal", "fast" or millisecond timing. Of course, you can use one or the other, or none at all.

Enjoy!

Version 2.0: scroll-to-top-v2.zip (25.67 kb)

Update: Version 3 now released!

Currently rated 5.0 by 6 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

jquery | web design | Web Technologies


 

Search

Recent Comments

Comment RSS

© Copyright Ph.Creative 2009. All rights reserved. Terms & Conditions | Privacy Policy | Sitemap (XML) | Log in

Website design by Ph.Creative

^