2 Replies Latest reply on Feb 1, 2008 3:39 PM by Alan Feng

    How to highlight an element on page load?

    Alan Feng Novice

      Searched and read the doc but didn't find the answer.

      What I need is I have an element that displays a message to the user. I don't know which event to attach to in order to highlight this element after the page displays for, say, 5 seconds.

      I tried:

      <r:effect for="window" event="onload" type="Highlight" params="targetId:globalMessage,delay:3,duration:3" />

      And it gives error that the globalMessage does not exists, while the element is there.

      Any idea? I thought this would be a common request.