COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: DaniEU on 13 Oct 2016 03:10:45 AM

Title: BLink a value
Post by: DaniEU on 13 Oct 2016 03:10:45 AM
Hi all,

I was requested to blink a value in a list.
This list have a few columns where one is urgency with values like "Hot", "Cold", "Warm" or "Urgent". In this cell each value have a different background color, but now they requested to blink when the value is "Urgent".
How can I achieve this?

TIA,

Daniel
Title: Re: BLink a value
Post by: AnalyticsWithJay on 13 Oct 2016 02:24:32 PM
There are a few approaches, but the simplest is to simply put a conditional display of a .gif animated image -- whether it be an image or a background. Find a "blinking" image online.
Title: Re: BLink a value
Post by: hespora on 14 Oct 2016 02:35:01 AM
where's good ol' Netscape's <blink> tag when you need it? :)

Seriously though, I second Jay's approach. "<blink>" is simply outdated and I doubt you'll find any browser that supports it and will also run cognos. css property "text-decoration:blink" is, I believe, only supported by firefox (and who knows how much longer), and the consensus is to use css3 animations, which is a pain. A gif right next to the value is a decent enough alternative.

(Though also, there's always the road of challenging the requirement. That's what I would do. ;))

Title: Re: BLink a value
Post by: AnalyticsWithJay on 14 Oct 2016 06:40:13 AM
Quote from: hespora on 14 Oct 2016 02:35:01 AM
where's good ol' Netscape's <blink> tag when you need it? :)

Oh jeez! :)