How To Force Outside URL To Open in iFrame

Discussion in 'JavaScript' started by meamrussian, Mar 12, 2009.

  1. #1
    Hello guys,

    I've come across a problem. I have a simple iFrame which I use to open other websites. However, some websites force themselves to be opened in "parent" windows when links are clicked, or even always. How do I go about avoiding this? I believe there is a way to set my iFrame as "self" or something like this in order for all sites to still only load in iFrames, but I'm not sure how.

    Can someone please offer me some help?

    Thanks a lot.
     
    meamrussian, Mar 12, 2009 IP