サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
TGS2024
johnpolacek.github.io
Expressive CSS Readable Atomic CSS Expressive CSS follows the atomic approach to writing lightweight, scalable CSS with utility classes that are easy to write and understand. View Starter Kit View Example View on GitHub Follow @johnpolacek Created by John Polacek, web developer from Chicago. Follow on Twitter or Github. What does expressive mean when it comes to CSS? Expressive is a term loosely b
Simple Example Given this html: <div class="container"><img src="myawesomeimage" /></div> Do this: $('.container').imagefill(); // image stretches to fill container Grid Example Given a grid like this: <div class="grid-whole"> <div class="grid-quarter"> <img src="myawesomeimage.jpg"> </div> <div class="grid-quarter"> <img src="myawesomeimage.jpg"> </div> <div class="grid-quarter"> <img src="myawes
The purpose of stacktable.js is to give you an easy way of converting wide tables to a format that will work better on small screens. It creates a copy of the table that is converted into a 2-column key/value format. 2021 Update 9 years later, I recommend using all or mostly pure CSS for this kind of thing. See this for example. Download Source files on github or download the zip. How to Use Call
Basic Usage Easily generate links from elements on your page. For example, generate links to all the articles on a page by linking to the article’s h1’s, and put them in a nav element on the page with an id of article-nav. (By default, the links will use the same text as the h1). $.MagicNav($('#article-nav'),$('article h1')); The first argument to $.MagicNav is a selector for the element to which
The jQuery plugin for supercool scroll animation powered by Greensock created by John Polacek with help from Jan Paepke Follow @johnpolacek NOTE: SuperScrollorama is no longer under active development. ScrollMagic is the new hotness! Get ScrollMagic ★ DOWNLOAD ★ zip tar
(Almost) Static Background This section has a background that moves slightly slower than the user scrolls. This is achieved by changing the top position of the background for every pixel the page is scrolled. Multiple Backgrounds The multiple backgrounds applied to this section are moved in a similar way to the first section -- every time the user scrolls down the page by a pixel, the positions of
a scrolldeck.js presentation by Chicago Web Developer John Polacek. I work at Gesture. We make mobile bidding, auction software and other fundraising products and services for nonprofits.
scrolldeck created by Chicago Web Developer John Polacek. I work at at AuctionsByCellular. We make mobile bidding and auction software for charities. Follow @johnpolacek A jQuery plugin for making scrolling presentation decks For example: animations, fullscreen images or parallaxing Powered by Scrollorama Download: zip tar How to Use Build a web page with each slide as a div. Pro-Tip: Use rem’s to
How To Use Disclaimer: This is an experimental, just-for-fun sort of project and hasn’t been thoroughly tested. Design and build your site, dividing your content into blocks. ★ ★ ★ Embed scrollorama.js after jQuery and initialize the plugin, passing the blocks class selector as a parameter. $(document).ready(function() { var scrollorama = $.scrollorama({ blocks:'.scrollblock' }); }); ★ ★ ★ Target
jQuery Plugin for creating image galleries that scale to fit their container. How to Use Link to the script after jQuery. Apply it to a DOM element on the document ready event. $(document).ready(function() { var gallery = new $.ThumbnailGallery($('#gallery')); }); You can configure the settings as follows (example has the default config values assigned) $(document).ready(function() { var gallery =
このページを最初にブックマークしてみませんか?
『John Polacek』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く