Archive for November, 2011

How to create a google+ page

Google has finally launched Google Plus pages for brands and publishers as promised. When Google+ first launched, it had asked brands and publishers not to create pages for their own sites, promising that there would be an official solution coming shortly.
It’s the google+ version of facebook fan page with more features.

Google+ pages are not available to everyone as of initial launch. If you’re profile is selected, you can create google+ pages here.
https://plus.google.com/pages/create

Checkout this link if you are lucky & fill in the details to get your page.
https://plus.google.com/pages/create.

I have added a google+ page for pepsi below:
Pepsi

Google+ page for iKreations

Firefox 8 Available for Download, Official launch on nov 8th

Firefox 8 comes in only one and half months after Firefox 7 being inline with Mozilla’s new rapid release strategy, under which we can expect a new roll out of Firefox every 6 weeks.

Firefox 8 is scheduled to be released on Tuesday, November 8th. If you upgrading sooner via FTP server, please be sure to read updates on Firefox 8 compatibility here.

The biggest new feature is that Firefox itself now handles third party add-on installations to avoid security problems. Load tabs on demand at start up. Also included in the support to search Twitter messages in the browser’s address bar.

Windows, Mac and Linux flavors are available.

Download here

ftp://ftp.mozilla.org/pub/firefox/releases/8.0/

Find the updates/changes in the firefox 8 here

How to implement “do a barrel roll” using css3 like google

Again, Google entertained it’s users with a “dο a barrel roll” gimmick which spins the entire search page for this search query. It was a trending topic in twitter.
It was done using the css3 transitions & transforms, while showcasing the power of CSS3, a presentation feature of modern browsers.

I tried to figure out the implementation part of it by googling out which didn’t return me the actual implementation(which works).So I did a small reverse engineering to figure that out.

This purely works on the CSS3 transitions property whose specifications are still in the draft form. So all properties associated with them should be prefixed with “-moz-” for use in Gecko (Mozilla Firefox browser). For compatibility with WebKit, you should also use the “-webkit-” prefix, and for Opera compatibility, use the “-o-” prefix.
You would specify the transition property as -moz-transition, -webkit-transition, and -o-transition.

Add this styles for body tag which performs the spin (alternately you can use the class as well) compatible with latest of the browsers.

body{
-moz-animation-name: roll;
-moz-animation-duration: 4s; //spin 360 deg in 4 sec
-moz-animation-iteration-count: 1; //spin only once
-o-animation-name: roll;
-o-animation-duration: 4s;
-o-animation-iteration-count: 1;
-webkit-animation-name: roll;
-webkit-animation-duration: 4s;
-webkit-animation-iteration-count: 1;
}

The CSS function rule “roll” is defined to rotate 360 deg.
@-moz-keyframes roll { 100% { -moz-transform: rotate(360deg); } }

The basic version of code which can be used/tested.

<html>
<head>
<style>

@-moz-keyframes roll { 100% { -moz-transform: rotate(360deg); } }
@-o-keyframes roll { 100% { -o-transform: rotate(360deg); } }
@-webkit-keyframes roll { 100% { -webkit-transform: rotate(360deg); } }

body{
-moz-animation-name: roll;
-moz-animation-duration: 4s;
-moz-animation-iteration-count: 1;
-o-animation-name: roll;
-o-animation-duration: 4s;
-o-animation-iteration-count: 1;
-webkit-animation-name: roll;
-webkit-animation-duration: 4s;
-webkit-animation-iteration-count: 1;
}

</style>

</head>
<body >

<p>Go ahead & do a barrel roll on your site</p>
<p>Go ahead & do a barrel roll on your site</p>
<p>Share it, if you like it</p>
<p>Share it, if you like it</p>
<p>Thank you </p>
<p>Thank you </p>

</body>
</html>

Since this feature is still in development in some browsers, this may not work in older browsers.
The same effect can be achieved by entering “Z or R twice” into the search bar.

If you wanna know how i did to this site(If you have not seen it while page the loaded, just refresh the page):

Added a below javascript to add a css class “barrel-roll” to the body with the above properties after 3 secs to allow page load.

if(location.href.match(‘do-a-barrel-roll’)){ //check if URL has barrel roll text
setTimeout(“document.getElementsByTagName(‘body’)[0].className=’barrel-roll’;”,3000);
}