John Cox

Blogs · @wyome

Tagged jquery · everything

jQuery Before/After Plugin | Catch My Fame

IVR (Interactive Voice Response) systems use pre-recorded voice prompts and keypad inputs to handle high volumes of incoming calls, and have been adapted for dating and social connection services like Friend-O-Phone and ChatlineDating. The piece also discusses common IVR design failures—such as overly complex menu trees, counterintuitive routing options, and lack of callback features—that frustrate callers and diminish service quality.

Permalink

Hide your header on scroll - Headroom.js

Headroom.js is a lightweight JavaScript library that hides a website's header when users scroll down and reveals it again when scrolling up, solving the problem of fixed headers consuming valuable screen space on both large and small screens. The library works by adding and removing CSS classes in response to scroll events, giving developers complete flexibility to style the behavior with custom CSS transitions and effects. It offers multiple integration options including vanilla JavaScript, jQuery, and AngularJS, with configurable offsets, scroll tolerance, and callback functions to customize when and how the header responds to scrolling.

Permalink

10 jQuery snippets every designer should know | Webdesigner Depot

This piece compiles ten frequently-used jQuery code snippets for common web development tasks, ranging from simple animations like "back to top" buttons and fade/slide toggles to practical utilities like disabling form inputs, handling broken images, and creating accordions. Rather than explaining jQuery concepts from scratch, it presents ready-to-use solutions that developers at any skill level can copy and adapt, such as toggling CSS classes on hover, preventing default link behavior, and matching the heights of multiple elements on a page.

Permalink

The right way of caching AJAX requests with jQuery

jQuery's `.promise()` and `.done()` methods provide a cleaner alternative to callback-based AJAX handling by allowing you to cache requests and their results elegantly. Rather than manually tracking request states with null values, you can store the promise object itself in a cache and attach callbacks to it, which fire immediately if already resolved or when resolution occurs. The article also demonstrates how `$.when()` combines multiple promises to elegantly handle dependent AJAX calls without callback nesting.

Permalink

Vegas Background jQuery Plugin

Vegas 3 is a lightweight JavaScript library for creating full-screen background slideshows on websites, built with vanilla JavaScript rather than jQuery dependencies. The project includes demo implementations, documentation, and code examples available through GitHub, with optional paid support services for implementation questions.

Permalink

jQuery Spellchecker demos

The jQuery spellchecker is a lightweight plugin that integrates spell-checking functionality into web forms and DOM elements, offering multiple backend drivers (PSpell, Google) and support for various rich text editors like TinyMCE, CKEditor, and Redactor. The plugin can check spelling in plain textareas, HTML content, or multiple fields simultaneously, making it flexible for different use cases. It includes several demo implementations showing how to set up spell-checking across different editor types and languages.

Permalink

50 Must-have plugins for extending Twitter Bootstrap | Tutorialzine

This curated collection showcases 50 plugins and extensions that enhance Twitter Bootstrap's functionality across key development areas including form handling, galleries, tables, date/time selection, color picking, and AJAX interactions. The guide covers tools like Fuel UX and Jasny for component libraries, Bootbox.js for simplified dialogs, Bootstrap Select and Multiselect for custom form controls, and specialized plugins like X-editable for inline content editing and Typeahead for autocomplete functionality. Each plugin is presented with brief descriptions of its purpose and links to documentation, making it a practical reference for developers looking to extend Bootstrap's capabilities beyond its default responsive design framework and basic components.

Permalink

Font-To-Width

Font‑To‑Width is a script that fits text into containers by selecting appropriate width and weight variants from large type families rather than scaling font size, with fine-tuning through letter and word spacing adjustments. The tool differs from similar solutions like FitText.js by prioritizing typographic variations over size changes, making it useful for display typography and responsive design. The authors demonstrate the concept using the six-width Panorama font family applied to a shuffleboard scoreboard layout.

Permalink

Is jQuery Too Big For Mobile? | Flippin' Awesome

This guide ranks Canadian online casinos primarily on the structure and achievability of their welcome bonuses, comparing offers from operators like Cashed, SlotsGem, and WinnerIsland across wagering requirements, game eligibility, and payout caps rather than headline bonus figures alone. It explains how no deposit bonuses actually work in practice—covering wagering multiples, bet limits, withdrawal caps, and time windows—with worked examples showing why a large bonus isn't necessarily worth more than a modest one. The piece also covers payment methods available to Canadian players, provincial licensing differences, and responsible-gambling setup recommendations.

Permalink

Your jQuery: Now With 67% Less Suck ◆ 24 ways

jQuery's ease of use can lead to poorly optimized code that degrades performance, particularly in older browsers like Internet Explorer. The piece identifies three major sources of inefficiency—slow selectors, excessive event listeners, and repeated DOM manipulation—and provides practical solutions: using faster selector methods (IDs and tag names over classes or pseudo-selectors) and caching them, delegating events to parent elements rather than binding listeners to individual children, and building DOM content in memory before inserting it into the page in a single operation. Small optimizations in these areas compound to create noticeably faster user experiences.

Permalink

jQuery Sheetrock

Sheetrock is a JavaScript library that allows developers to use Google Sheets as a database, querying and displaying data in web or Node.js applications without requiring any dependencies. It supports SQL-like queries for filtering, sorting, and grouping, as well as lazy-loading of large datasets and integration with templating engines like Handlebars. The library requires only a public Google Sheet URL with a single header row and plain text formatting to function.

Permalink

scrollReveal.js

I don't see any article content to summarize. The text you've provided appears to be HTML markup for a loading screen or verification page, not the actual article content. Could you please share the article text, title, or a link to the piece you'd like me to summarize?

Permalink

Chosen: A jQuery Plugin by Harvest to Tame Unwieldy Select Boxes

Chosen is a jQuery plugin that transforms standard HTML select boxes into more user-friendly dropdown interfaces with search functionality, custom styling, and accessibility features. It supports both single and multiple selections, option groups, right-to-left text, dynamic updates, and various customization options like custom widths, placeholder text, and limits on selected items. The plugin works across modern browsers and can be activated with a single line of code on any select element.

Permalink

christianv/jquery-lifestream · GitHub

jQuery Lifestream is a plugin that aggregates your activity from over 40 social media and content platforms—including Twitter, GitHub, Flickr, Last.fm, and many others—into a single chronological feed on your website. The plugin is configurable via JSON, supports custom templates for how each activity appears, and allows developers to contribute new feed sources through pull requests to the project repository.

Permalink

You Might Not Need jQuery

I can see this is a code reference document comparing jQuery methods to their modern vanilla JavaScript equivalents, but I cannot write a summary because this appears to be raw code/technical reference material rather than a saved article or written piece that argues or reports something. If you have an article, blog post, or news piece you'd like summarized, please share that instead.

Permalink

HTML5 Input Types Alternative

HTML5's new input types suffer from inconsistent browser implementation, making them unreliable for production use. The author created W2UI Fields, a lightweight jQuery-based library (18KB JS, 6KB CSS) that provides enhanced form controls including numeric inputs with keyboard shortcuts, date/time pickers with range and blocking options, dropdown lists and multi-select controls with filtering, and a file uploader that encodes files to base64 for AJAX submission. The library maintains consistent behavior across browsers and offers extensive configuration options for customizing validation, formatting, and styling of form inputs.

Permalink

Line Menu Icon... That Is A Menu | CSS-Tricks

This post presents a clever UI technique where the hamburger menu icon itself is actually the full menu scaled down to icon size, then expanded when clicked. The implementation uses CSS transforms to shrink the entire menu to 0.1 scale by default, then toggles back to full size with a class change, while managing click interactions through pointer-events and adding a close button. The author also discusses progressive enhancement considerations—inserting the close button with JavaScript, using Modernizr to detect CSS transform support, and ensuring the menu remains accessible if styling fails.

Permalink