Thursday, November 27, 2014

What’s New in Chrome 39

Despite being six years old, Chrome is rapidly approaching middle age in version numbers. Chrome 39 has been released and you probably have it installed. There are a few nice new features … plus one or two more suspect additions.


ECMAScript 6 Generators


Generators are special functions declared with function* which create iterators. An iterator is an object with a next() method which is called to return a value. The generator function uses a yield statement to provide the next value in the sequence. Arunoda Susiripala provides a basic example in JavaScript Generators and Preventing Callback Hell:

function* HelloGen() {
yield 100;
yield 400;
}

var gen = HelloGen();

console.log(gen.next()); // {value: 100, done: false}
console.log(gen.next()); // {value: 400, done: false}
console.log(gen.next()); // {value: undefined, done: true}


ECMAScript 6 Generators are supported in Chrome, Opera and Firefox 31+.

The Beacon API


The new Beacon API lets you send data to a server without having to wait for a response. Requests are queued and sent by the browser as soon as possible but -- importantly -- it doesn't delay unloading of the current page or loading of the next. navigator.sendBeacon() is passed a URL and data typically as a string or FormData value. Typically, it could be used when transmitting statistical information, e.g.

navigator.sendBeacon('/log', 'page-unloaded');

The method returns true if the browser successfully queues beacon request. I'm not sure what you could do if false was returned but beacons should not be used for essential functionality and messaging. The Beacon API is supported in Chrome, Opera and Firefox 31+.

Continue reading %What’s New in Chrome 39%




by Craig Buckler via SitePoint

Ominfosolutions Inc

Om Infosolutions Inc. is a professional technical consulting firm providing expert services in web and mobile design and development. Our expertise lies in web strategy, user experience design, technology strategy and implementation.




by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

Nuvola Verde

Nuvola Verde is a 100% Italian brand, an e-liquid producer that built its business focusing on quality and sustainability.




by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

SquisH

Online portfolio of webdesigner Renee Thomassen




by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

NOTHING BUT THIEVES


Official website for UK band Nothing But Thieves. Includes parallax scrolling and audio visualisation.

by via Awwwards - Sites of the day

How to Design Social Media Images for Brand Recognition

Are you posting images across social networks? Do you use them to extend your brand recognition? The way logos, fonts and colors work together in social media images is an important part of gaining brand attention. In this article you’ll discover how to make your social profiles and visual content align to reinforce your brand [...]


This post How to Design Social Media Images for Brand Recognition first appeared on Social Media Examiner.

Social Media Examiner - Your Guide to the Social Media Jungle




by Anna Guerrero via Social Media Examiner

HiSRC – jQuery Plugin for Adaptive Images in Responsive Design

HiSRC is a simple jQuery plugin for adaptive images in responsive web design.


A twist on the old school LOWSRC IMG attribute, which would render a lower file size image first while a larger file size image would appears in its place later.


However, if the HiSRC plugin detects fast network or high resolution, then a high resolution image takes the image's place.




by via jQuery-Plugins.net RSS Feed