Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Last webmenu item clicked sytle
posted

Hi,

what is the best way to change the css style of the last item clicked in the menu? 

is it possible using the itemclick client side event?

 Cheers!!

Parents
No Data
Reply
  • 19308
    posted

    Sure.  You can get a reference to the actual element that the Item represents from the Client-Side Object model, and set the element.style.[any css property].  Just remember to keep a reference to the previous item so that you can 'clear' it when a new item is selected.

    -Tony

Children
No Data