problem: iframe open link in new window or in parent window

asp.net Shimla, India
  • 13 years ago

     please paste following code in your .aspx or any other language page and run it

    <iframe id="iframe1" src="http://www.yahoo.com" height="50%" width="100%">
       </iframe>


    you got the yahoo's web site in your browser , when you click on "answer" or any button bellow that
    one, new page is open in perent window or in new window ! i want to avoid that one,
    i want to open new page in same frame

    What can i Do?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Some people, when confronted with a problem, think "I know, I’ll use regular expressions." Now they have two problems.” - Jamie Zawinski