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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IFRAME

Status
Not open for further replies.

lbarron

Technical User
Jan 22, 2002
92
0
0
GB
Hi,

I have an ASP home page that contains an iframe.

On the page that displays within the IFRAME I have added some hyperlinks but when clicked the results are displayed within the IFRAME. Is there a way to tell the browser to load the results in the main browser window?

Cheers

Lee
 
Yes! you need to change the target of the hyperlink. Within the hyperlink itself you need to add target="" and within the two speech marks (") type the name of the target page e.g. _self, _parent, _blank, or your own page.

Hope that helps - post your code if it doesn't.

Cheers,

Fatmbk
 
Fatmbk,

Thanks for your help, the target ="_parent" option worked!

Cheers

Lee
 
Lee,

I noticed you "thanked" Fatmbk's since his fix action worked for you..you may want to give more credit as to give him a star for his participation...thanks and glad you were able to get it worked out

BSL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top