• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2380
  • Last Modified:

Iframe - Select hyperlink and open a new window

I have an Iframe that when selecting a hyperlink to another website the site page open within the iframe.

How do you select the hyperlink and open a new window??

1 Solution
Jai STech ArchCommented:
in hte line specify like this
<a href="your line" target="_blank">
if you specify the target as _blank then the link will bve opened in a new window..
if it is self then the same windwo...
if _blank does not work then try just blank...
nzcamAuthor Commented:
This answer seem to be adding in the  target="_blank" into the actual htm file at the hyperlink.

I have over 5000 files that can be displayed in the Iframe and these are created by users.

I am looking for someway that when the user clicks the hyperlink in the Iframe , the Iframe does the work and opens a new window or displays the page fully in the current window.
Hi nzcam,
Place an Iframe on the panel and set its source to your aspx page.

<div id="panel1" class="panel" >
<iframe name="iframe" src="your.aspx" class="iframe"> </iframe>
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now