View RSS Feed

JavaScript & Ajax

  1. Content Filter (JavaScript & CSS3 - filter by class)

    Let visitors select categories from your portfolio/ film collection/ club page, etc., and view them in a collapsed group, with this simple JS and CSS3 filter.

    Where you might use a filtering script
    - to filter your portfolio (web design, graphics, print, media production, etc.)
    - to filter you film collection by genre (horror, comedy, romance, western, etc.)
    - to filter youth clubs by age or gender
    - to filter study periods by subject (or free time) ...
  2. Accept Cookies / Cookie Consent Bar

    The EU cookie law went into effect in the UK in May 2012. UK's implementing guidance requires web sites to:
    • Inform site visitors when a site uses cookies
    • Explain what the non-essential cookies are and what they do
    • Obtain consent to store non-essential cookies on the visitor's device

    For more information, please see this nice "Everything You Need to Know About the Cookie Law in Five Minutes" article.

    Accept Cookies / Cookie Consent Bar Demo: http://fofwebdesign.co.uk/template/_...ie-consent.htm ...
  3. Add 'Swipe Support' to your website (RWD CSS3 Any Content Slider demo)

    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 ...
  4. RWD Cross-Fade Slideshow with Retina Images

    Want a simple, responsive cross-fading slideshow, with images that are lightweight AND retina-ready? You got it!

    Demo: http://fofwebdesign.co.uk/template/_...ideshow-js.htm

    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. ...
  5. Show "new" content until visited (link tracking)

    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 ...
Page 3 of 4 FirstFirst 1234 LastLast