Sheppuppytrng
New Member
I have a menu on my page, and when I hover the mouse over one of the titles, I am displaying an image, which is like a favorite image in chrome/explorer, and my idea is once they click on it, I will do some functionality. So basically I want the menu title and the hover image to act differently once they are clicked.At the moment I have the following JQuery, to get the hover effect on the menu title:-\[code\] function OnClientItemExpand(panelbar, args) { var panel = $find("<%= RadPanelBar1.ClientID %>"); var item = args.get_item(); panelItem = panel.findItemByText(item.get_text()); var items = panelItem.get_items(); for (var i = 0; i < items.get_count() ; i++) { items.getItem(i).set_hoveredImageUrl("Images/favorites_small_bw.png"); items.getItem(i).set_imageUrl("Images/transparent.png"); items.getItem(i).set_selectedImageUrl("Images/favorites_small.png"); } }\[/code\]Which is working fine. How can I get the desired effect? I could add an onclick event to the panel but I want 2 different actions when the Menu Item or the favorite is clicked.Thanks for your help and time