Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening External Links in Same Page

Status
Not open for further replies.

oisusan

Technical User
May 2, 2006
2
GB
Hi

I have set up a site with a number of pages which contain links to external sites (these pages open as new web pages and the size is limited). When I view the site in Frontpage and click on the links they open in the same page and have all the normal attributes. If I then publish this and view the same link, it opens in the same page but the up/down and left/right scroll bars are not available which then causes an issue because of the reduced page size. Has anybody else seen this or does anyone have a solution.

Cheers

Susan
 
Hello,

It sounds like someone has altered the code of they way your links are opening up. By default links to other pages or sites in sharepoint opens up in the same window.

Do you know if there has been changes done to the site in Frontpage?

I've made changes do the Links webpart code, so that all links open up in a new window, but not with any size restrictions.

Cheers,
Thomas



 
Hi Thomas

Thanks for you reply.

The code has been changed slightly so that if a user clicks on any of the "internal" links on the sites main page e.g. documents or events a new page is opened at the reduced size.
This is the function I used to do this:
function OpenWindow(url){
window.open(url,'PortalWindow','resizable=1,toolbar=1,scrollbar=1,top=100,left=100,status=yes,width=780, height=500');
}
The main issue is that these areas all have normal scroll bars etc so the user can scroll down to the bottom. If a user then clicks on a link to an external site the site opens in the reduced size but without the scroll bars, however if you do the same thing as part of the preview in Front Page the scroll bars are available.

Any ideas as I have been looking at this for a while and getting absolutely nowhere!!

Thanks

Susan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top