Service portal: change to hover over icon using CSS / redirect to home page

in this particular case, an a href was causing problems / blowing up the image (it is embedded in a custom side menu)


<img class="homeicon" ng-click="goToHome()" ng-src="{{::portal.logo}}" title="<a title>" role="presentation" alt="${Portal Logo}" />

client controller

function($scope, $location) { $scope.goToHome = function(){ $"id", "home"); } }


img.homeicon:hover { cursor: pointer; }


Popular posts from this blog

GlideRecord setValue

URL link in addInfoMessage