Update: SharePoint 2010 users can use these same techniques to display a page in a SharePoint dialog box. See here: http://techtrainingnotes.blogspot.com/2010/12/sharepoint-opening-2010-dialog-box-from.html
Pretty scary! After five years of working with SharePoint 2007 I’m still finding new tricks! (Yes, 12,000 people probably have already found this… but I just did!)
Did you know….
<A HREF=”http://www.maxtrain.com”> Click here </A>
Before you go on… this works in SharePoint 2007 and SharePoint 2010, in both Quick Launch and Top Link Bar, but only in non-publishing based sites. (see the end of this article)
Now test it:
Now what can you do with this?
My head overflows with ideas! Here’s three to start with:
- Prompt a user before going to a page or site (“Are you sure you …”)
- Open a link from Quick Launch or the Tabs in a new window
- Change page languages (in SP 2010) see here
Prompt user before going to a link:
Here’s the normal link found in Quick Launch for the Calendar:
Here’s a link that will prompt to see if you really want to go to the calendar: (all one line!)
Here’s a more practical link that will prompt to see if you really want to go to an external site: (all one line!)
company and may not be safe!') )
Open a link from Quick Launch or the Tabs in a new window
This example is in SharePoint 2010:
Where does it not work? Publishing sites!
While this trick works from Team Sites and other non-publishing sites, it does not work form an site with the Publishing features enabled. (How do you know? Go to Site Actions, Site Settings, and see if you have “Quick Launch” or “Navigation”. “Navigation” is for publishing sites.