Log in

View Full Version : how to make link in iframe open in same windows?



cowok keren
11-12-2010, 08:35 AM
hello guys..
anyone can help me?
how i can make this link in iframe open same windows?


<iframe frameborder="0" src="http://kumpulblogger.com/machor.php?b=109570" width="100%" height="200px" marginwidth=0 marginheight=0 ></iframe>

Thanks, :)

Beverleyh
11-12-2010, 01:10 PM
Not sure what you mean.

Do you want to click on a link situated in the http://kumpulblogger.com/machor.php?b=109570 page and have it open in the parent window (replacing the content that holds the iframe)?

If the kumpulblogger.com/machor.php?b=109570 site/page is your domain you just add target="_parent" to the anchor tag for any links inside of it.

If the kumpulblogger.com/machor.php?b=109570 page isnt yours and not on your domain, you cant.

jscheuer1
11-12-2010, 02:32 PM
hello guys..
anyone can help me?
how i can make this link in iframe open same windows?


<iframe frameborder="0" src="http://kumpulblogger.com/machor.php?b=109570" width="100%" height="200px" marginwidth=0 marginheight=0 ></iframe>

Thanks, :)

What link? Your post shows no link.

Where is "this link"?

Where do you want it to open?

What does "same windows" mean?

cowok keren
11-13-2010, 03:56 AM
What link? Your post shows no link.

Where is "this link"?

Link in kumpulblogger.com/machor.php?b=109570 and its page not mine




Where do you want it to open?

What does "same windows" mean?
i want if link in iframe clicked by someone, its open in parent windows (not open in new windows)

jscheuer1
11-13-2010, 05:51 AM
If as you seem to say:


Link in kumpulblogger.com/machor.php?b=109570 and its page not mine

Then what Beverleyh said is correct:


If the kumpulblogger.com/machor.php?b=109570 page isnt yours and not on your domain, you cant.