I need to... web part
The I need to... web part, AKA Tasks and Tools web part can be used for more than just pointing at the Sites Directory. It can be useful as a standard jump menu, and configured with a different set of button images. There are some standards you have to follow in order to point this web part at another list or library and unfortunately if you put two instances of this web part on the same page it will break without some additional javascript.
The list that you point to must have a URL field thats the hyperlink field type. It also has to have at least one choice field for the filter. The filter value determines which items in the list or library will show up in the web part. If you export the webpart or look at a page with it in SharePoint designer you will see the references to images within the xsl property. You can can change these images to your own and then reimport the web-part to change the button.
If you want multiple instances on a page you will need to copy and rename a function from the portal.js. Portal.js is found in the \TEMPLATE\LAYOUTS folder. The function you are looking for is:
function TATWP_jumpMenu()
{
var el=document.getElementById("TasksAndToolsDDID");
if(el != null)
{
var href=el.options[el.selectedIndex].value;
if(href != "0")
{
STSNavigate(href);
}
}
}
By copying and renaming the function and ID and then changing the appropriate references within the web part you can have a second Tasks and Tools web part on the same page. Remember you will have to include the new javascript file at the top of your page. I recommend creating a new one instead of modifying the portal.js.