Thursday, March 26, 2009

Solve your site rendering problem with Google Chrome

By Glenn Wilson, Product Manager, Google Chrome
http://googlewebmastercentral.blogspot.com/2009/03/helping-your-site-look-great-with.html


Since launching Google Chrome last September, we received a number of questions from webmasters and web developers about how to make their sites look great in Google Chrome. The questions were very insightful and illuminating for the Chrome team, and I want to respond with a few helpful tips for making your site look stellar in Google Chrome.

Detecting Google Chrome

Most sites will render the same in both Safari and Google Chrome, because they're both WebKit-based browsers. If your site looks right in Safari, then it should look right in Google Chrome, too.

Since Chrome is relatively new, many sites have confused Google Chrome with another browser. If your site doesn't look quite right in Chrome but works fine in Safari, it's possible your site may just not recognize Chrome's user-agent string.

As platforms and browsers adopt WebKit as their rendering engine, your site can detect and support them automatically with the right JavaScript checks. Commonly, sites use JavaScript to 'sniff' the navigator.userAgent property for "Chrome" or "Safari", but you should use proper object detection if possible. In fact, Gmail has been detecting WebKit properly in Chrome since day one!

If you must detect the user-agent type, you can use this simple JavaScript to detect WebKit:

var isWebkit =
navigator.userAgent.indexOf("AppleWebKit") > -1;

Or, if you want to check that the version of WebKit is at least a certain version—say, if you want to use a spiffy new WebKit feature:

var webkitVersion =
parseFloat(navigator.userAgent.split("AppleWebKit/")[1]) ||
undefined;
if (webkitVersion && webkitVersion > 500 ) {
// use spiffy WebKit feature here
}

For reference, here are a few browser releases and the version of WebKit they shipped:


Browser Version of WebKit
Chrome 1.0 525.19
Chrome 2.0 beta 530.1
Safari 3.1 525.19
Safari 3.2 525.26.2
Safari 4.0 beta 528.16



You can find more information about detecting WebKit at webkit.org.

Other helpful tips
Google Chrome doesn't support ActiveX plug-ins, but does support NPAPI plug-ins. This means you can show plug-in content like Flash and Java in Google Chrome the same way you do with Firefox and Safari.
If text on your site looks a bit off, make sure you provide the proper content type and character encoding information in the HTTP response headers, or at the beginning of your pages, preferably near the top of the section.
Don't put block elements inside inline elements.
Wrong:
This will look wrong.


Right:
If your JavaScript isn't working in Google Chrome, you can debug using Chrome's built-in JavaScript debugger, under the "page" menu -> 'Developer' -> 'Debug JavaScript' menu option.
To help webmasters and web developers find more answers, we created a support center and forum specifically to answer your questions. Of course, if you find something you think is really a bug in Chrome, please report it to us!

Help us improve Google Chrome!

If you'd like to help even more, we're looking for sites that may be interested in allowing Google to use their site as a benchmark for our internal compatibility and performance measurements. If you're interested in having Google Chrome development optimized against a cached version of your site, please contact us about details at chrome-webmasters@google.com.

Please keep the feedback coming, and we'll keep working to improve Google Chrome!

Monday, March 23, 2009

Develop new gadgets with support from Google.

http://www.google.com/gadgetventures/

Try your hand on Google pilot program dedicated to helping developers create richer, more useful gadgets. Inspired by the success of iGoogle, which has been driven by the creation by 3rd-party developers of a broad range of gadgets, Gadget Ventures provides two types of funding:
  1. Grants of $5,000 to those who’ve built gadgets we’d like to see developed further. You’re eligible to apply for a grant if you’ve developed a gadget that’s in our gadgets directory and gets at least 250,000 weekly page views. To apply, you must submit a one-page proposal detailing how you’d use the grant to improve your gadget.
  2. Seed investments of $100,000 to developers who’d like to build a business around the gadgets platform. Only Google Gadget Venture grant recipients are eligible for this type of funding. Submitting a business plan detailing how you plan to build a viable business around the gadgets platform is a required part of the seed investment application process.

Friday, March 20, 2009

Chrome Experiments - The Power of JavaScript!

Chrome has always been a step ahead when it comes to creating a buzz for its products and attracting great talent to build upon its tools.

ChromeExperiments.com is one such example. Applications showcased on this site are mostly built on JavaScript technologies and are a showcase of out-of-the-box thinking and creativity. These Applications/Experiments might not be put to use as it is, however, they serve their purpose of demonstrating the power of JavaScript and the Browser.

Following are the top 5 experiments from the bunch.. (I recommend viewing these experiments in Google Chrome. Click here to download Chrome if you don’t have it installed already)

BallDroppings: It’s a musical app which looks like pong. The balls are dropped one after the other, users can draw lines/bars to keep the balls from going off the screen. The balls bounce off the bar drawn on the screen creating a sound every time a ball hits the bar.

Click here to launch the experiment or watch the video below to see it in action.

Browser Ball: This is another fun application which shows the power of JavaScript and how well Chrome handles it.

All you have to do is Open windows and throw the ball through them. Not only that but you can also add new windows on the fly.

Click here to launch the app or watch the following video to see it in action

Ball Pool: Ball Pool works on the laws of physics. Shake the browser, move or throw the balls around and see how the browser and see how the onscreen objects react to it.

From the Author: Start by shaking the browser, then create new balls (click on empty space), move some others (drag) and reset the screen (double click).

It’s like the old days once again! :)

Click here to launch the experiment or watch the following video to see the app in action

Boombox: This application lets you control the volume of the sound by resizing the channel window.

For demo purpose the application plays a song online, however, it would be great if it can be integrated with any of the music services online.

Click here to launch the application or watch the video below to see the app in action

Monster: This application demonstrates how JavaScript is used instead of Flash to create 3D objects and animation in the browser.

Click here to launch the animation or watch the video below to see it in action.

Tuesday, March 3, 2009

Abhishek Rungta interviewed at SES London 2009

Monday, March 2, 2009

Show You’re a Professional with Isilon Certification

In the IT industry you can show you’re a professional with Isilion and the Isilion certification. With the Isilion certifications training and the Isilion practice exams, you cannot go wrong in any way. You will be able to pass your exams with flying colors.
Everything that you need will be made available to you including Isilion training tools, Isilion exams preparation and the Isilion study guide prepared by certified exams expert. With all of this and so much more, you will not fail in the task you have set for yourself.
After all of the effort that you have put forth, studying day in and day out, the Isilion exams will be a walk in the park by the time that you are done. There are professional instructors and teachers that are at your disposal to help you every step of the way.

Move On With Your Career
They want to make sure that you get your certifications with Isilion and move forward in the career and field of your choice. By getting your certifications, you are showing the IT world that you are ready to undertake one of the most challenging careers in today’s market place.
Employers will see you as someone that is taking their career seriously and will not let anything stand in their way of getting what they want. You will have the opportunity to shine above all others when you can show a potential employer that you are certified.

Use the Guidelines

By following the study guide for Isilion that is made available to you by you are getting all of the information that you could possible need to help you succeed. Although they cannot take the test for you, with all of the support that you will receive you will feel as though they are actually there helping you with every question that you have to answer for the Isilion exam or other exams preparation study guides , tutorial, practice tests, 200-045 practice exam.
So, what are you waiting for? There is no time like the present to jump on board with Isilion and start studying for your future. This is a choice and a decision that you will never regret working with Isilion. Secure your future and get your certifications with exams experts today and Isilion so you will never look back again.