February 2011 Archives
According to the website, Soap and Glory were inspired by bad British tabloid headlines, and the packages are designed to be cute (but not too cute) and clever (without being corny or too clever).
Obviously, there are a few tricks to get some Javascript to work on different browsers, and multiple-browser testing should not be forgotten. (If it was not for Internet Explorer, I am sure that quite a few developers and testers would be out of a job!)
Take the following code, which adds a class to an element in the HTML page by using the setAttribute function:
document.getElementById("wrapper").setAttribute("class", "newClass");
However, this setAttribute function does not work in Internet Explorer, so developers should use the following method instead, which works in all browsers. This example targets the className in the DOM, directly:
document.getElementById("wrapper").className="newClass";
In addition, adding a listener to an element to see if the element has changed or is in focus, is different in versions of Internet Explorer 8 and previous versions of Internet Explorer. To add a listener to an element to work in all browsers, the following must be done:
var myelement= document.getElementById("element");
if (myelement.addEventListener){
myelement.addEventListener("change",myFunction, false);
} else if (langSelect.attachEvent){ // For IE8 and below
myelement.attachEvent("onchange",myFunction, false); }
In short, the 'addEventListener' function will be recognised in all browsers (except most versions of IE), and the 'attachEvent' function will work in most versions of IE. On the event, which is the first parameter, the function (second parameter) will be called. Note that for the IE 'attachEvent' function, the event will normally have the word 'on' appended to the event: onchange, onmouseover, etc. The 'addEventListener' function will simply take the word 'change'.
On that note, I've got to get back to some work. Happy coding and making your websites work in all browsers!
After watching several commercials that aired during the Super Bowl XLV last month, I noticed a trend in companies displaying their Facebook URL. It was at that point that I realised just how much investment that companies are putting into social media. With the cost of air-time during the Super Bowl valued at millions, many different companies have made a conscious decision to advertise their Facebook pages. In some cases, they seem to have invested more into their Facebook presence over their official website. While they try to appeal to a generation of Facebook users, many others in America have never used the social networking website or are not regular users of it.
A quick search on the Internet revealed that others also recognised this trend. Ryan Carson blogged about nearly 100% of the big brands (Doritos, Coke, Ford) had listed their Facebook URL in their commercial played during the Super Bowl (1).
Since the Internet is more readily available with laptops and mobile devices becoming more common, many combine television-watching with the Internet, and in 2009, the figure had increased 35% more Americans than last year combine watching television with browsing the Internet (2). With more people using the Internet while watching television, it is not surprising to view search trends during events, such as the Super Bowl. Fox (3), who also noticed the trend of companies using their Facebook URL on the Super Bowl commercials this year, has published trends showing that once a commercial is aired during the Super Bowl, viewers search for it online.
It seems that social networking (particularly Facebook) are the buzz and hype for this year, but companies also need to be sure that other Internet users are not alienated by keeping their official websites up to date and investing in good content and keeping an audience. (Facebook is easy to update and to keep in constant communication with 'fans', if they do log on to the website and follow your company website.)
The SuperBowl: an excuse to get together with friends/family and watch football, party, and see the new commercials that companies have spent a few million making and broadcasting. According to statistics this year, a 30-second broadcasting slot during the SuperBowl cost $3 million dollars (1).
So, what did the audience see this year, and what were the best of the best? The most popular tweeted brands prior to the SuperBowl included Volkswagen, Audi, Groupon, Best Buy, and Doritos - in that order (2). Groupon and the GoDaddy placement featuring Joan Rivers seem to be hot topics in the news today, from a critical point of view.
This year's commercials featured many celebrities (Justin Beiber, Ozzy Osbourne, Joan Rivers, Eminem, and Kim Kardasian - to name a few.)
The following advertisments were among the most memorable:
- Doritos: Pug Attack (A man tempts a dog with chips with consequences.)
- Volkswagen: The Force (Mini Darth Vader meets Volkswagen.)
- Chrysler: Eminem (Eminem takes a proud look at Detroit.)
- Bud Light: Dog Sitter (Dogs know how to host a good party.)
- Best Buy: (Ozzy Osbourne and Justin Beiber star in this Tron-themed commercial.)
- Coke: Border Guards (Border guards with the popular drink.)
- Snickers: Logging (A celebrity gets hit with a log.)
- Volkswagen: Black Beetle (A good play on the beetle theme.)
- Bud Light: Hack Job (A family view their redesigned kitchen to discover it has beer.)
Some of these commercials can be viewed at: http://sportsillustrated.cnn.com/2011/football/nfl/super-bowl-2011/02/06/super.bowl.commericals/index.html?eref=sihp&hpt=C2
1. Wikipedia. http://en.wikipedia.org/wiki/Super_Bowl_advertising [7 February 2011].
2. Turner, Debbie. Online Social Media. http://www.onlinesocialmedia.net/20110206/super-bowl-2011-ads-top-brands-pre-buzz-on-twitter/ [6 February 2011].
To view the Wayback Machine, use one of the links below. The original 'Wayback Machine' can be found on the first URL, but they have not included a separate website for an updated website with a timeline interface. (The original one seems to have stopped archiving, so the recent archives can be found on the second URL.)
Wayback Machine: http://web.archive.org
Wayback Machine (Beta 2): http://waybackmachine.org/
Simply visit a website, such as Yahoo!, and see how it has evolved over time, from its early days (the 'Wayback Machine' starts to archive data from 1996) to today.
Recent Comments