Sweep-in News Scroller with Controls (no jQuery)

This demo has been replaced with a version that has CSS animation support for the stock Android browser.

A light-weight news scroller where each new message sweeps in, while the previous message sweeps away and fades out. Interactive controls are powered with plain JavaScript (no dependancies).

Works in modern browsers and IE8+ (no sweep or fade in IE8/9).

Please view the source of this page for HTML markup, CSS and JS.

Sweep Up

  • Open External Links in New Window

    (1/10) 19th May 17 - Use this JS function when you can't edit your menu to put target="_blank" on external links. You can optionally open sub-domains in a new window too.
  • Fast Edit BE mobile layout upgrade

    (2/10) 08th May 17 - The demo website template in the download pack for Fast Edit BE has been updated with a simple responsive layout. This is just a front-end update.
  • Fast Edit mobile menu upgrade

    (3/10) 05th May 17 - The demo website template in the download packs for Fast Edit v1 and Fast Edit Mini/ Micro has been updated with a responsive menu and layout.
  • Blog: Highlight Current Menu Button

    (4/10) 21st Apr 17 - Read my latest entry in the blog; Here's how to highlight the menu button for the currently viewed web page, with a small amount of JS.
  • Full Height Split Scrolling Panels

    (5/10) 05th Apr 17 - This CSS-only demo uses viewport units for full height panels on any screen. Additionally, the left sides are fixed size, while the right sides scroll.
  • Blog: Form spambot observation

    (6/10) 27th Mar 17 - Read my latest entry in the blog; On pages with multiple forms, only the first form gets spammed. Can we use this as a simple anti-spam precaution?
  • Fast Edit WYSIWYG editor upgrade

    (7/10) 16th Mar 17 - All versions of Fast Edit have been upgraded with the latest version of TinyMCE 3.x (v3.5.12). Fast Edit v1 also has fixes for a few stray errors.
  • 'SiteShow' history improvements

    (8/10) 07th Mar 17 - I've made some small JS changes so that the slides for the fullscreen 'Siteshow' now update without affecting or adding to the browser history.
  • Fast Cal 'new entry' security fix

    (9/10) 22nd Feb 17 - A security fix has been added to Fast Cal to stop entries from being created or deleted inside the WYSIWYG edit window via manual query strings.
  • Fast Edit v1 'no delete' security fix

    (10/10) 09th Feb 17 - A fix has been applied to Fast Edit v1 to prevent the home page from being deleted or hidden via manual query strings in the WYSIWYG edit window.

Sweep Left

  • Open External Links in New Window

    (1/10) 19th May 17 - Use this JS function when you can't edit your menu to put target="_blank" on external links. You can optionally open sub-domains in a new window too.
  • Fast Edit BE mobile layout upgrade

    (2/10) 08th May 17 - The demo website template in the download pack for Fast Edit BE has been updated with a simple responsive layout. This is just a front-end update.
  • Fast Edit mobile menu upgrade

    (3/10) 05th May 17 - The demo website template in the download packs for Fast Edit v1 and Fast Edit Mini/ Micro has been updated with a responsive menu and layout.
  • Blog: Highlight Current Menu Button

    (4/10) 21st Apr 17 - Read my latest entry in the blog; Here's how to highlight the menu button for the currently viewed web page, with a small amount of JS.
  • Full Height Split Scrolling Panels

    (5/10) 05th Apr 17 - This CSS-only demo uses viewport units for full height panels on any screen. Additionally, the left sides are fixed size, while the right sides scroll.
  • Blog: Form spambot observation

    (6/10) 27th Mar 17 - Read my latest entry in the blog; On pages with multiple forms, only the first form gets spammed. Can we use this as a simple anti-spam precaution?
  • Fast Edit WYSIWYG editor upgrade

    (7/10) 16th Mar 17 - All versions of Fast Edit have been upgraded with the latest version of TinyMCE 3.x (v3.5.12). Fast Edit v1 also has fixes for a few stray errors.
  • 'SiteShow' history improvements

    (8/10) 07th Mar 17 - I've made some small JS changes so that the slides for the fullscreen 'Siteshow' now update without affecting or adding to the browser history.
  • Fast Cal 'new entry' security fix

    (9/10) 22nd Feb 17 - A security fix has been added to Fast Cal to stop entries from being created or deleted inside the WYSIWYG edit window via manual query strings.
  • Fast Edit v1 'no delete' security fix

    (10/10) 09th Feb 17 - A fix has been applied to Fast Edit v1 to prevent the home page from being deleted or hidden via manual query strings in the WYSIWYG edit window.

Sweep Down

  • Open External Links in New Window

    (1/10) 19th May 17 - Use this JS function when you can't edit your menu to put target="_blank" on external links. You can optionally open sub-domains in a new window too.
  • Fast Edit BE mobile layout upgrade

    (2/10) 08th May 17 - The demo website template in the download pack for Fast Edit BE has been updated with a simple responsive layout. This is just a front-end update.
  • Fast Edit mobile menu upgrade

    (3/10) 05th May 17 - The demo website template in the download packs for Fast Edit v1 and Fast Edit Mini/ Micro has been updated with a responsive menu and layout.
  • Blog: Highlight Current Menu Button

    (4/10) 21st Apr 17 - Read my latest entry in the blog; Here's how to highlight the menu button for the currently viewed web page, with a small amount of JS.
  • Full Height Split Scrolling Panels

    (5/10) 05th Apr 17 - This CSS-only demo uses viewport units for full height panels on any screen. Additionally, the left sides are fixed size, while the right sides scroll.
  • Blog: Form spambot observation

    (6/10) 27th Mar 17 - Read my latest entry in the blog; On pages with multiple forms, only the first form gets spammed. Can we use this as a simple anti-spam precaution?
  • Fast Edit WYSIWYG editor upgrade

    (7/10) 16th Mar 17 - All versions of Fast Edit have been upgraded with the latest version of TinyMCE 3.x (v3.5.12). Fast Edit v1 also has fixes for a few stray errors.
  • 'SiteShow' history improvements

    (8/10) 07th Mar 17 - I've made some small JS changes so that the slides for the fullscreen 'Siteshow' now update without affecting or adding to the browser history.
  • Fast Cal 'new entry' security fix

    (9/10) 22nd Feb 17 - A security fix has been added to Fast Cal to stop entries from being created or deleted inside the WYSIWYG edit window via manual query strings.
  • Fast Edit v1 'no delete' security fix

    (10/10) 09th Feb 17 - A fix has been applied to Fast Edit v1 to prevent the home page from being deleted or hidden via manual query strings in the WYSIWYG edit window.

Fade In

  • Open External Links in New Window

    (1/10) 19th May 17 - Use this JS function when you can't edit your menu to put target="_blank" on external links. You can optionally open sub-domains in a new window too.
  • Fast Edit BE mobile layout upgrade

    (2/10) 08th May 17 - The demo website template in the download pack for Fast Edit BE has been updated with a simple responsive layout. This is just a front-end update.
  • Fast Edit mobile menu upgrade

    (3/10) 05th May 17 - The demo website template in the download packs for Fast Edit v1 and Fast Edit Mini/ Micro has been updated with a responsive menu and layout.
  • Blog: Highlight Current Menu Button

    (4/10) 21st Apr 17 - Read my latest entry in the blog; Here's how to highlight the menu button for the currently viewed web page, with a small amount of JS.
  • Full Height Split Scrolling Panels

    (5/10) 05th Apr 17 - This CSS-only demo uses viewport units for full height panels on any screen. Additionally, the left sides are fixed size, while the right sides scroll.
  • Blog: Form spambot observation

    (6/10) 27th Mar 17 - Read my latest entry in the blog; On pages with multiple forms, only the first form gets spammed. Can we use this as a simple anti-spam precaution?
  • Fast Edit WYSIWYG editor upgrade

    (7/10) 16th Mar 17 - All versions of Fast Edit have been upgraded with the latest version of TinyMCE 3.x (v3.5.12). Fast Edit v1 also has fixes for a few stray errors.
  • 'SiteShow' history improvements

    (8/10) 07th Mar 17 - I've made some small JS changes so that the slides for the fullscreen 'Siteshow' now update without affecting or adding to the browser history.
  • Fast Cal 'new entry' security fix

    (9/10) 22nd Feb 17 - A security fix has been added to Fast Cal to stop entries from being created or deleted inside the WYSIWYG edit window via manual query strings.
  • Fast Edit v1 'no delete' security fix

    (10/10) 09th Feb 17 - A fix has been applied to Fast Edit v1 to prevent the home page from being deleted or hidden via manual query strings in the WYSIWYG edit window.

Related

More demos and snippets

Did you find this useful? There are more demos and code snippets this way.