Let visitors 'feel' their way around the interactive areas of your website by adding support for native swipe gestures on touch devices. I'll be using my earlier RWD CSS3 Any Content Slider (JS auto-play) as a demo, but you can easily take away from this post to add touch gestures to your own apps... Need some other ideas?
Website features that may benefit from a left or right swipe;
- a content slider (progress back and forth between slides)
- an image gallery (progress
Updated 07-25-2015 at 02:14 PM by Beverleyh
I learnt a few things from this thread, as far as display: table-cell in css-tables is concerned. Beverleyh's info was highly useful. I experimented a little bit further with table-cells and put my findings in a small document made for personal use. Then I thought it might be useful to others too, so here it is.
Want a simple, responsive cross-fading slideshow, with images that are lightweight AND retina-ready? You got it!
Works in modern browsers and IE9+ (no fade effect in IE9). IE8 users just see a static image - but you can make IE8 act like IE9 with some CSS mods (see comments)
This post covers 2 topics that can be used separately OR combined. First up... the slideshow.
Updated 07-30-2015 at 10:59 AM by Beverleyh
(IE8 CSS comment added)
There are many scripts that present a method for setting the iframe's height to match its contents. But I looked in vain for a script that integrates the iframe in a completely seamless way into the containing document. So I tried to write a script for emulating seamless iframes myself.
My seamless iframes are competely indistinguishable from the surrounding text/content and inherit their css from the main document. All the code is put in the main document. No special code required in the
Ever wanted to flag newly added content to individual visitors, and then remove the flag once they've read it? Here's how to do it using local storage (like cookies) to save tracked, internal links on your website.
Demo: Tracked 'New' Links http://fofwebdesign.co.uk/template/_...g/new-content/
Where you might use this script
- to indicate new and unread blog entries
- to highlight important notices on your home page
- to track read chapters of
Updated 05-26-2015 at 01:10 PM by Beverleyh