Instructions
- Go to the People Search Page in your SharePoint Portal and modify the page (eg. /SearchCenter/Pages/people.aspx)
- Add a Content Editor Web Part right below the People Search Box Web Part
- Add the following javascript to the CEWP:
<script type="text/javascript">
var anchors = document.getElementsByTagName("a");
var anchor;
var j;
// Iterate through all anchors on the page and find the one with ID ending in _PSB_Show
for (j = 0; j < anchors.length; j++)
{
if (anchors[j].id.match(/\_PSB_Show$/) != null)
{
anchor = anchors[j];
break;
}
}
// If the anchor is found and the click is supported in the current browser
// Perform a click after 100 ms
if ((anchor != null) && (anchor.click != null))
{
setTimeout("anchor.click();", 100);
}
</script>
- Mark the Web Part as hidden and optionally give it a friendly name.
Screenshot
Download
A .dwp file containing the required javascript. You can import it directly into the People Search Page using Page > Add Web Parts > Import.
Link
Applies To
MOSS 2007 (for the People/Profile Search)