Making cksu.com work in IE8


www.cksu.com is one of the site we’re currently working on to create Internet Explorer 8 unique experience via add-ons (web slices, accelerators, …).  CKSU is a community site for all students and alumni of King Saud University in Riyadh, Saudi Arabia.  This site is simple but yet effective and popular (ranked 275 on Alexa.com for Saudi Arabia), and have a number of sections like portal, publication, blogs, libraries, etc.  One important section (or actually the “one”) is the forums which is powered by vBulletin, the famous application for building web forums.

The first thing that hit us was the fact that this site is was not rendering correctly on IE8 and had some compatibility issued.  Due to an error in some java scripts, some of the images where not displaying.  It was actually annoying and caused some to switch to other browsers!

The error message is saying: ‘_gat’ is undefined

image

Seeing the source of the page, you can directly spot that this script is used for Google Analytics to collect stats of page views.  Digging around for this error message in the Internet lead to a simple solution which is basically to use try/catch statement in the java script.  This is actually according to the guidance from Google Analytics to avoid any error messages.

So, by spotting those statements and surrounding them with try/catch, the whole issue was gone!

The original code causing the problem:

   1: var pageTracker = _gat._getTracker("UA-xxxxxxx-1");

   2: pageTracker._trackPageview();

 

The fixed code using try/catch:

   1: try {

   2:   var pageTracker = _gat._getTracker("UA-xxxxxxx-1");

   3:   pageTracker._trackPageview();

   4:   }

   5: catch(err) {}


Once the developer of the site has done so (I don’t have access to it :( ), the issue immediately disappeared and the page loaded without errors, which caused the images of the site to display properly.

Stay tuned for the add-ons to be built for CKSU community portal which will deliver great experience for the users of Internet Explorer 8.

It’s worth mentioning some of the resources available to help identify compatibility issues with Internet Explorer:

Alriyadh.Com Newspaper Lights up in IE8!


It’s my pleasure to make the announcement of Internet Explorer 8 lighting up when visiting www.alriyadh.com (Number 1. Newspaper and one of the most visited sites in Saudi).

To make the story short, we have worked to create value for Alriyadh.Com to have unique user experience and visitor stickiness utilizing the news features of IE8 (web slices and accelerators).

I will highlight below three features that are most appealing to the newspaper readers, for you to try out and spread:

 

  1. Main headlines Web Slice:

    Interested in getting the main headline from Alriyadh Newspaper without leaving your current page? Add this to your list of web slices from the home page of the newspaper.

    (Hover over the box to highlight in green, or add from IE8 toolbar)

  1. Comic Web Slice:

    Everyone loves comics, the best way of making social or political criticism with fun.  Visit the main page, and add this web slice to your browser to get frequent updates on Alhilayil  (الهليل) today’s shot.

    (Click on the green icon in the comic box from the homepage, or add from IE8 toolbar)

  1. Search the newspaper Accelerator:

    This represents a quick action to lookup content in alriyadh.com.  You can install the accelerator from here, and below is a screenshot of it in action.

Evaluate, provide feedback, and most importantly spread the word!

If you need to get IE8, then visit http://www.microsoft.com/ie

Enjoy!

Best IE8 Add-on Competition – Invitation to Participate


What is the competition?

The competition is to build a compelling IE8 add-on that leverages a functionality, service, or information from one of the top 100 visited sites in Saudi Arabia (as per alexa.com), which can be published for public use (via http://www.ieaddons.com).

Participation in the competition is open for all who are interested, and is though the “IE8 Cool” on FacebookDeadline: Jan, 2010!
 

What is an IE8 add-on?

The competition is geared for encouraging the community to discover more about IE8, and how it’s becoming more and more the most productive browser with tools like web slices, accelerators, visual search suggestions, toolbars, and packaged customizations. These are referred to IE add-ons and can be found on Add-ons Gallery.

What are the rules of the competition?

Rules of Engagement are as follows:
1. Add-on has to be created for IE8.
2. Add-on has to leverage one of the top 100 sites as per http://www.alexa.com.
3. Add-on has to be published to http://www.ieaddons.com.
4. Add-on submission to IE Gallery has to be within the timeline.
5. Contest and participants should be within Saudi Arabia.

 

Find us on Facebook*

http://www.facebook.com/iecompetition

 

Prizes
1st Winner:
Trip to TechEd Middle East, March 1 – 3 in Dubai
2nd Winner:
HTC HD2

3rd Winner:
Xbox 360 Elite System

IE8 Highlights
IE8 is the new browser from Microsoft that is designed for what people really do on the web to make things like searching, emailing, communicating, shopping, or just catching up on the world faster, easier, and safer than ever.

Faster. With IE8, it takes much fewer steps to complete key tasks than in other browsers. E.g. Mapping an address in IE8 takes 3 steps, while in other browsers, it takes 7. 

Easier. With Web Slices, content updates from your favorite website are now accessible right from your favorites bar no matter where you are on the web.

Safer. Built-in phishing and malware protection along with click-jacking and cross-site scripting prevention protects you from threats on the Internet. InPrivate browsing & filters let you maintain confidentiality when needed.
 

*Facebook is a registered trademark of Facebook, Inc.

Blog at WordPress.com.
Theme: Esquire by Matthew Buchanan.

Follow

Get every new post delivered to your Inbox.