Previously selected link is highlighted even if are searching for something in the search box.
In the portal, left panel consists of some links , on click of this links corresponding sections will be displayed on the right panel. After clicking on a link , suppose A, corresponding sections related to it loaded. In the top panel , we are having a search text box and search button. If we are entering some keyword in the search box and click on Search button , the results will be displayed in the middle section . But in the left panel , previously selected link : A , is still displayed as highlighted. The actions set of the Search button contains actions :
resetting the common property value related to left panel links.
refresh _this section action , for refreshing the left panel sectin with links.
On Click of the search button, you may call a custom js function and using $("a:visited") as the jquery selector you can reset the color of the visited links on that page. For instance, lets say the link color was blue before clicking it and it turned to green once selected. So if you want the link to looks like active once search is performed using top panel, then on click of the search button, call a custom JS function and reset the color of visited anchor links with its previous value. In this example, set it to blue again.