changed the resource link to new page when clicked