Archive for July, 2010

Self-executing functions in JavaScript

Thursday, July 29th, 2010

In Ryan Florence’s excellent post comparing jQuery’s approach to Mootools’, he makes a number of interesting comparisons about each framework’s approach.

One area where jQuery provides an elegant solution is its use of anonymous functions to set DOM properties, as shown in the following snippet.

This is something that I certainly missed when working with Mootools, but fortunately there’s an easy, quick solution.

Ryan proposes the use of the setEach plugin to solve this issue, but to me, this doesn’t seem necessary. You can work around the issue by using a function that executes immediately, as follows.

The key here is the extra pair of parentheses after the function definition, which forces the function to execute straight away. Simple, quick, and it gives the same functionality as the jQuery equivalent without having to add the overhead of a plug in.

MTT Poker goes live

Wednesday, July 28th, 2010

It’s been a busy couple of weeks for site launches in the 360innovate office!

Multi Table Tournament Poker are a company that hold poker tournaments across Scotland. They hold regular (nightly) events, as well as regional and national tournaments. They came to 360innovate looking for a complex bespoke website development, involving many different league tables, a content management system, and a forum.

The main aims for this site were to ease the administrative burden on MTTP’s staff (allowing them to expand their business more easily in future), and to provide a focus for their already-strong community of players.

MTTPoker have big plans for the site, and planning for phase 2 of the development is well under way!

You can check out the site at mttpoker.com.

360innovate website gets a facelift

Thursday, July 22nd, 2010

Regular visitors to our site might have noticed that we have tweaked the header/menu area this morning.

There are a couple of reasons for this little facelift. Firstly to tie the main menu closer to the rest of the design from a visual perspective.

The second reason is to prepare the way for future additions to site which are part of the phased approach we took when creating the site.

When we first put the site live a few months back we did so with great pride but we also had many ideas during the build that had to be shelved due to time constraints (pesky clients!).

Along with the visual changes we also had certain tweaks and additions to the site which needed rolling out so we decided to bundle them into one update.

We’ll keep you posted when we make further additions to the site.

Another Housing Association website goes live

Wednesday, July 21st, 2010

Following the successful launch of the Cathcart and District Housing Association we are pleased to announce that 360innovate have been working with Knowes Housing Association to build a new website for the public sector organisation.

Built on a content management system, the Knowes Housing Association website focuses upon providing as much information and support as possible to current and future tenants.

You can visit the site at knowes.org.

jQuery plugin to show and hide vertical menus

Tuesday, July 20th, 2010

It’s very common for us to show and hide vertical menus when developing sites. This idiom is particularly common on sites with a lot of submenus, such as e-commerce shopping carts.

Since it’s a technique we use so frequently, we decided to write a little jQuery plugin to make life easier for ourselves. This plugin takes nested unordered lists and turns them into expandable and contractable menus.

The plugin has the following features:

  • Dual licenced under GPL / MIT licences – do what you want with this code (as long as you leave the licence intact!)
  • Lightweight (~2Kb packed)
  • Keyboard accessible, basic WAI-ARIA support. Usable with JavaScript switched off.
  • Easy to use and deploy
  • Configurable through CSS, callback functions and numerous options

Please note that this plugin optionally uses of Klaus Hartl‘s excellent jquery.cookie.js plugin.

You can download the plugin here, and view the docs, and an example here.

A Social Media car crash

Thursday, July 15th, 2010

Companies and individuals get social media wrong all the time. It’s rare, however, to see the type of PR disaster that enveloped Gillian McKeith yesterday.

If you missed the debacle, here’s a summary:

  • A user of Twitter expressed excitement at reading a chapter of Dr Ben Goldacre‘s book, Bad Science, devoted to McKeith’s practices.
  • McKeith (or someone tweeting from her official Twitter account) responded to the user accusing her – bizarrely – of bigotry against Americans. (Since McKeith’s PhD was gained in America.) Crucially, she also inferred that Dr Goldacre was a liar. (A very serious, and indefensible defamation.)
  • At this point, the sceptic community on Twitter began picking up on the issue – tweeting with hashtags such as #Iherebydefamegillianmckeith and #gillianmckeithhasnophd
  • She quickly became one of the top trending topics on Twitter, and as the momentum started to build, she made an incredible move – her tweets moved to the third person, and she wrote a load of tweets that were sharply deleted (They are captured for posterity here). Links to her Twitter account were removed from her official site, and she tweeted “Do you actually believe this is real twitter site for the GM?” Unfortunately for her, the link to her Twitter account is still visible in the source code of the site, at the time of writing.

What could she have done differently?

Assuming that @gillianmckeith is the woman’s real account, or is at least under her control, there are many lessons to be learned from this story.

Firstly, nobody likes a bully. McKeith is renowned for being somewhat litigious and silencing her critics through legal threats. This approach is anathema to the way social media operates, where engagement is key. Your critics provide invaluable feedback, and should be regarded as an opportunity to improve your product offering.

As an example, imagine if she had sent a complimentary book to the original tweeter. Instead of creating the storm that she did, she would have come across as looking to present her side of the story; listening to her critics and reaching out with generosity rather than insults and threats.

Secondly, her response to the crisis was disastrous, to say the least. In claiming that the account was not associated with her (when clearly it had been), she showed real contempt for the online world. Dishonesty and backtracking will get you nowhere, and in any case, the situation had been captured by numerous sources – the caches of search engines, and the screenshots of many users. Links to these spread like wildfire, and will irreparably damage your reputation.

Assuming again that Gillian McKeith (and people working with her) are responsible for this situation, she has given us a prime example of why employing a professional social media management company is money well spent. If you don’t thoroughly understand the opportunities and pitfalls of social media, the damage to your reputation can be incalculable.

Please note that comments do not represent the views of 360innovate. Defamatory comments will be deleted.

More commercial possibilities for Twitter

Tuesday, July 6th, 2010

Although yet to be confirmed by Twitter itself the brand has created an @earlybird channel which is set to be monetised as a daily deals service.

In December, Dell reported $6.5 million in sales following two years of promotions on Twitter, and they aren’t the only brand using the micro blogging website to advertise and promote their brand, products and services many other brands use the free service as a promotional tool.

Whilst typical brand profiles take time to develop a steady following using the @earlybird channel enables brands to advertise specific promotions to a massive audience. This commercial venture will no doubt be a successful one, not only offering exciting offers it places control back into the audiences hands giving them the power to decided whether they want to be exposed to the advertising or not. There is no indication as to when @earlybird will go live, the tweets are currently protected but noise from Twitter camp indicates that what exactly @earlybird is will be revealed shortly.

Drum Central goes live

Friday, July 2nd, 2010

Drum Central is Scotland’s leading provider of drum kits, accessories and hardware in Scotland.

Selling their wide range of drumming products both offline and online Drum Central appointed 360innovate to redevelop their existing website with the intentions of making the brand image more current and the website easier to administer.

360innovate proposed an ecommerce shopping cart that allows shoppers to find their desired product with ease, purchase gift vouchers to spend instore, sign up for newsletters and connect with the brand via social media. The final result is a vibrant website that is sympathetic to the rock genre and information rich providing visitors to the website with a wide array of content to aid and enhance their shopping experience.

Visit the Drum Central website.

Like what you see then get in touch with 360innovate today.