Redirect Sharepoint sites to other sites!

24 02 2009

Nifty little java scrip trick.
Here is how you do it::

1. add a content a content web editor part to your site.
2 in the source editor put this code in:
[HTML]
[HEAD]
[SCRIPT language=”JavaScript”]
[!—
function redirectsp()
{
top.location=”http://sharepoint”;
}
if (top.frames.length==0)
{
setTimeout(‘redirectsp()’,0);
}
//—>
[/SCRIPT]
[/HEAD]
[body]
Redirecting you to the new location. If you are not redirected, click [a href=”http://sharepoint”>HERE.%5B/a%5D
[/body]
[/html]

Replace [] with

you can set the delay on this if you like.
Thanks to jeff holiday for this:

here is the link
http://www.sharepointblogs.com/holliday/archive/2008/03/20/redirect-sharepoint-site-to-new-location.aspx

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: