View Single Post
  #7 (permalink)  
Old Dec 18th, 2007, 15:44
karinne's Avatar
karinne karinne is offline
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Why do links in a frame open a new window?

If you want a frame in a page, you should be using the IFRAME element...

Just replace
HTML: Select all
     <frameset>
        <frame name="framename">
            frame content
        </frame>
    </frameset>
with something like
HTML: Select all
<iframe src="foo.html" name="framename" width="400" height="500" scrolling="auto" frameborder="1">
  [Your user agent does not support frames or is currently configured
  not to display frames. However, you may visit
  <a href="foo.html">the related document.</a>]
  </iframe>
Reply With Quote