Search results for 2013 05 06 5 things you should stop doing with jquery

Managing Bower Components with Grunt

by Simon Smith

…you could compose your own jQuery UI build: ‘PIM.Web/Content/app/js/vendor/jquery/jquery-ui.js’: [ ‘bowercomponents/jquery-ui/ui/jquery.ui.core.js’, ‘bowercomponents/jquery-ui/ui/jquery.ui.widget.js’, ‘bowercomponents/jquery-ui/ui/jquery.ui.mouse.js’, ‘bowercomponents/jquery-ui/ui/jquery.ui.sortable.js’ ] Or in the case of SuitCSS, each component is installed into a folder prefixed with…

Creating Custom Filters in jQuery

by Aurelio De Rosa

into play. In this article, based on my book Instant jQuery Selectors, you’ll learn how to build a custom filter in jQuery. Please note that the example in this article…

5 things you won’t believe are only built with CSS

mm by Trevan Hetzel

People float things with CSS, they clear things, they color things, they make things fancy. But there are a lot more hidden, or I should say “less common”, things that…

Recreating the iOS7 Banner with HTML and CSS

by Donovan Hutchinson

…right top, color-stop(0%, #67e1c9), color-stop(10%, #67e1c9), color-stop(40%, #60b6cf), color-stop(60%, #1f7acb), color-stop(80%, #212f7f)); } This gradient starts at the top-left and has 5 color-stop values along the way. The gradient looks…

Stop Focusing on Tools

by Brian Rinaldi

…fun experiment, but that’s all. The same goes for other things too, like new API’s or doing X without a plugin. Focus on the real benefit – is it a…

Real-World Best Practices for Building Angular.js Apps without Browserify or Require.js

by Jeff Dickey

…// $ is jQuery since we added that script tag var jq = jQuery.noConflict(); // $ is back to ‘myobject that jquery will conflict with’ // jq is now jQuery

How Kendo UI Uses Kendo UI To Build Angular Directives For Kendo UI

by Brian Rinaldi

…I knew that somebody somewhere had to be building integrations for jQuery UI. As it turns out, there was an Angular UI project that was doing just that. They were…

Best of JavaScript, HTML & CSS – Week of November 18, 2013

by Brian Rinaldi

new releases such as DPLOY, Ionic and DynoSRC. Tutorials Some tips for writing better and more performant jQuery and JavaScript code from Mathew Carella. Writing Better jQuery Code Get the…

Decoupling with Custom jQuery Events

by Simon Smith

stopPropagation calls, for example) and then firing a custom event and allowing another part of the application handle the ‘business’ side of things: var doc = $(document); $(‘.add-items’).on(‘click’, function(event) {…

Creating Sound with the Web Audio API and Oscillators

by Brian Rinaldi

…= 261.63; o.start(0); o.connect(ctx.destination); When you want the note to stop, you simply call the stop(0) method on the oscillator (in the above example, that would be o.stop(0)). You may…