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 9053443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:25:22+00:00 2026-06-16T13:25:22+00:00

I have PHP page in subfolder, /subfolder. In root I have two files: index.html

  • 0

I have PHP page in subfolder, /subfolder.
In root I have two files: index.html and demo.html.

demo.html:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
        eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
        if (restore) selObj.selectedIndex=0;
    }
    //-->
    </script>
</head>
<body>
    <div id="demo_wrapper">
        <div id="themeslist">
            <form action="" name="form" id="form">
                <select name="select" onChange="MM_jumpMenu('parent',this,1)">
                    <option value="#">Select Theme</option>
                    <option value="http://127.0.0.1/themes/index.php?theme=1">Theme1</option>
                    <option value="http://127.0.0.1/themes/index.php?theme=3">Theme2</option>
                </select>
            </form>
        </div>
    </div>
</body>
</html>

and index.html:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
</head>
    <frameset rows="100,*" framespacing="0" frameborder="no" border="0">
        <frame src="http://127.0.0.1/demo.html" name="head_frame" scrolling="no" noresize="noresize" id="head_frame" title="head_frame" />
        <frame src="http://127.0.0.1/themes/index.php" name="main_iframe" id="main_iframe" title="main_iframe" />
    </frameset>
<noframes>
<p>Your browser does not handle frames!</p>
</noframes>
</html>

Source: http://www.entheosweb.com/website_design/jump_menus.asp

Now problem is when i select option in menu – it reloads whole page and frames dissapear.
What change to reload only selected frame (main_iframe)?

  • 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-06-16T13:25:23+00:00Added an answer on June 16, 2026 at 1:25 pm

    So I found solution:

    It was way too easy… just changed onchange action in select menu to:

    onchange="window.open(this.options[this.selectedIndex].value, 'nameOfTargetFrame')"
    

    and removed whole *MM_jumpMenu* code. Thanks for tips, I wouldn’t found it without them 🙂

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

Sidebar

Related Questions

I have a PHP page that loads external content using other PHP files. I'm
I have a PHP page that returns a piece of HTML to set the
I have a folder in my webroot called Country. I have an index.html page
I have horrible URLs like this: http://example.com/subfolder/index.php?a=1&b=1&token=8d519decbe60db44154b1fbc8c553ac4 I am trying to make it look
My root directory contains a selection of PHP files: index.php, about.php etc. Each of
I have result php page with a html table. Inside row[3] i have spoilers
I have a php page which has two submit buttons that are meant to
I have a PHP page where i want to open a file on a
i have a php page that redirects (if successful) to another php page like
I have this PHP page where the user can select and un-select items. The

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.