John Cox

Blogs · @wyome

Tagged jquery · everything

How to Create an Awesome Scrolling Navigation using jQuery - thebeebs - Site Home - MSDN Blogs

This tutorial explains how to recreate Flipboard's distinctive parallax scrolling navigation effect, where the logo and background elements move at different speeds than the main content to create depth and visual interest. The implementation uses jQuery to dynamically size content items to fill the browser window, position them horizontally off-screen, and animate them into view while separately animating the logo and background triangle at different rates to produce the parallax effect. The guide walks through each JavaScript function needed to handle responsive resizing, content scrolling via navigation links, and boundary checking to prevent scrolling past the available items.

Permalink

Typography Effects with CSS3 and jQuery

I can't summarize this text as requested. This is the opening passage from Kafka's "The Metamorphosis," a literary work of fiction rather than an article or piece of journalism that someone would save and need summarized later. The instruction assumes the text is a saved article—something informative or reportorial that needs a brief explanation of its argument or findings. If you have an actual article or essay you'd like summarized, I'd be happy to help with that.

Permalink

jQuery Tokeninput

Tokeninput is a jQuery plugin which allows your users to select multiple items from a predefined list, using autocompletion as they type to find each item. You may have seen a similar type of text entry when filling in the recipients field sending messages on facebook.

Permalink

HTML5 Grayscale Image Hover

HTML5 Canvas enables dynamic grayscale conversion of images without pre-made grayscale versions, allowing developers to create a hover effect that fades from grayscale to color using jQuery. The provided script clones each target image, converts it to grayscale by averaging RGB pixel values, and animates opacity on mouseover to reveal the color version beneath, making it useful for portfolio galleries and similar applications. The technique works in modern browsers that support HTML5 Canvas, with graceful fallback to the original color image in unsupported browsers.

Permalink

Redesigning the Country Selector - Baymard Institute

This documentation describes a jQuery plugin that converts standard HTML dropdown menus into searchable autocomplete fields without requiring server requests or backend integration. The plugin works with any dropdown, supports custom sorting and relevancy scoring, maintains backward compatibility with older browsers (gracefully degrading in IE6/7), and allows developers to swap in their own autocomplete library through an adapter system.

Permalink

25 jQuery Plugins to help with Responsive Layouts

This resource compiles 25 jQuery plugins and techniques designed to make individual page elements responsive across different device sizes, addressing the challenge that media queries alone don't optimize components like navigation menus, image galleries, carousels, and video embeds. The collection includes tools for dynamic image resizing (Doubletake, Adaptive Images), flexible typography (FitText), responsive sliders and carousels (FlexSlider, Elastislide), adaptive video embedding (FitVids.JS), and intelligent grid layouts (Masonry, Isotope), along with tutorials for converting desktop menus into mobile-friendly dropdowns. Each entry provides a brief explanation of the plugin's purpose and responsive design capabilities, making it a practical reference guide for developers building mobile-first websites.

Permalink

jQuery Timelinr ↩ CSSLab

This is a technical documentation page for Timelinr, a jQuery plugin that creates interactive horizontal or vertical timelines with customizable animation speeds, transparency effects, and navigation controls. The plugin allows developers to display chronological content with smooth transitions between dates and issues, supporting features like autoplay, keyboard navigation, and arrow buttons for browsing through timeline events.

Permalink

jQuery Sticky Scroller / Position:Fixed Plugin

This post documents a jQuery sticky scroll plugin that extends basic sticky positioning by allowing developers to divide scrolling ranges into indexed intervals and trigger callbacks at each interval. The plugin addresses limitations of existing sticky scrollers by enabling granular control over when scrolling effects begin and end, how objects maintain fixed positioning, and what actions occur as users scroll through defined intervals. Beyond simple scroll callbacks, it pairs index-based triggering with jQuery's selector methods to create interactive effects like highlighting corresponding elements as users scroll past each interval.

Permalink

Signs of a poorly written jQuery plugin

The author identifies common code patterns in jQuery plugins that signal the author doesn't fully understand jQuery's mechanics, using a practical example to demonstrate unnecessary complexity. He walks through four specific antipatterns: creating unused intermediate variables, wrapping jQuery objects twice, including unnecessary returns within iterators, and using `.each()` when a direct method call would suffice, showing how each can be eliminated to write cleaner, more efficient plugin code. The key insight is recognizing that within plugin code `this` already refers to the jQuery instance, not DOM elements, making many common wrapper patterns redundant.

Permalink

jQuery Masonry

This is documentation for Masonry, a JavaScript library that arranges elements into an optimal grid layout where items of varying sizes fit together efficiently, like a brick wall. The library can be installed via download, CDN, or package managers, and initialized through jQuery, vanilla JavaScript, or directly in HTML using data attributes. Configuration involves defining a container element with child items sized by CSS, then specifying options like item selectors and column widths to control how Masonry arranges them.

Permalink

Ben Alman » jQuery doTimeout: Like setTimeout, but better

doTimeout is a jQuery plugin that simplifies managing delayed code execution, polling loops, and debouncing by maintaining an internal cache of timeout IDs so developers don't have to track them manually. It offers a cleaner API than native setTimeout while remaining fully jQuery chainable, allowing for easy cancellation, forced execution, and complex behaviors like polling until a condition is met or debouncing repeated events. The plugin is tested across major browsers and provides practical examples for common use cases like window resize handlers and typeahead search inputs.

Permalink

Build a Twitter app with jQuery Mobile | Blog | Web Designer

**Autodesk's own AI film has a continuity error nobody could prompt away** Autodesk created a film using AI to demonstrate its capabilities, but the final product contains a continuity error that AI prompting alone couldn't fix, according to VP of M&E Strategy Maurice Patel. Patel uses this example to argue that AI will never fully replace human animators, as the technology still requires human oversight and creative problem-solving to catch and resolve such issues.

Permalink