36 users online (1 members and 35 guests)  


  Results 1 to 2 of 2

Related

  1. Transparent Frameset Background.    Forum: HTML Forum
    Replies: 2
  2. Replies: 2
  3. Replies: 1
  4. Replies: 7
  1. #1
    harishmitty's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2008
    Posts
    1

    Doubt in <frameset>

    Hi,

    How do i update the content on a different frame in the same HTML page using onclick() ?

    I have a HTML page with 3 frames. Suppose i click on a link in Frame1, how to i update some content in Frame2?

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: Doubt in <frameset>

    If you are using a frameset, there is no reason to use onclick(). That is one of the intentions of framesets.

    In order to update a specific frame, first, set the name attributre for the frame tag. (i.e. <frame src="frame_a.htm" name="showframe">)

    Then create the link and set the target to the name of the frame that will be updated. (i.e. <a href ="frame_a.htm" target ="showframe">Frame a</a>)



Tags for this Thread