CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 1999
    Posts
    58

    loading a page to specific frame

    anyone know how to load a html page to a specific frame when a link is clicked?


  2. #2
    Join Date
    May 1999
    Posts
    7

    Re: loading a page to specific frame

    <a href="your link" target="your frame">


  3. #3
    Join Date
    Jul 1999
    Posts
    58

    Re: loading a page to specific frame

    hai ting chen..

    i tried it but didn't work... it load my page to a new window...


  4. #4
    Join Date
    May 1999
    Posts
    7

    Re: loading a page to specific frame

    Hello,

    it should work, anyway it works bei me, you can see it work at http://www.geocities.com/TimesSquare/Portal/3214.

    Well, how do you do it?

    You define a frameset like this:

    <frameset>
    <frame ... name="my frame1">
    ...
    </frameset>

    And now your link:
    <a href="my link" target="my frame1">

    Is this ok?
    If a new window is open, then you used target="_blank". The names _blank, _parent and _top are predefined and you should not use them.

    Hope that helps.
    Greetings
    Ting.


  5. #5
    Join Date
    Jul 1999
    Posts
    58

    Re: loading a page to specific frame

    thanks ting chen.. it works.. i made a mistake where i used id instead of name in the frame tag..

    see ya ^o^


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