JS
< Frameworks
< DEV
< tiberiucorbu
Get flash to fully experience Pearltrees
Taking advantage of the new capabilities of HTML5 and CSS3 can mean sacrificing control over the experience in older browsers. Modernizr 2 is your starting point for making the best websites and applications that work exactly right no matter what browser or device your visitors use. Thanks to the new Media Query tests and built-in YepNope.js micro-library as Modernizr.load() , you can now combine feature detection with media queries and conditional resource loading.
Congratulations! You just ran a snippet of jQuery code. Wasn't that easy? There's lots of example code throughout the documentation on this site.
The Closure tools help developers to build rich web applications with web development tools that are both powerful and efficient. The Closure tools include: A JavaScript optimizer The Closure Compiler compiles JavaScript into compact, high-performance code.
ScaleRaphaël wraps the Raphaël constructor. When you create your Raphaël instance with ScaleRaphaël you are restricted to using the container style instantiation like this: The main purpose of ScaleRaphaël is to scale the paper up to the size of the browser window. To do this you can use the changeSize() function.
// Creates canvas 320 × 200 at 10, 50 var paper = Raphael( 10 , 50 , 320 , 200 ); // Creates circle at x = 50, y = 40, with radius 10 var circle = paper.circle( 50 , 40 , 10 ); // Sets the fill attribute of the circle to red (#f00) circle.attr( "fill" , "#f00" ); // Sets the stroke attribute of the circle to white circle.attr( "stroke" , "#fff" );
Processing.js 1.3.6 released! Processing.js 1.3.6 is a maintenance release for 1.3.5. We've fixed a 3D mode regression, where any non-square sketch would be stretched. Head over to the blog post on this release to see the full list of what has been updated... right after you head over to the download section to grab your copy of Processing.js! About Processing.js Processing.js is the sister project of the popular Processing visual programming language, designed for the web.