Has anybody ever tried to add blinking text?
A search of the entire forum for the word "blinking" finds no matches, so I can guess this is a very undesirable feature, but a client is looking for just that: the ability to highlight items in the calendar which may have changed since original posting with blinking text.
I have experimented with the following script which works quite well with all browsers:
<SCRIPT>
// Before you reuse this script you may want to have your head examined
//
// Copyright 1999 InsideDHTML.com, LLC.
function doBlink() {
// Blink, Blink, Blink...
var blink = document.all.tags("BLINK")
for (var i=0; i < blink.length; i++)
blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : ""
}
function startBlink() {
// Make sure it is IE4
if (document.all)
setInterval("doBlink()",1000)
}
window.onload = startBlink;
</SCRIPT>
This script uses the standard "<blink></blink>" tags, and is fine for HTML and ASP pages, but I'm very green on PHP and have been unable to find the right place to insert it for function in the calendar, if it is even possible.
Any thoughts, or should I just tell the client forget it?
|