<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>notification on Curtis Timson</title><link>https://hugo.curtiscode.dev/tags/notification/</link><description>Recent content in notification on Curtis Timson</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><lastBuildDate>Wed, 04 Jun 2014 00:00:00 +0000</lastBuildDate><atom:link href="https://hugo.curtiscode.dev/tags/notification/index.xml" rel="self" type="application/rss+xml"/><item><title>Create a flashing tab notification page title</title><link>https://hugo.curtiscode.dev/post/js/create-a-flashing-tab-notification-page-title/</link><pubDate>Wed, 04 Jun 2014 00:00:00 +0000</pubDate><guid>https://hugo.curtiscode.dev/post/js/create-a-flashing-tab-notification-page-title/</guid><description>Page title notifications switch between the default page title and a notification message continously in order to grab the user&amp;rsquo;s attention. This is commonly used with chat applications.
I&amp;rsquo;ve written a small javascript object which can be used to switch on and off page title notifications.
To activate the page title notification call the following:
pageTitleNotification.on(&amp;#34;New Message!&amp;#34;); Then call the following to turn it off:
pageTitleNotification.off() The default speed is 1000 milliseconds, but this can be customised by passing a 2nd parameter to the on() function.</description></item></channel></rss>