Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3324352
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:24:40+00:00 2026-05-17T23:24:40+00:00

Hello guys I’m creating a little website for my Javascript course. I created a

  • 0

alt text

Hello guys

I’m creating a little website for my Javascript course. I created a page with 3 frames as above in the image.

I don’t know if it is possible to do that but what I want to do is:

When the visitor clicks on “PAGE A” from the FRAME MENU, the text “TEXT TITLE” in the FRAME HEADER is changed to “WELCOME TO A”, or when he clicks “PAGE B”, the text “TEXT TITLE” is changed to “WELCOME TO B”.

I know it’s possible to load two pages by one click and therefore you could say why not load another page in the frame header, but it’s not what I want to do.

Is it possible to do that by any means in javascript?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:24:41+00:00Added an answer on May 17, 2026 at 11:24 pm

    Well, first suggestion – don’t use frames. It is very easy to include pages into each other, so just write little components like menu.html, top.html, mainpage.html and include those into your pages.

    This makes page management much easier – you reuse the code and can make the pages from those little components.

    Then when you click on the link you would just go to the page that has manu included, in the top you include the appropriate title and the main page.

    If you use some server-side language you could pass the title of the header as a parameter.

    If you really want to go with frames you would need to do something like this:
    Main page with frames:

    <html>
    <head>
    <title>Frames Example 5</title>
    </head>
    <frameset cols="20%,80%">
    <frame src="page1.htm" name="left_frame">
    <frame src="page2.htm" name="right_frame">
    </frameset>
    </html> 
    

    Page, that changes links:

    <html>
    <head>
    <title>frame 10</title>
    <script language="JavaScript" type="text/javascript">
    <!--
    function change()
    {
    parent.left_frame.location="page3.htm";
    parent.right_frame.location="page4.htm";
    }
    //-->
    </script>
    </head>
    <body bgcolor="#ffffff" text="#000000">
    <center>
    Click the link below to change both frames.
    <br />
    <a href="javascript:change2()">change 2 frames</a>
    </center>
    </body>
    </html> 
    

    so, in your menu add this javascript and change the links and reference your frames.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello guys i have an website online wich access the database. The database access
Hello Guys! I am going to write website crawler, which starts from root address
Hello Guys! Let's say I have some page which I got with this script:
Hello guys i have set background image on my input text and text area
Hello guys can you please help me with this problem. When a simple image
Hello Guys can you help me for creating a TextView in title bar so
Hello guys i am having big problems in zend framework i dont know how
Hello guys i have a little problem i get an error: File C:\Users\kokki\Desktop\gb1\main.py, line
Hello Guys! See I have been creating a code powered with ajax but it
Hello guys, I have an error I cannot solve, on a ASP.NET website. One

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.