2 Replies Latest reply: Jul 31, 2014 2:21 AM by Kelvin Yuan RSS

    How to change banner's character color when mouse on click?

    Kelvin Yuan

      Forum, I saw a Qlikview demo on below link.

       

      QlikView

       

      does anybody know how to change the banner's character color when mouse on click?

       

      Thanks.

       

      Untitled.jpg

        • Re: How to change banner's character color when mouse on click?
          Philippe Grenier

          Hello Kelvin,

           

          There might be two approaches for this. The first, which I think is the case here, is where the same banner is repeated on each sheet, but with the font color made different on the related label in order to represent where the user is currently navigating.

           

          The other approach would be to set a variable, such as vOptionNb to a distinct value upon clicking a label. For example, when clicking on "Introduction", a trigger would set vOptionNb to 1, when clicking on "Input Your Metrics", it would be set to 2, etc. Then, for each label, you would define the Font color as an expression such as If($(vOptionNb)=1, Yellow(), White()), and so on.

           

          Hope this helps, regards,

           

          Philippe