CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: iframe

  1. #1
    Join Date
    Dec 2008
    Posts
    27

    iframe

    i want be put all of my main links in the iframe and when clicked they load into the page.any ideas how this would work?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: iframe

    You have to supply the target attribute within the <a> tag.

    Code:
    <iframe name="mainframe"...></iframe>
    
    <a href="page.html" target="mainframe">Load page</a>
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Dec 2008
    Posts
    27

    Re: iframe

    ok thank you i will try that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured