Posts Tagged ‘return result

Sergey Chikuyonok gets his Philips Ambilight foo on as he created a HTML5 video + canvas sample that mimics the TV effect. As the video runs, a snapshot is sent over to JavaScript land where colors are worked out: PLAIN TEXT JAVASCRIPT:   function getMidColors(side) {         var w = buffer.width,   [...]

Fan of Eiffel or the design by contract pattern that it espouses? Øyvind Kinsey is, and he just created jsContract an alpha library to give you some pre and post condition abilities. Here is an example: PLAIN TEXT JAVASCRIPT:   function _internalMethod(a, b){     Contract.expectNumber(a);     Contract.expectNumber(b);     Contract.expectWhen(config.mode === “divide”, b> [...]

There are lots and lots of useless but fun javascript techniques out there. This is another one of them. One popular April Fools joke I quickly got tired of was websites transforming their text upside down. I found a jQuery Plugin by Paul Irish that accomplished this task so I decided to provide it in [...]


About this blog

This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.